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 CareKit, reference 4.0.0 (fd47ce), with Swift 6.2 for macOS (SPM) on 1 Nov 2025 02:24:56 UTC.

Build Command

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

Build Log

[728/1308] Compiling CareKitStore OCKEventQuery.swift
[729/1308] Compiling CareKitStore OCKOutcomeQuery.swift
[730/1308] Compiling CareKitStore OCKPatientQuery.swift
[731/1308] Compiling CareKitStore OCKQueryProtocol.swift
[732/1308] Compiling CareKitStore OCKTaskQuery.swift
[733/1308] Compiling CareKitStore AggregatedCareTaskProgress.swift
[734/1308] Compiling CareKitStore BinaryCareTaskProgress.swift
[735/1308] Compiling CareKitStore CareTaskProgress.swift
[736/1308] Compiling CareKitStore CareTaskProgressStrategy+CheckingOutcomesExist.swift
[737/1308] Compiling CareKitStore CareTaskProgressStrategy+SummingOutcomeValues.swift
[738/1308] Compiling CareKitStore CareTaskProgressStrategy.swift
[739/1308] Compiling CareKitStore LinearCareTaskProgress.swift
[740/1308] Compiling CareKitStore resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Structs/OCKHealthKitLinkage.swift:34:1: warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
32 | import HealthKit
33 |
34 | extension HKQuantityTypeIdentifier: Codable {}
   | |- warning: extension declares a conformance of imported type 'HKQuantityTypeIdentifier' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |
36 | /// Describes how a task outcome values should be retrieved from HealthKit.
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[778/1308] Compiling ModelsR4 Base64Binary.swift
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[779/1308] Compiling ModelsR4 Basic.swift
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#SendableClosureCaptures]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#SendableClosureCaptures]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#SendableClosureCaptures]
 74 |             }
 75 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:54:37: warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 52 |                 let request = NSFetchRequest<OCKCDVersionedObject>(
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
    |                                     `- warning: capture of 'predicate' with non-Sendable type 'NSPredicate' in a '@Sendable' closure [#SendableClosureCaptures]
 55 |                 request.sortDescriptors = sortDescriptors
 56 |                 request.fetchLimit = limit ?? 0
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h:17:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
15 |
16 | API_AVAILABLE(macos(10.4), ios(3.0), watchos(2.0), tvos(9.0))
17 | @interface NSPredicate : NSObject <NSSecureCoding, NSCopying> {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
18 |     struct _predicateFlags {
19 |         unsigned int _evaluationBlocked:1;
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:55:43: warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     entityName: T.entity().name!)
 54 |                 request.predicate = predicate
 55 |                 request.sortDescriptors = sortDescriptors
    |                                           `- warning: capture of 'sortDescriptors' with non-Sendable type '[NSSortDescriptor]' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                 request.fetchLimit = limit ?? 0
 57 |                 request.fetchOffset = offset
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:82:21: warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 80 |         context.perform {
 81 |             do {
 82 |                 try preInsertValidate()
    |                     |- warning: capture of 'preInsertValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 83 |                 var result = TransactionResult<T>()
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:94:21: warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 92 |
 93 |                 // Perform updates
 94 |                 try preUpdateValidate()
    |                     |- warning: capture of 'preUpdateValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 95 |
 96 |                 if !updates.isEmpty {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:113:21: warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
111 |                 }
112 |
113 |                 try preSaveValidate()
    |                     |- warning: capture of 'preSaveValidate' with non-Sendable type '() throws -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 try self.context.save()
115 |                 completion(.success(result))
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:180:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
178 |
179 |         let existing = try context.performAndWait {
180 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
181 |         }
182 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:31:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 29 |  */
 30 |
 31 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
 32 | import Foundation
 33 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+Transactions.swift:206:36: warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
204 |
205 |         let deletes = try context.performAndWait {
206 |             try context.count(for: request)
    |                                    `- warning: capture of 'request' with non-Sendable type 'NSFetchRequest<OCKCDVersionedObject>' in a '@Sendable' closure [#SendableClosureCaptures]
207 |         }
208 |
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:47:12: note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 45 |
 46 | API_AVAILABLE(macosx(10.4),ios(3.0))
 47 | @interface NSFetchRequest<__covariant ResultType:id<NSFetchRequestResult>> : NSPersistentStoreRequest <NSCoding, NSCopying> {
    |            `- note: generic class 'NSFetchRequest' does not conform to the 'Sendable' protocol
 48 | }
 49 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[780/1308] Compiling ModelsR4 Binary.swift
[781/1308] Compiling ModelsR4 BiologicallyDerivedProduct.swift
[782/1308] Compiling ModelsR4 BodyStructure.swift
[783/1308] Compiling ModelsR4 Bundle.swift
[784/1308] Compiling ModelsR4 Canonical.swift
[785/1308] Compiling ModelsR4 CapabilityStatement.swift
[786/1308] Compiling ModelsR4 CarePlan.swift
[787/1308] Compiling ModelsR4 CareTeam.swift
[788/1308] Compiling ModelsR4 CatalogEntry.swift
[789/1308] Compiling ModelsR4 ChargeItem.swift
[790/1308] Compiling ModelsR4 ChargeItemDefinition.swift
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[835/1332] Emitting module CareKitUI
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
[846/1332] Emitting module ModelsDSTU2
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
[1081/1428] Emitting module ModelsR4
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
/Users/admin/builder/spi-builder-workspace/CareKitUI/CareKitUI/Shared/Extensions/Number+Extensions.swift:31:8: error: no such module 'UIKit'
29 |  */
30 |
31 | import UIKit
   |        `- error: no such module 'UIKit'
32 |
33 | extension Double {
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/CareKitStore.xcdatamodeld
BUILD FAILURE 6.2 macosSpm