Build Information
Failed to build CareKit, reference main (59e1d7), with Swift 6.2 for macOS (SPM) on 20 Nov 2025 23:06:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
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>
/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/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 {
[1049/1452] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1086/1452] 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 {
/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 {
[1130/1452] Compiling ModelsR4 CodeSystemUsageContextType.swift
[1131/1452] Compiling ModelsR4 CodeSystemUse.swift
[1132/1452] Compiling ModelsR4 CodeSystemValidationProcess.swift
[1133/1452] Compiling ModelsR4 CodeSystemValidationStatus.swift
[1134/1452] Compiling ModelsR4 CodeSystemValidationType.swift
[1135/1452] Compiling ModelsR4 CodeSystemVerificationresultCommunicationMethod.swift
[1136/1452] Compiling ModelsR4 CodeSystemVisionBase.swift
[1137/1452] Compiling ModelsR4 CodeSystemVisionEyes.swift
[1138/1452] Compiling ModelsR4 CodeSystemXPathUsageType.swift
[1139/1452] Compiling ModelsR4 CodeableConcept.swift
[1140/1452] Compiling ModelsR4 Coding.swift
[1141/1452] Compiling ModelsR4 Communication.swift
[1142/1452] Compiling ModelsR4 CommunicationRequest.swift
[1143/1452] Compiling ModelsR4 CompartmentDefinition.swift
[1144/1452] Compiling ModelsR4 Composition.swift
[1145/1452] Compiling ModelsR4 ConceptMap.swift
[1146/1452] Compiling ModelsR4 Condition.swift
[1147/1452] Compiling ModelsR4 Consent.swift
[1148/1452] Compiling ModelsR4 ContactDetail.swift
[1149/1452] Compiling ModelsR4 ContactPoint.swift
[1150/1452] Compiling ModelsR4 Contract.swift
[1151/1452] Compiling ModelsR4 Contributor.swift
[1152/1452] Compiling ModelsR4 Count.swift
[1153/1452] Compiling ModelsR4 Coverage.swift
[1250/1452] Emitting module ModelsR4
[1276/1452] Compiling ModelsR4 Endpoint.swift
[1277/1452] Compiling ModelsR4 EnrollmentRequest.swift
[1278/1452] Compiling ModelsR4 EnrollmentResponse.swift
[1279/1452] Compiling ModelsR4 EpisodeOfCare.swift
[1280/1452] Compiling ModelsR4 EventDefinition.swift
[1281/1452] Compiling ModelsR4 Evidence.swift
[1282/1452] Compiling ModelsR4 EvidenceVariable.swift
[1283/1452] Compiling ModelsR4 ExampleScenario.swift
[1284/1452] Compiling ModelsR4 ExplanationOfBenefit.swift
[1285/1452] Compiling ModelsR4 Expression.swift
[1286/1452] Compiling ModelsR4 Extension.swift
[1287/1452] Compiling ModelsR4 FHIRAbstractResource.swift
[1288/1452] Compiling ModelsR4 FHIRBool.swift
[1289/1452] Compiling ModelsR4 FHIRDate+NSDate.swift
[1290/1452] Compiling ModelsR4 FHIRDate.swift
[1291/1452] Compiling ModelsR4 FHIRDecimal.swift
[1292/1452] Compiling ModelsR4 FHIRInteger.swift
[1293/1452] Compiling ModelsR4 FHIRPositiveInteger.swift
[1294/1452] Compiling ModelsR4 FHIRPrimitive.swift
[1295/1452] Compiling ModelsR4 FHIRString.swift
[1296/1452] Compiling ModelsR4 FHIRTime+NSDate.swift
[1297/1452] Compiling ModelsR4 FHIRTime.swift
[1298/1452] Compiling ModelsR4 FHIRURI.swift
[1299/1452] Compiling ModelsR4 FHIRUnsignedInteger.swift
[1300/1452] Compiling CareKitUI OCKInstructionsTaskView.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 {
[1301/1452] Compiling CareKitUI OCKLogTaskView.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 {
[1302/1452] Compiling CareKitUI OCKSimpleTaskView.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 {
[1303/1452] Compiling CareKitUI OCKTaskDisplayable.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 {
[1304/1452] Compiling CareKitUI OCKHeaderView.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 {
[1305/1452] Compiling CareKitUI OCKSeparatorView.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 {
[1306/1452] Compiling CareKitUI OCKStackView.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 {
[1307/1452] Compiling CareKitUI OCKView.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 {
[1308/1452] Compiling CareKitUI resource_bundle_accessor.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 {
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