Build Information
Failed to build CareKit, reference 4.1.0 (348a5e), with Swift 6.2 for macOS (SPM) on 3 Apr 2026 06:54:48 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
68 | value.kind = kind
69 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:68:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
68 | value.kind = kind
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:38: warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPatient)
35 | class OCKCDPatient: OCKCDVersionedObject {
| `- note: class 'OCKCDPatient' does not conform to the 'Sendable' protocol
36 | @NSManaged var name: OCKCDPersonName
37 | @NSManaged private var sex: String?
:
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:60:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:61:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
62 | patient.birthday = birthday
63 | patient.allergies = allergies
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:62:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
63 | patient.allergies = allergies
64 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:63:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
63 | patient.allergies = allergies
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:37: warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPersonName)
35 | class OCKCDPersonName: NSManagedObject {
| `- note: class 'OCKCDPersonName' does not conform to the 'Sendable' protocol
36 | @NSManaged var namePrefix: String?
37 | @NSManaged var givenName: String?
:
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:63:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:64:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
64 | components.familyName = familyName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:65:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:66:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
68 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:67:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPostalAddress.swift:61:25: warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDPostalAddress)
34 | class OCKCDPostalAddress: NSManagedObject {
| `- note: class 'OCKCDPostalAddress' does not conform to the 'Sendable' protocol
35 | @NSManaged var street: String
36 | @NSManaged var subLocality: String
:
59 |
60 | let address = OCKPostalAddress(
61 | street: street,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
62 | city: city,
63 | state: state,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:36: warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDCarePlan)
34 | class OCKCDCarePlan: OCKCDVersionedObject {
| `- note: class 'OCKCDCarePlan' does not conform to the 'Sendable' protocol
35 | @NSManaged var patient: OCKCDPatient?
36 | @NSManaged var tasks: Set<OCKCDTask>
:
56 |
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#SendableClosureCaptures]
59 | plan.copyVersionedValues(from: self)
60 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:13: warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
56 |
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
| `- warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
59 | plan.copyVersionedValues(from: self)
60 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:59:13: warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
59 | plan.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:98:21: warning: capture of 'self' with non-Sendable type 'OCKCDContact' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDContact)
35 | class OCKCDContact: OCKCDVersionedObject {
| `- note: class 'OCKCDContact' does not conform to the 'Sendable' protocol
36 | @NSManaged var carePlan: OCKCDCarePlan?
37 | @NSManaged var name: OCKCDPersonName
:
96 | self.managedObjectContext!.performAndWait {
97 | contact = OCKContact(
98 | id: id,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDContact' in a '@Sendable' closure [#SendableClosureCaptures]
99 | name: name.makeValue(),
100 | carePlanUUID: carePlan?.uuid
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:97:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
95 |
96 | self.managedObjectContext!.performAndWait {
97 | contact = OCKContact(
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
98 | id: id,
99 | name: name.makeValue(),
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:103:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
101 | )
102 |
103 | contact.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:104:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
102 |
103 | contact.copyVersionedValues(from: self)
104 | contact.emailAddresses = emailAddresses
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:105:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
103 | contact.copyVersionedValues(from: self)
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:106:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:107:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
108 | contact.organization = organization
109 | contact.title = title
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:108:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
109 | contact.title = title
110 | contact.role = role
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:109:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
109 | contact.title = title
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:110:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
108 | contact.organization = organization
109 | contact.title = title
110 | contact.role = role
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
112 | contact.address = address?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:111:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
109 | contact.title = title
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
112 | contact.address = address?.makeValue()
113 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:112:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
112 | contact.address = address?.makeValue()
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:57:72: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#SendableClosureCaptures]
34 |
35 | @objc(OCKCDHealthKitLinkage)
36 | class OCKCDHealthKitLinkage: NSManagedObject {
| `- note: class 'OCKCDHealthKitLinkage' does not conform to the 'Sendable' protocol
37 | @NSManaged var quantityIdentifier: String
38 | @NSManaged var quantityType: String
:
55 | self.managedObjectContext!.performAndWait {
56 | healthKitLinkage = OCKHealthKitLinkage(
57 | quantityIdentifier: HKQuantityTypeIdentifier(rawValue: quantityIdentifier),
| `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#SendableClosureCaptures]
58 | quantityType: OCKHealthKitLinkage.QuantityType(rawValue: quantityType)!,
59 | unit: HKUnit(from: unitString)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:56:13: warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#SendableClosureCaptures]
54 | var healthKitLinkage: OCKHealthKitLinkage!
55 | self.managedObjectContext!.performAndWait {
56 | healthKitLinkage = OCKHealthKitLinkage(
| `- warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#SendableClosureCaptures]
57 | quantityIdentifier: HKQuantityTypeIdentifier(rawValue: quantityIdentifier),
58 | quantityType: OCKHealthKitLinkage.QuantityType(rawValue: quantityType)!,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:67:21: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitTask' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDHealthKitTask)
35 | class OCKCDHealthKitTask: OCKCDTaskBase {
| `- note: class 'OCKCDHealthKitTask' does not conform to the 'Sendable' protocol
36 |
37 | @NSManaged var healthKitLinkage: OCKCDHealthKitLinkage
:
65 | self.managedObjectContext!.performAndWait {
66 | task = OCKHealthKitTask(
67 | id: id,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitTask' in a '@Sendable' closure [#SendableClosureCaptures]
68 | title: title,
69 | carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:66:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
64 |
65 | self.managedObjectContext!.performAndWait {
66 | task = OCKHealthKitTask(
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
67 | id: id,
68 | title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:74:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
72 | )
73 |
74 | task.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
75 | task.instructions = instructions
76 | task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:75:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |
74 | task.copyVersionedValues(from: self)
75 | task.instructions = instructions
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
76 | task.impactsAdherence = impactsAdherence
77 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:76:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
74 | task.copyVersionedValues(from: self)
75 | task.instructions = instructions
76 | task.impactsAdherence = impactsAdherence
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDNote.swift:54:36: warning: capture of 'self' with non-Sendable type 'OCKCDNote' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDNote)
34 | class OCKCDNote: NSManagedObject {
| `- note: class 'OCKCDNote' does not conform to the 'Sendable' protocol
35 | @NSManaged var author: String?
36 | @NSManaged var title: String?
:
52 | var note: OCKNote!
53 | self.managedObjectContext!.performAndWait {
54 | note = OCKNote(author: author, title: title, content: content)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDNote' in a '@Sendable' closure [#SendableClosureCaptures]
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDNote.swift:54:13: warning: mutation of captured var 'note' in concurrently-executing code [#SendableClosureCaptures]
52 | var note: OCKNote!
53 | self.managedObjectContext!.performAndWait {
54 | note = OCKNote(author: author, title: title, content: content)
| `- warning: mutation of captured var 'note' in concurrently-executing code [#SendableClosureCaptures]
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:69:27: warning: capture of 'self' with non-Sendable type 'OCKCDOutcome' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDOutcome)
35 | class OCKCDOutcome: OCKCDVersionedObject {
| `- note: class 'OCKCDOutcome' does not conform to the 'Sendable' protocol
36 | @NSManaged var taskOccurrenceIndex: Int64
37 | @NSManaged var task: OCKCDTask
:
67 | self.managedObjectContext!.performAndWait {
68 | outcome = OCKOutcome(
69 | taskUUID: task.uuid,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcome' in a '@Sendable' closure [#SendableClosureCaptures]
70 | taskOccurrenceIndex: Int(taskOccurrenceIndex),
71 | values: values.map { $0.makeValue() }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:68:13: warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
66 |
67 | self.managedObjectContext!.performAndWait {
68 | outcome = OCKOutcome(
| `- warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
69 | taskUUID: task.uuid,
70 | taskOccurrenceIndex: Int(taskOccurrenceIndex),
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:74:13: warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
72 | )
73 |
74 | outcome.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:66:37: warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDOutcomeValue)
34 | class OCKCDOutcomeValue: NSManagedObject {
| `- note: class 'OCKCDOutcomeValue' does not conform to the 'Sendable' protocol
35 | @NSManaged var kind: String? // blood sugar, body weight, etc.
36 | @NSManaged var units: String?
:
64 |
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#SendableClosureCaptures]
67 | value.createdDate = createdDate
68 | value.kind = kind
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:66:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
64 |
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
67 | value.createdDate = createdDate
68 | value.kind = kind
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:67:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
68 | value.kind = kind
69 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:68:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
68 | value.kind = kind
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:38: warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPatient)
35 | class OCKCDPatient: OCKCDVersionedObject {
| `- note: class 'OCKCDPatient' does not conform to the 'Sendable' protocol
36 | @NSManaged var name: OCKCDPersonName
37 | @NSManaged private var sex: String?
:
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:60:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:61:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
62 | patient.birthday = birthday
63 | patient.allergies = allergies
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:62:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
63 | patient.allergies = allergies
64 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:63:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
63 | patient.allergies = allergies
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:37: warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPersonName)
35 | class OCKCDPersonName: NSManagedObject {
| `- note: class 'OCKCDPersonName' does not conform to the 'Sendable' protocol
36 | @NSManaged var namePrefix: String?
37 | @NSManaged var givenName: String?
:
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:63:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:64:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
64 | components.familyName = familyName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:65:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:66:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
68 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:67:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPostalAddress.swift:61:25: warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDPostalAddress)
34 | class OCKCDPostalAddress: NSManagedObject {
| `- note: class 'OCKCDPostalAddress' does not conform to the 'Sendable' protocol
35 | @NSManaged var street: String
36 | @NSManaged var subLocality: String
:
59 |
60 | let address = OCKPostalAddress(
61 | street: street,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
62 | city: city,
63 | state: state,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:36: warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDCarePlan)
34 | class OCKCDCarePlan: OCKCDVersionedObject {
| `- note: class 'OCKCDCarePlan' does not conform to the 'Sendable' protocol
35 | @NSManaged var patient: OCKCDPatient?
36 | @NSManaged var tasks: Set<OCKCDTask>
:
56 |
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#SendableClosureCaptures]
59 | plan.copyVersionedValues(from: self)
60 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:13: warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
56 |
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
| `- warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
59 | plan.copyVersionedValues(from: self)
60 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:59:13: warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
59 | plan.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:98:21: warning: capture of 'self' with non-Sendable type 'OCKCDContact' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDContact)
35 | class OCKCDContact: OCKCDVersionedObject {
| `- note: class 'OCKCDContact' does not conform to the 'Sendable' protocol
36 | @NSManaged var carePlan: OCKCDCarePlan?
37 | @NSManaged var name: OCKCDPersonName
:
96 | self.managedObjectContext!.performAndWait {
97 | contact = OCKContact(
98 | id: id,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDContact' in a '@Sendable' closure [#SendableClosureCaptures]
99 | name: name.makeValue(),
100 | carePlanUUID: carePlan?.uuid
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:97:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
95 |
96 | self.managedObjectContext!.performAndWait {
97 | contact = OCKContact(
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
98 | id: id,
99 | name: name.makeValue(),
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:103:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
101 | )
102 |
103 | contact.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:104:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
102 |
103 | contact.copyVersionedValues(from: self)
104 | contact.emailAddresses = emailAddresses
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:105:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
103 | contact.copyVersionedValues(from: self)
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:106:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:107:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
108 | contact.organization = organization
109 | contact.title = title
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:108:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
109 | contact.title = title
110 | contact.role = role
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:109:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
109 | contact.title = title
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:110:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
108 | contact.organization = organization
109 | contact.title = title
110 | contact.role = role
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
112 | contact.address = address?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:111:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
109 | contact.title = title
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
112 | contact.address = address?.makeValue()
113 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:112:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
112 | contact.address = address?.makeValue()
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:57:72: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#SendableClosureCaptures]
34 |
35 | @objc(OCKCDHealthKitLinkage)
36 | class OCKCDHealthKitLinkage: NSManagedObject {
| `- note: class 'OCKCDHealthKitLinkage' does not conform to the 'Sendable' protocol
37 | @NSManaged var quantityIdentifier: String
38 | @NSManaged var quantityType: String
:
55 | self.managedObjectContext!.performAndWait {
56 | healthKitLinkage = OCKHealthKitLinkage(
57 | quantityIdentifier: HKQuantityTypeIdentifier(rawValue: quantityIdentifier),
| `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#SendableClosureCaptures]
58 | quantityType: OCKHealthKitLinkage.QuantityType(rawValue: quantityType)!,
59 | unit: HKUnit(from: unitString)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:56:13: warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#SendableClosureCaptures]
54 | var healthKitLinkage: OCKHealthKitLinkage!
55 | self.managedObjectContext!.performAndWait {
56 | healthKitLinkage = OCKHealthKitLinkage(
| `- warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#SendableClosureCaptures]
57 | quantityIdentifier: HKQuantityTypeIdentifier(rawValue: quantityIdentifier),
58 | quantityType: OCKHealthKitLinkage.QuantityType(rawValue: quantityType)!,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:67:21: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitTask' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDHealthKitTask)
35 | class OCKCDHealthKitTask: OCKCDTaskBase {
| `- note: class 'OCKCDHealthKitTask' does not conform to the 'Sendable' protocol
36 |
37 | @NSManaged var healthKitLinkage: OCKCDHealthKitLinkage
:
65 | self.managedObjectContext!.performAndWait {
66 | task = OCKHealthKitTask(
67 | id: id,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitTask' in a '@Sendable' closure [#SendableClosureCaptures]
68 | title: title,
69 | carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:66:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
64 |
65 | self.managedObjectContext!.performAndWait {
66 | task = OCKHealthKitTask(
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
67 | id: id,
68 | title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:74:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
72 | )
73 |
74 | task.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
75 | task.instructions = instructions
76 | task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:75:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |
74 | task.copyVersionedValues(from: self)
75 | task.instructions = instructions
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
76 | task.impactsAdherence = impactsAdherence
77 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:76:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
74 | task.copyVersionedValues(from: self)
75 | task.instructions = instructions
76 | task.impactsAdherence = impactsAdherence
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDNote.swift:54:36: warning: capture of 'self' with non-Sendable type 'OCKCDNote' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDNote)
34 | class OCKCDNote: NSManagedObject {
| `- note: class 'OCKCDNote' does not conform to the 'Sendable' protocol
35 | @NSManaged var author: String?
36 | @NSManaged var title: String?
:
52 | var note: OCKNote!
53 | self.managedObjectContext!.performAndWait {
54 | note = OCKNote(author: author, title: title, content: content)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDNote' in a '@Sendable' closure [#SendableClosureCaptures]
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDNote.swift:54:13: warning: mutation of captured var 'note' in concurrently-executing code [#SendableClosureCaptures]
52 | var note: OCKNote!
53 | self.managedObjectContext!.performAndWait {
54 | note = OCKNote(author: author, title: title, content: content)
| `- warning: mutation of captured var 'note' in concurrently-executing code [#SendableClosureCaptures]
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:69:27: warning: capture of 'self' with non-Sendable type 'OCKCDOutcome' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDOutcome)
35 | class OCKCDOutcome: OCKCDVersionedObject {
| `- note: class 'OCKCDOutcome' does not conform to the 'Sendable' protocol
36 | @NSManaged var taskOccurrenceIndex: Int64
37 | @NSManaged var task: OCKCDTask
:
67 | self.managedObjectContext!.performAndWait {
68 | outcome = OCKOutcome(
69 | taskUUID: task.uuid,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcome' in a '@Sendable' closure [#SendableClosureCaptures]
70 | taskOccurrenceIndex: Int(taskOccurrenceIndex),
71 | values: values.map { $0.makeValue() }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:68:13: warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
66 |
67 | self.managedObjectContext!.performAndWait {
68 | outcome = OCKOutcome(
| `- warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
69 | taskUUID: task.uuid,
70 | taskOccurrenceIndex: Int(taskOccurrenceIndex),
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:74:13: warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
72 | )
73 |
74 | outcome.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:66:37: warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDOutcomeValue)
34 | class OCKCDOutcomeValue: NSManagedObject {
| `- note: class 'OCKCDOutcomeValue' does not conform to the 'Sendable' protocol
35 | @NSManaged var kind: String? // blood sugar, body weight, etc.
36 | @NSManaged var units: String?
:
64 |
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#SendableClosureCaptures]
67 | value.createdDate = createdDate
68 | value.kind = kind
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:66:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
64 |
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
67 | value.createdDate = createdDate
68 | value.kind = kind
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:67:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
68 | value.kind = kind
69 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:68:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
68 | value.kind = kind
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:38: warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPatient)
35 | class OCKCDPatient: OCKCDVersionedObject {
| `- note: class 'OCKCDPatient' does not conform to the 'Sendable' protocol
36 | @NSManaged var name: OCKCDPersonName
37 | @NSManaged private var sex: String?
:
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:60:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:61:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
62 | patient.birthday = birthday
63 | patient.allergies = allergies
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:62:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
63 | patient.allergies = allergies
64 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:63:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
63 | patient.allergies = allergies
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:37: warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPersonName)
35 | class OCKCDPersonName: NSManagedObject {
| `- note: class 'OCKCDPersonName' does not conform to the 'Sendable' protocol
36 | @NSManaged var namePrefix: String?
37 | @NSManaged var givenName: String?
:
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:63:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:64:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
64 | components.familyName = familyName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:65:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:66:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
68 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:67:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPostalAddress.swift:61:25: warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDPostalAddress)
34 | class OCKCDPostalAddress: NSManagedObject {
| `- note: class 'OCKCDPostalAddress' does not conform to the 'Sendable' protocol
35 | @NSManaged var street: String
36 | @NSManaged var subLocality: String
:
59 |
60 | let address = OCKPostalAddress(
61 | street: street,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
62 | city: city,
63 | state: state,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:36: warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDCarePlan)
34 | class OCKCDCarePlan: OCKCDVersionedObject {
| `- note: class 'OCKCDCarePlan' does not conform to the 'Sendable' protocol
35 | @NSManaged var patient: OCKCDPatient?
36 | @NSManaged var tasks: Set<OCKCDTask>
:
56 |
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#SendableClosureCaptures]
59 | plan.copyVersionedValues(from: self)
60 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:13: warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
56 |
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
| `- warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
59 | plan.copyVersionedValues(from: self)
60 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:59:13: warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
59 | plan.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:98:21: warning: capture of 'self' with non-Sendable type 'OCKCDContact' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDContact)
35 | class OCKCDContact: OCKCDVersionedObject {
| `- note: class 'OCKCDContact' does not conform to the 'Sendable' protocol
36 | @NSManaged var carePlan: OCKCDCarePlan?
37 | @NSManaged var name: OCKCDPersonName
:
96 | self.managedObjectContext!.performAndWait {
97 | contact = OCKContact(
98 | id: id,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDContact' in a '@Sendable' closure [#SendableClosureCaptures]
99 | name: name.makeValue(),
100 | carePlanUUID: carePlan?.uuid
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:97:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
95 |
96 | self.managedObjectContext!.performAndWait {
97 | contact = OCKContact(
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
98 | id: id,
99 | name: name.makeValue(),
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:103:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
101 | )
102 |
103 | contact.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:104:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
102 |
103 | contact.copyVersionedValues(from: self)
104 | contact.emailAddresses = emailAddresses
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:105:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
103 | contact.copyVersionedValues(from: self)
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:106:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:107:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
108 | contact.organization = organization
109 | contact.title = title
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:108:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
109 | contact.title = title
110 | contact.role = role
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:109:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
109 | contact.title = title
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:110:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
108 | contact.organization = organization
109 | contact.title = title
110 | contact.role = role
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
112 | contact.address = address?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:111:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
109 | contact.title = title
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
112 | contact.address = address?.makeValue()
113 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:112:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
112 | contact.address = address?.makeValue()
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:57:72: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#SendableClosureCaptures]
34 |
35 | @objc(OCKCDHealthKitLinkage)
36 | class OCKCDHealthKitLinkage: NSManagedObject {
| `- note: class 'OCKCDHealthKitLinkage' does not conform to the 'Sendable' protocol
37 | @NSManaged var quantityIdentifier: String
38 | @NSManaged var quantityType: String
:
55 | self.managedObjectContext!.performAndWait {
56 | healthKitLinkage = OCKHealthKitLinkage(
57 | quantityIdentifier: HKQuantityTypeIdentifier(rawValue: quantityIdentifier),
| `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#SendableClosureCaptures]
58 | quantityType: OCKHealthKitLinkage.QuantityType(rawValue: quantityType)!,
59 | unit: HKUnit(from: unitString)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:56:13: warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#SendableClosureCaptures]
54 | var healthKitLinkage: OCKHealthKitLinkage!
55 | self.managedObjectContext!.performAndWait {
56 | healthKitLinkage = OCKHealthKitLinkage(
| `- warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#SendableClosureCaptures]
57 | quantityIdentifier: HKQuantityTypeIdentifier(rawValue: quantityIdentifier),
58 | quantityType: OCKHealthKitLinkage.QuantityType(rawValue: quantityType)!,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:67:21: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitTask' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDHealthKitTask)
35 | class OCKCDHealthKitTask: OCKCDTaskBase {
| `- note: class 'OCKCDHealthKitTask' does not conform to the 'Sendable' protocol
36 |
37 | @NSManaged var healthKitLinkage: OCKCDHealthKitLinkage
:
65 | self.managedObjectContext!.performAndWait {
66 | task = OCKHealthKitTask(
67 | id: id,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitTask' in a '@Sendable' closure [#SendableClosureCaptures]
68 | title: title,
69 | carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:66:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
64 |
65 | self.managedObjectContext!.performAndWait {
66 | task = OCKHealthKitTask(
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
67 | id: id,
68 | title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:74:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
72 | )
73 |
74 | task.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
75 | task.instructions = instructions
76 | task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:75:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |
74 | task.copyVersionedValues(from: self)
75 | task.instructions = instructions
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
76 | task.impactsAdherence = impactsAdherence
77 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:76:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
74 | task.copyVersionedValues(from: self)
75 | task.instructions = instructions
76 | task.impactsAdherence = impactsAdherence
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDNote.swift:54:36: warning: capture of 'self' with non-Sendable type 'OCKCDNote' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDNote)
34 | class OCKCDNote: NSManagedObject {
| `- note: class 'OCKCDNote' does not conform to the 'Sendable' protocol
35 | @NSManaged var author: String?
36 | @NSManaged var title: String?
:
52 | var note: OCKNote!
53 | self.managedObjectContext!.performAndWait {
54 | note = OCKNote(author: author, title: title, content: content)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDNote' in a '@Sendable' closure [#SendableClosureCaptures]
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDNote.swift:54:13: warning: mutation of captured var 'note' in concurrently-executing code [#SendableClosureCaptures]
52 | var note: OCKNote!
53 | self.managedObjectContext!.performAndWait {
54 | note = OCKNote(author: author, title: title, content: content)
| `- warning: mutation of captured var 'note' in concurrently-executing code [#SendableClosureCaptures]
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:69:27: warning: capture of 'self' with non-Sendable type 'OCKCDOutcome' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDOutcome)
35 | class OCKCDOutcome: OCKCDVersionedObject {
| `- note: class 'OCKCDOutcome' does not conform to the 'Sendable' protocol
36 | @NSManaged var taskOccurrenceIndex: Int64
37 | @NSManaged var task: OCKCDTask
:
67 | self.managedObjectContext!.performAndWait {
68 | outcome = OCKOutcome(
69 | taskUUID: task.uuid,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcome' in a '@Sendable' closure [#SendableClosureCaptures]
70 | taskOccurrenceIndex: Int(taskOccurrenceIndex),
71 | values: values.map { $0.makeValue() }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:68:13: warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
66 |
67 | self.managedObjectContext!.performAndWait {
68 | outcome = OCKOutcome(
| `- warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
69 | taskUUID: task.uuid,
70 | taskOccurrenceIndex: Int(taskOccurrenceIndex),
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:74:13: warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
72 | )
73 |
74 | outcome.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:66:37: warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDOutcomeValue)
34 | class OCKCDOutcomeValue: NSManagedObject {
| `- note: class 'OCKCDOutcomeValue' does not conform to the 'Sendable' protocol
35 | @NSManaged var kind: String? // blood sugar, body weight, etc.
36 | @NSManaged var units: String?
:
64 |
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#SendableClosureCaptures]
67 | value.createdDate = createdDate
68 | value.kind = kind
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:66:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
64 |
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
67 | value.createdDate = createdDate
68 | value.kind = kind
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:67:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
68 | value.kind = kind
69 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:68:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
68 | value.kind = kind
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:38: warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPatient)
35 | class OCKCDPatient: OCKCDVersionedObject {
| `- note: class 'OCKCDPatient' does not conform to the 'Sendable' protocol
36 | @NSManaged var name: OCKCDPersonName
37 | @NSManaged private var sex: String?
:
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:60:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:61:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
62 | patient.birthday = birthday
63 | patient.allergies = allergies
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:62:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
63 | patient.allergies = allergies
64 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:63:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
63 | patient.allergies = allergies
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:37: warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPersonName)
35 | class OCKCDPersonName: NSManagedObject {
| `- note: class 'OCKCDPersonName' does not conform to the 'Sendable' protocol
36 | @NSManaged var namePrefix: String?
37 | @NSManaged var givenName: String?
:
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:63:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:64:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
64 | components.familyName = familyName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:65:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:66:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
68 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:67:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPostalAddress.swift:61:25: warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDPostalAddress)
34 | class OCKCDPostalAddress: NSManagedObject {
| `- note: class 'OCKCDPostalAddress' does not conform to the 'Sendable' protocol
35 | @NSManaged var street: String
36 | @NSManaged var subLocality: String
:
59 |
60 | let address = OCKPostalAddress(
61 | street: street,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
62 | city: city,
63 | state: state,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:36: warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDCarePlan)
34 | class OCKCDCarePlan: OCKCDVersionedObject {
| `- note: class 'OCKCDCarePlan' does not conform to the 'Sendable' protocol
35 | @NSManaged var patient: OCKCDPatient?
36 | @NSManaged var tasks: Set<OCKCDTask>
:
56 |
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#SendableClosureCaptures]
59 | plan.copyVersionedValues(from: self)
60 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:13: warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
56 |
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
| `- warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
59 | plan.copyVersionedValues(from: self)
60 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:59:13: warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
59 | plan.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:98:21: warning: capture of 'self' with non-Sendable type 'OCKCDContact' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDContact)
35 | class OCKCDContact: OCKCDVersionedObject {
| `- note: class 'OCKCDContact' does not conform to the 'Sendable' protocol
36 | @NSManaged var carePlan: OCKCDCarePlan?
37 | @NSManaged var name: OCKCDPersonName
:
96 | self.managedObjectContext!.performAndWait {
97 | contact = OCKContact(
98 | id: id,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDContact' in a '@Sendable' closure [#SendableClosureCaptures]
99 | name: name.makeValue(),
100 | carePlanUUID: carePlan?.uuid
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:97:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
95 |
96 | self.managedObjectContext!.performAndWait {
97 | contact = OCKContact(
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
98 | id: id,
99 | name: name.makeValue(),
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:103:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
101 | )
102 |
103 | contact.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:104:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
102 |
103 | contact.copyVersionedValues(from: self)
104 | contact.emailAddresses = emailAddresses
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:105:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
103 | contact.copyVersionedValues(from: self)
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:106:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:107:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
108 | contact.organization = organization
109 | contact.title = title
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:108:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
109 | contact.title = title
110 | contact.role = role
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:109:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
109 | contact.title = title
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:110:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
108 | contact.organization = organization
109 | contact.title = title
110 | contact.role = role
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
112 | contact.address = address?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:111:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
109 | contact.title = title
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
112 | contact.address = address?.makeValue()
113 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:112:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
112 | contact.address = address?.makeValue()
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:57:72: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#SendableClosureCaptures]
34 |
35 | @objc(OCKCDHealthKitLinkage)
36 | class OCKCDHealthKitLinkage: NSManagedObject {
| `- note: class 'OCKCDHealthKitLinkage' does not conform to the 'Sendable' protocol
37 | @NSManaged var quantityIdentifier: String
38 | @NSManaged var quantityType: String
:
55 | self.managedObjectContext!.performAndWait {
56 | healthKitLinkage = OCKHealthKitLinkage(
57 | quantityIdentifier: HKQuantityTypeIdentifier(rawValue: quantityIdentifier),
| `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#SendableClosureCaptures]
58 | quantityType: OCKHealthKitLinkage.QuantityType(rawValue: quantityType)!,
59 | unit: HKUnit(from: unitString)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:56:13: warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#SendableClosureCaptures]
54 | var healthKitLinkage: OCKHealthKitLinkage!
55 | self.managedObjectContext!.performAndWait {
56 | healthKitLinkage = OCKHealthKitLinkage(
| `- warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#SendableClosureCaptures]
57 | quantityIdentifier: HKQuantityTypeIdentifier(rawValue: quantityIdentifier),
58 | quantityType: OCKHealthKitLinkage.QuantityType(rawValue: quantityType)!,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:67:21: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitTask' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDHealthKitTask)
35 | class OCKCDHealthKitTask: OCKCDTaskBase {
| `- note: class 'OCKCDHealthKitTask' does not conform to the 'Sendable' protocol
36 |
37 | @NSManaged var healthKitLinkage: OCKCDHealthKitLinkage
:
65 | self.managedObjectContext!.performAndWait {
66 | task = OCKHealthKitTask(
67 | id: id,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitTask' in a '@Sendable' closure [#SendableClosureCaptures]
68 | title: title,
69 | carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:66:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
64 |
65 | self.managedObjectContext!.performAndWait {
66 | task = OCKHealthKitTask(
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
67 | id: id,
68 | title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:74:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
72 | )
73 |
74 | task.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
75 | task.instructions = instructions
76 | task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:75:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |
74 | task.copyVersionedValues(from: self)
75 | task.instructions = instructions
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
76 | task.impactsAdherence = impactsAdherence
77 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:76:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
74 | task.copyVersionedValues(from: self)
75 | task.instructions = instructions
76 | task.impactsAdherence = impactsAdherence
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDNote.swift:54:36: warning: capture of 'self' with non-Sendable type 'OCKCDNote' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDNote)
34 | class OCKCDNote: NSManagedObject {
| `- note: class 'OCKCDNote' does not conform to the 'Sendable' protocol
35 | @NSManaged var author: String?
36 | @NSManaged var title: String?
:
52 | var note: OCKNote!
53 | self.managedObjectContext!.performAndWait {
54 | note = OCKNote(author: author, title: title, content: content)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDNote' in a '@Sendable' closure [#SendableClosureCaptures]
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDNote.swift:54:13: warning: mutation of captured var 'note' in concurrently-executing code [#SendableClosureCaptures]
52 | var note: OCKNote!
53 | self.managedObjectContext!.performAndWait {
54 | note = OCKNote(author: author, title: title, content: content)
| `- warning: mutation of captured var 'note' in concurrently-executing code [#SendableClosureCaptures]
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:69:27: warning: capture of 'self' with non-Sendable type 'OCKCDOutcome' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDOutcome)
35 | class OCKCDOutcome: OCKCDVersionedObject {
| `- note: class 'OCKCDOutcome' does not conform to the 'Sendable' protocol
36 | @NSManaged var taskOccurrenceIndex: Int64
37 | @NSManaged var task: OCKCDTask
:
67 | self.managedObjectContext!.performAndWait {
68 | outcome = OCKOutcome(
69 | taskUUID: task.uuid,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcome' in a '@Sendable' closure [#SendableClosureCaptures]
70 | taskOccurrenceIndex: Int(taskOccurrenceIndex),
71 | values: values.map { $0.makeValue() }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:68:13: warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
66 |
67 | self.managedObjectContext!.performAndWait {
68 | outcome = OCKOutcome(
| `- warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
69 | taskUUID: task.uuid,
70 | taskOccurrenceIndex: Int(taskOccurrenceIndex),
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:74:13: warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
72 | )
73 |
74 | outcome.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:66:37: warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDOutcomeValue)
34 | class OCKCDOutcomeValue: NSManagedObject {
| `- note: class 'OCKCDOutcomeValue' does not conform to the 'Sendable' protocol
35 | @NSManaged var kind: String? // blood sugar, body weight, etc.
36 | @NSManaged var units: String?
:
64 |
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#SendableClosureCaptures]
67 | value.createdDate = createdDate
68 | value.kind = kind
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:66:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
64 |
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
67 | value.createdDate = createdDate
68 | value.kind = kind
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:67:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
68 | value.kind = kind
69 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:68:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
68 | value.kind = kind
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:38: warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPatient)
35 | class OCKCDPatient: OCKCDVersionedObject {
| `- note: class 'OCKCDPatient' does not conform to the 'Sendable' protocol
36 | @NSManaged var name: OCKCDPersonName
37 | @NSManaged private var sex: String?
:
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:60:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:61:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
62 | patient.birthday = birthday
63 | patient.allergies = allergies
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:62:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
63 | patient.allergies = allergies
64 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:63:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
63 | patient.allergies = allergies
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:37: warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPersonName)
35 | class OCKCDPersonName: NSManagedObject {
| `- note: class 'OCKCDPersonName' does not conform to the 'Sendable' protocol
36 | @NSManaged var namePrefix: String?
37 | @NSManaged var givenName: String?
:
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:63:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:64:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
64 | components.familyName = familyName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:65:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:66:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
68 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:67:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPostalAddress.swift:61:25: warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDPostalAddress)
34 | class OCKCDPostalAddress: NSManagedObject {
| `- note: class 'OCKCDPostalAddress' does not conform to the 'Sendable' protocol
35 | @NSManaged var street: String
36 | @NSManaged var subLocality: String
:
59 |
60 | let address = OCKPostalAddress(
61 | street: street,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
62 | city: city,
63 | state: state,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:36: warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDCarePlan)
34 | class OCKCDCarePlan: OCKCDVersionedObject {
| `- note: class 'OCKCDCarePlan' does not conform to the 'Sendable' protocol
35 | @NSManaged var patient: OCKCDPatient?
36 | @NSManaged var tasks: Set<OCKCDTask>
:
56 |
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#SendableClosureCaptures]
59 | plan.copyVersionedValues(from: self)
60 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:13: warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
56 |
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
| `- warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
59 | plan.copyVersionedValues(from: self)
60 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:59:13: warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
57 | self.managedObjectContext!.performAndWait {
58 | plan = OCKCarePlan(id: id, title: title, patientUUID: patient?.uuid)
59 | plan.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'plan' in concurrently-executing code [#SendableClosureCaptures]
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:98:21: warning: capture of 'self' with non-Sendable type 'OCKCDContact' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDContact)
35 | class OCKCDContact: OCKCDVersionedObject {
| `- note: class 'OCKCDContact' does not conform to the 'Sendable' protocol
36 | @NSManaged var carePlan: OCKCDCarePlan?
37 | @NSManaged var name: OCKCDPersonName
:
96 | self.managedObjectContext!.performAndWait {
97 | contact = OCKContact(
98 | id: id,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDContact' in a '@Sendable' closure [#SendableClosureCaptures]
99 | name: name.makeValue(),
100 | carePlanUUID: carePlan?.uuid
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:97:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
95 |
96 | self.managedObjectContext!.performAndWait {
97 | contact = OCKContact(
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
98 | id: id,
99 | name: name.makeValue(),
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:103:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
101 | )
102 |
103 | contact.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:104:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
102 |
103 | contact.copyVersionedValues(from: self)
104 | contact.emailAddresses = emailAddresses
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:105:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
103 | contact.copyVersionedValues(from: self)
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:106:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
104 | contact.emailAddresses = emailAddresses
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:107:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
105 | contact.messagingNumbers = messagingNumbers
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
108 | contact.organization = organization
109 | contact.title = title
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:108:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
106 | contact.phoneNumbers = phoneNumbers
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
109 | contact.title = title
110 | contact.role = role
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:109:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
107 | contact.otherContactInfo = otherContactInfo
108 | contact.organization = organization
109 | contact.title = title
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:110:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
108 | contact.organization = organization
109 | contact.title = title
110 | contact.role = role
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
112 | contact.address = address?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:111:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
109 | contact.title = title
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
112 | contact.address = address?.makeValue()
113 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDContact.swift:112:13: warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
110 | contact.role = role
111 | contact.category = category.map { OCKContactCategory(rawValue: $0)! }
112 | contact.address = address?.makeValue()
| `- warning: mutation of captured var 'contact' in concurrently-executing code [#SendableClosureCaptures]
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:57:72: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#SendableClosureCaptures]
34 |
35 | @objc(OCKCDHealthKitLinkage)
36 | class OCKCDHealthKitLinkage: NSManagedObject {
| `- note: class 'OCKCDHealthKitLinkage' does not conform to the 'Sendable' protocol
37 | @NSManaged var quantityIdentifier: String
38 | @NSManaged var quantityType: String
:
55 | self.managedObjectContext!.performAndWait {
56 | healthKitLinkage = OCKHealthKitLinkage(
57 | quantityIdentifier: HKQuantityTypeIdentifier(rawValue: quantityIdentifier),
| `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#SendableClosureCaptures]
58 | quantityType: OCKHealthKitLinkage.QuantityType(rawValue: quantityType)!,
59 | unit: HKUnit(from: unitString)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:56:13: warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#SendableClosureCaptures]
54 | var healthKitLinkage: OCKHealthKitLinkage!
55 | self.managedObjectContext!.performAndWait {
56 | healthKitLinkage = OCKHealthKitLinkage(
| `- warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#SendableClosureCaptures]
57 | quantityIdentifier: HKQuantityTypeIdentifier(rawValue: quantityIdentifier),
58 | quantityType: OCKHealthKitLinkage.QuantityType(rawValue: quantityType)!,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:67:21: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitTask' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDHealthKitTask)
35 | class OCKCDHealthKitTask: OCKCDTaskBase {
| `- note: class 'OCKCDHealthKitTask' does not conform to the 'Sendable' protocol
36 |
37 | @NSManaged var healthKitLinkage: OCKCDHealthKitLinkage
:
65 | self.managedObjectContext!.performAndWait {
66 | task = OCKHealthKitTask(
67 | id: id,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitTask' in a '@Sendable' closure [#SendableClosureCaptures]
68 | title: title,
69 | carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:66:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
64 |
65 | self.managedObjectContext!.performAndWait {
66 | task = OCKHealthKitTask(
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
67 | id: id,
68 | title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:74:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
72 | )
73 |
74 | task.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
75 | task.instructions = instructions
76 | task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:75:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
73 |
74 | task.copyVersionedValues(from: self)
75 | task.instructions = instructions
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
76 | task.impactsAdherence = impactsAdherence
77 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitTask.swift:76:13: warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
74 | task.copyVersionedValues(from: self)
75 | task.instructions = instructions
76 | task.impactsAdherence = impactsAdherence
| `- warning: mutation of captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDNote.swift:54:36: warning: capture of 'self' with non-Sendable type 'OCKCDNote' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDNote)
34 | class OCKCDNote: NSManagedObject {
| `- note: class 'OCKCDNote' does not conform to the 'Sendable' protocol
35 | @NSManaged var author: String?
36 | @NSManaged var title: String?
:
52 | var note: OCKNote!
53 | self.managedObjectContext!.performAndWait {
54 | note = OCKNote(author: author, title: title, content: content)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDNote' in a '@Sendable' closure [#SendableClosureCaptures]
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDNote.swift:54:13: warning: mutation of captured var 'note' in concurrently-executing code [#SendableClosureCaptures]
52 | var note: OCKNote!
53 | self.managedObjectContext!.performAndWait {
54 | note = OCKNote(author: author, title: title, content: content)
| `- warning: mutation of captured var 'note' in concurrently-executing code [#SendableClosureCaptures]
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:69:27: warning: capture of 'self' with non-Sendable type 'OCKCDOutcome' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDOutcome)
35 | class OCKCDOutcome: OCKCDVersionedObject {
| `- note: class 'OCKCDOutcome' does not conform to the 'Sendable' protocol
36 | @NSManaged var taskOccurrenceIndex: Int64
37 | @NSManaged var task: OCKCDTask
:
67 | self.managedObjectContext!.performAndWait {
68 | outcome = OCKOutcome(
69 | taskUUID: task.uuid,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcome' in a '@Sendable' closure [#SendableClosureCaptures]
70 | taskOccurrenceIndex: Int(taskOccurrenceIndex),
71 | values: values.map { $0.makeValue() }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:68:13: warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
66 |
67 | self.managedObjectContext!.performAndWait {
68 | outcome = OCKOutcome(
| `- warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
69 | taskUUID: task.uuid,
70 | taskOccurrenceIndex: Int(taskOccurrenceIndex),
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcome.swift:74:13: warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
72 | )
73 |
74 | outcome.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'outcome' in concurrently-executing code [#SendableClosureCaptures]
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:66:37: warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDOutcomeValue)
34 | class OCKCDOutcomeValue: NSManagedObject {
| `- note: class 'OCKCDOutcomeValue' does not conform to the 'Sendable' protocol
35 | @NSManaged var kind: String? // blood sugar, body weight, etc.
36 | @NSManaged var units: String?
:
64 |
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
| `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#SendableClosureCaptures]
67 | value.createdDate = createdDate
68 | value.kind = kind
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:66:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
64 |
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
67 | value.createdDate = createdDate
68 | value.kind = kind
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:67:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
65 | self.managedObjectContext!.performAndWait {
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
68 | value.kind = kind
69 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:68:13: warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
66 | value = OCKOutcomeValue(self.value, units: units)
67 | value.createdDate = createdDate
68 | value.kind = kind
| `- warning: mutation of captured var 'value' in concurrently-executing code [#SendableClosureCaptures]
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:38: warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPatient)
35 | class OCKCDPatient: OCKCDVersionedObject {
| `- note: class 'OCKCDPatient' does not conform to the 'Sendable' protocol
36 | @NSManaged var name: OCKCDPersonName
37 | @NSManaged private var sex: String?
:
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPatient' in a '@Sendable' closure [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:59:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
57 | var patient: OCKPatient!
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:60:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
58 | self.managedObjectContext!.performAndWait {
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:61:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
59 | patient = OCKPatient(id: id, name: name.makeValue())
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
62 | patient.birthday = birthday
63 | patient.allergies = allergies
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:62:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
60 | patient.copyVersionedValues(from: self)
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
63 | patient.allergies = allergies
64 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPatient.swift:63:13: warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
61 | patient.sex = sex.map { OCKBiologicalSex(rawValue: $0)! }
62 | patient.birthday = birthday
63 | patient.allergies = allergies
| `- warning: mutation of captured var 'patient' in concurrently-executing code [#SendableClosureCaptures]
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:37: warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
33 |
34 | @objc(OCKCDPersonName)
35 | class OCKCDPersonName: NSManagedObject {
| `- note: class 'OCKCDPersonName' does not conform to the 'Sendable' protocol
36 | @NSManaged var namePrefix: String?
37 | @NSManaged var givenName: String?
:
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPersonName' in a '@Sendable' closure [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:62:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
60 | var components = PersonNameComponents()
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:63:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
61 | self.managedObjectContext!.performAndWait {
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:64:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
62 | components.namePrefix = namePrefix
63 | components.givenName = givenName
64 | components.familyName = familyName
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:65:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
63 | components.givenName = givenName
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:66:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
64 | components.familyName = familyName
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
68 | }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPersonName.swift:67:13: warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
65 | components.nameSuffix = nameSuffix
66 | components.nickname = nickname
67 | components.phoneticRepresentation = phoneticRepresentation?.makeValue()
| `- warning: mutation of captured var 'components' in concurrently-executing code [#SendableClosureCaptures]
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDPostalAddress.swift:61:25: warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
32 |
33 | @objc(OCKCDPostalAddress)
34 | class OCKCDPostalAddress: NSManagedObject {
| `- note: class 'OCKCDPostalAddress' does not conform to the 'Sendable' protocol
35 | @NSManaged var street: String
36 | @NSManaged var subLocality: String
:
59 |
60 | let address = OCKPostalAddress(
61 | street: street,
| `- warning: capture of 'self' with non-Sendable type 'OCKCDPostalAddress' in a '@Sendable' closure [#SendableClosureCaptures]
62 | city: city,
63 | state: state,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:271:36: warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
269 |
270 | for (vector, values) in groupedByKnowledge {
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
| `- warning: reference to captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/Synchronization/OCKStore+Synchronization.swift:273:21: warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
271 | let existing = entitiesGroupedByKnowledge[vector] ?? []
272 | let combined = existing + values.map { $0.entity() }
273 | entitiesGroupedByKnowledge[vector] = combined
| `- warning: mutation of captured var 'entitiesGroupedByKnowledge' in concurrently-executing code [#SendableClosureCaptures]
274 | }
275 | }
[#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 {
[958/1429] 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)
[1069/1453] 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 {
/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 {
[1203/1453] Compiling ModelsR4 CodeSystemUsageContextType.swift
[1204/1453] Compiling ModelsR4 CodeSystemUse.swift
[1205/1453] Compiling ModelsR4 CodeSystemValidationProcess.swift
[1206/1453] Compiling ModelsR4 CodeSystemValidationStatus.swift
[1207/1453] Compiling ModelsR4 CodeSystemValidationType.swift
[1208/1453] Compiling ModelsR4 CodeSystemVerificationresultCommunicationMethod.swift
[1209/1453] Compiling ModelsR4 CodeSystemVisionBase.swift
[1210/1453] Compiling ModelsR4 CodeSystemVisionEyes.swift
[1211/1453] Compiling ModelsR4 CodeSystemXPathUsageType.swift
[1212/1453] Compiling ModelsR4 CodeableConcept.swift
[1213/1453] Compiling ModelsR4 Coding.swift
[1214/1453] Compiling ModelsR4 Communication.swift
[1215/1453] Compiling ModelsR4 CommunicationRequest.swift
[1216/1453] Compiling ModelsR4 CompartmentDefinition.swift
[1217/1453] Compiling ModelsR4 Composition.swift
[1218/1453] Compiling ModelsR4 ConceptMap.swift
[1219/1453] Compiling ModelsR4 Condition.swift
[1220/1453] Compiling ModelsR4 Consent.swift
[1221/1453] Compiling ModelsR4 ContactDetail.swift
[1222/1453] Compiling ModelsR4 ContactPoint.swift
[1223/1453] Compiling ModelsR4 Contract.swift
[1224/1453] Compiling ModelsR4 Contributor.swift
[1225/1453] Compiling ModelsR4 Count.swift
[1226/1453] Compiling ModelsR4 Coverage.swift
[1251/1453] Emitting module ModelsR4
[1277/1453] Compiling ModelsR4 Endpoint.swift
[1278/1453] Compiling ModelsR4 EnrollmentRequest.swift
[1279/1453] Compiling ModelsR4 EnrollmentResponse.swift
[1280/1453] Compiling ModelsR4 EpisodeOfCare.swift
[1281/1453] Compiling ModelsR4 EventDefinition.swift
[1282/1453] Compiling ModelsR4 Evidence.swift
[1283/1453] Compiling ModelsR4 EvidenceVariable.swift
[1284/1453] Compiling ModelsR4 ExampleScenario.swift
[1285/1453] Compiling ModelsR4 ExplanationOfBenefit.swift
[1286/1453] Compiling ModelsR4 Expression.swift
[1287/1453] Compiling ModelsR4 Extension.swift
[1288/1453] Compiling ModelsR4 FHIRAbstractResource.swift
[1289/1453] Compiling ModelsR4 FHIRBool.swift
[1290/1453] Compiling ModelsR4 FHIRDate+NSDate.swift
[1291/1453] Compiling ModelsR4 FHIRDate.swift
[1292/1453] Compiling ModelsR4 FHIRDecimal.swift
[1293/1453] Compiling ModelsR4 FHIRInteger.swift
[1294/1453] Compiling ModelsR4 FHIRPositiveInteger.swift
[1295/1453] Compiling ModelsR4 FHIRPrimitive.swift
[1296/1453] Compiling ModelsR4 FHIRString.swift
[1297/1453] Compiling ModelsR4 FHIRTime+NSDate.swift
[1298/1453] Compiling ModelsR4 FHIRTime.swift
[1299/1453] Compiling ModelsR4 FHIRURI.swift
[1300/1453] Compiling ModelsR4 FHIRUnsignedInteger.swift
[1301/1453] 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 {
[1302/1453] 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 {
[1303/1453] 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 {
[1304/1453] 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 {
[1305/1453] 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 {
[1306/1453] 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 {
[1307/1453] 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 {
[1308/1453] 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 {
[1309/1453] 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 {
BUILD FAILURE 6.2 macosSpm