The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CareKit, reference 4.1.0 (b1e5a3), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 17:31:15 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cbaker6/CareKit.git
Reference: 4.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cbaker6/CareKit
 * tag               4.1.0      -> FETCH_HEAD
HEAD is now at b1e5a3d Merge branch 'main'
Cloned https://github.com/cbaker6/CareKit.git
Revision (git rev-parse @):
b1e5a3d6842c91186b4e00669eb8e53216abff28
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/cbaker6/CareKit.git at 4.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/cbaker6/CareKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 593]
[Planning deferred tasks]
[136 / 248] CareKit_CareKit
[145 / 248] CareKit_CareKitStore
[148 / 248]
[151 / 251] InternalCollectionsUtilities
[162 / 264] InternalCollectionsUtilities
[172 / 266] InternalCollectionsUtilities
[176 / 270] InternalCollectionsUtilities
[190 / 281] SpanPreview
[193 / 326]
[197 / 326]
[203 / 326]
[204 / 351]
[216 / 407]
[224 / 408] DequeModule
[234 / 419]
[238 / 419]
[244 / 419]
[255 / 419] OrderedCollections
[258 / 419]
[259 / 419]
[267 / 419]
[271 / 419]
[274 / 419]
[280 / 419] DequeModule
[298 / 420] DequeModule
[298 / 420]
[308 / 431] AsyncAlgorithms
[310 / 431]
[311 / 431]
[315 / 431] AsyncAlgorithms
[317 / 431] AsyncAlgorithms
[328 / 432] FMCore
[332 / 432] FMCore
[336 / 432] FMCore
[344 / 432] ModelsR4
[345 / 433]
[349 / 450]
[351 / 450]
[354 / 450]
[357 / 450]
[359 / 450]
[361 / 450]
[362 / 450]
[363 / 450] FMCore
[369 / 451]
[378 / 451]
[379 / 479] ModelsR4
[380 / 479]
[382 / 496]
[386 / 496] CareKitStore
[393 / 496]
[396 / 496] ModelsR4
[398 / 496] ModelsR4
[399 / 496] ModelsR4
[403 / 496]
[404 / 496] ModelsR4
[406 / 496] ModelsR4
[408 / 496] ModelsR4
[409 / 496] ModelsR4
[412 / 496] CareKitUI
[419 / 496] ModelsR4
[421 / 496] ModelsR4
[423 / 496] ModelsR4
[424 / 496] ModelsR4
[425 / 496] ModelsR4
[426 / 496] ModelsDSTU2
[428 / 496] ModelsDSTU2
[439 / 496] ModelsR4-product
[440 / 496] ModelsR4-product
[441 / 496] ModelsR4-product
[443 / 496] ModelsDSTU2
[444 / 496] ModelsR4
[445 / 496] ModelsDSTU2-product
[446 / 496] ModelsDSTU2-product
[449 / 496] ModelsDSTU2
[450 / 496] ModelsDSTU2
[451 / 496] ModelsDSTU2
[452 / 496] ModelsDSTU2
[454 / 496] ModelsDSTU2
[455 / 496] ModelsDSTU2
[456 / 496] CareKitUI
[457 / 496] CareKitUI
[458 / 496] CareKitUI
[459 / 496] CareKitUI-product
[460 / 496] CareKitUI-product
[462 / 496] CareKitUI
[463 / 496] CareKitUI
[465 / 496] CareKitStore
[467 / 496] CareKitStore-product
[468 / 496] CareKitFHIR
[472 / 497]
[474 / 510]
[477 / 510] CareKitFHIR
Fetching https://github.com/apple/FHIRModels.git
Fetching https://github.com/apple/swift-async-algorithms
[1/12522] Fetching fhirmodels
[252/19254] Fetching fhirmodels, swift-async-algorithms
Fetched https://github.com/apple/FHIRModels.git (2.04s)
Fetched https://github.com/apple/swift-async-algorithms (2.04s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.9.3 (2.62s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.5 (0.66s)
Fetching https://github.com/apple/swift-collections.git
[1/27702] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (3.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (4.24s)
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.5
Creating working copy for https://github.com/apple/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.9.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
CareKitStore2.1.xcdatamodel: note: Model CareKitStore2.1 version checksum: ZASrne13EHmZmKtP6KUUM5zZ+CoQutH4vpF2Yp01Sm8=
CareKitStore3.0.xcdatamodel: note: Model CareKitStore3.0 version checksum: n9m98iwZSln0wS0znptY7Ct54NZkiqZheyG+5DJkiao=
CareKitStore2.0.xcdatamodel: note: Model CareKitStore2.0 version checksum: ok9vrL3DxdxIVygU5OYEK8hYmHwOOhWj6BA5d9MxxDM=
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/HealthKit/OperatingSystemVersion+Codable.swift:33:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
31 | import Foundation
32 |
33 | extension OperatingSystemVersion: Codable {
   | |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
34 |
35 |     enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/HealthKit/OperatingSystemVersion+Hashable.swift:33:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
31 | import Foundation
32 |
33 | extension OperatingSystemVersion: Hashable {
   | |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
34 |
35 | 	public func hash(into hasher: inout Hasher) {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/Streaming/CoreDataQueryMonitor.swift:47:13: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 45 |
 46 |     private nonisolated(unsafe) let request: NSFetchRequest<Element>
 47 |     private nonisolated(unsafe) let context: NSManagedObjectContext
    |             `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSManagedObjectContext', consider removing it
 48 |
 49 |     var resultHandler: @Sendable (Result<[OCKVersionedObjectCompatible], Error>) -> Void {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDCarePlan.swift:58:36: warning: capture of 'self' with non-Sendable type 'OCKCDCarePlan' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 95 |
 96 |         self.managedObjectContext!.performAndWait {
 97 |             contact = OCKContact(
    |             `- warning: mutation of captured var 'contact' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
101 |             )
102 |
103 |             contact.copyVersionedValues(from: self)
    |             `- warning: mutation of captured var 'contact' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
102 |
103 |             contact.copyVersionedValues(from: self)
104 |             contact.emailAddresses = emailAddresses
    |             `- warning: mutation of captured var 'contact' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
103 |             contact.copyVersionedValues(from: self)
104 |             contact.emailAddresses = emailAddresses
105 |             contact.messagingNumbers = messagingNumbers
    |             `- warning: mutation of captured var 'contact' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
104 |             contact.emailAddresses = emailAddresses
105 |             contact.messagingNumbers = messagingNumbers
106 |             contact.phoneNumbers = phoneNumbers
    |             `- warning: mutation of captured var 'contact' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
105 |             contact.messagingNumbers = messagingNumbers
106 |             contact.phoneNumbers = phoneNumbers
107 |             contact.otherContactInfo = otherContactInfo
    |             `- warning: mutation of captured var 'contact' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
106 |             contact.phoneNumbers = phoneNumbers
107 |             contact.otherContactInfo = otherContactInfo
108 |             contact.organization = organization
    |             `- warning: mutation of captured var 'contact' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
107 |             contact.otherContactInfo = otherContactInfo
108 |             contact.organization = organization
109 |             contact.title = title
    |             `- warning: mutation of captured var 'contact' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
108 |             contact.organization = organization
109 |             contact.title = title
110 |             contact.role = role
    |             `- warning: mutation of captured var 'contact' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
113 |         }
114 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDDevice.swift:61:27: warning: capture of 'self' with non-Sendable type 'OCKCDDevice' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
33 |
34 | @objc(OCKCDDevice)
35 | class OCKCDDevice: NSManagedObject {
   |       `- note: class 'OCKCDDevice' does not conform to the 'Sendable' protocol
36 |     @NSManaged var name: String?
37 |     @NSManaged var manufacturer: String?
   :
59 |         var device = OCKDevice()
60 |         self.managedObjectContext!.performAndWait {
61 |             device.name = name
   |                           `- warning: capture of 'self' with non-Sendable type 'OCKCDDevice' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
62 |             device.manufacturer = manufacturer
63 |             device.model = model
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDDevice.swift:61:13: warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
59 |         var device = OCKDevice()
60 |         self.managedObjectContext!.performAndWait {
61 |             device.name = name
   |             `- warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
62 |             device.manufacturer = manufacturer
63 |             device.model = model
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDDevice.swift:62:13: warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
60 |         self.managedObjectContext!.performAndWait {
61 |             device.name = name
62 |             device.manufacturer = manufacturer
   |             `- warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
63 |             device.model = model
64 |             device.hardwareVersion = hardwareVersion
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDDevice.swift:63:13: warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
61 |             device.name = name
62 |             device.manufacturer = manufacturer
63 |             device.model = model
   |             `- warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
64 |             device.hardwareVersion = hardwareVersion
65 |             device.firmwareVersion = firmwareVersion
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDDevice.swift:64:13: warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
62 |             device.manufacturer = manufacturer
63 |             device.model = model
64 |             device.hardwareVersion = hardwareVersion
   |             `- warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
65 |             device.firmwareVersion = firmwareVersion
66 |             device.softwareVersion = softwareVersion
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDDevice.swift:65:13: warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
63 |             device.model = model
64 |             device.hardwareVersion = hardwareVersion
65 |             device.firmwareVersion = firmwareVersion
   |             `- warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
66 |             device.softwareVersion = softwareVersion
67 |             device.localIdentifier = localIdentifier
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDDevice.swift:66:13: warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
64 |             device.hardwareVersion = hardwareVersion
65 |             device.firmwareVersion = firmwareVersion
66 |             device.softwareVersion = softwareVersion
   |             `- warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
67 |             device.localIdentifier = localIdentifier
68 |             device.udiDeviceIdentifier = udiDeviceIdentifier
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDDevice.swift:67:13: warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
65 |             device.firmwareVersion = firmwareVersion
66 |             device.softwareVersion = softwareVersion
67 |             device.localIdentifier = localIdentifier
   |             `- warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
68 |             device.udiDeviceIdentifier = udiDeviceIdentifier
69 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDDevice.swift:68:13: warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
66 |             device.softwareVersion = softwareVersion
67 |             device.localIdentifier = localIdentifier
68 |             device.udiDeviceIdentifier = udiDeviceIdentifier
   |             `- warning: mutation of captured var 'device' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
69 |         }
70 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:55:67: warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
34 |
35 | @objc(OCKCDHealthKitLinkage)
36 | class OCKCDHealthKitLinkage: NSManagedObject {
   |       `- note: class 'OCKCDHealthKitLinkage' does not conform to the 'Sendable' protocol
37 |     @NSManaged var sampleIdentifier: String
38 |     @NSManaged var quantityType: String?
   :
53 |         var healthKitLinkage: OCKHealthKitLinkage!
54 |         self.managedObjectContext!.performAndWait {
55 |             let quantityType: OCKHealthKitLinkage.QuantityType? = quantityType != nil ? OCKHealthKitLinkage.QuantityType(rawValue: quantityType!)! : nil
   |                                                                   `- warning: capture of 'self' with non-Sendable type 'OCKCDHealthKitLinkage' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
56 |             let unit: HKUnit? = unitString != nil ? HKUnit(from: unitString!) : nil
57 |             if let quantityType = quantityType,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:62:17: warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
60 |                     rawValue: sampleIdentifier
61 |                 )
62 |                 healthKitLinkage = OCKHealthKitLinkage(
   |                 `- warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
63 |                     quantityIdentifier: quantityIdentifier,
64 |                     quantityType: quantityType,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDHealthKitLinkage.swift:71:17: warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
69 |                     rawValue: sampleIdentifier
70 |                 )
71 |                 healthKitLinkage = OCKHealthKitLinkage(
   |                 `- warning: mutation of captured var 'healthKitLinkage' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
72 |                     categoryIdentifier: categoryIdentifier
73 |                 )
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
64 |
65 |         self.managedObjectContext!.performAndWait {
66 |             task = OCKHealthKitTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
72 |             )
73 |
74 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
73 |
74 |             task.copyVersionedValues(from: self)
75 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
74 |             task.copyVersionedValues(from: self)
75 |             task.instructions = instructions
76 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
55 |         }
56 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOperatingSystemVersion.swift:51:51: warning: capture of 'self' with non-Sendable type 'OCKCDOperatingSystemVersion' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
33 |
34 | @objc(OCKCDOperatingSystemVersion)
35 | class OCKCDOperatingSystemVersion: NSManagedObject {
   |       `- note: class 'OCKCDOperatingSystemVersion' does not conform to the 'Sendable' protocol
36 |     @NSManaged var majorVersion: Int
37 |     @NSManaged var minorVersion: Int
   :
49 |         var operatingSystemVersion = OperatingSystemVersion()
50 |         self.managedObjectContext!.performAndWait {
51 |             operatingSystemVersion.majorVersion = majorVersion
   |                                                   `- warning: capture of 'self' with non-Sendable type 'OCKCDOperatingSystemVersion' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
52 |             operatingSystemVersion.minorVersion = minorVersion
53 |             operatingSystemVersion.patchVersion = patchVersion
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOperatingSystemVersion.swift:51:13: warning: mutation of captured var 'operatingSystemVersion' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
49 |         var operatingSystemVersion = OperatingSystemVersion()
50 |         self.managedObjectContext!.performAndWait {
51 |             operatingSystemVersion.majorVersion = majorVersion
   |             `- warning: mutation of captured var 'operatingSystemVersion' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
52 |             operatingSystemVersion.minorVersion = minorVersion
53 |             operatingSystemVersion.patchVersion = patchVersion
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOperatingSystemVersion.swift:52:13: warning: mutation of captured var 'operatingSystemVersion' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
50 |         self.managedObjectContext!.performAndWait {
51 |             operatingSystemVersion.majorVersion = majorVersion
52 |             operatingSystemVersion.minorVersion = minorVersion
   |             `- warning: mutation of captured var 'operatingSystemVersion' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
53 |             operatingSystemVersion.patchVersion = patchVersion
54 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOperatingSystemVersion.swift:53:13: warning: mutation of captured var 'operatingSystemVersion' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
51 |             operatingSystemVersion.majorVersion = majorVersion
52 |             operatingSystemVersion.minorVersion = minorVersion
53 |             operatingSystemVersion.patchVersion = patchVersion
   |             `- warning: mutation of captured var 'operatingSystemVersion' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
54 |         }
55 |
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 66 |
 67 |         self.managedObjectContext!.performAndWait {
 68 |             outcome = OCKOutcome(
    |             `- warning: mutation of captured var 'outcome' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 72 |             )
 73 |
 74 |             outcome.copyVersionedValues(from: self)
    |             `- warning: mutation of captured var 'outcome' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 75 |         }
 76 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:85:17: warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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?
    :
 83 |         self.managedObjectContext!.performAndWait {
 84 |             value = OCKOutcomeValue(
 85 |                 self.value,
    |                 `- warning: capture of 'self' with non-Sendable type 'OCKCDOutcomeValue' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 86 |                 units: units,
 87 |                 createdDate: createdDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDOutcomeValue.swift:84:13: warning: mutation of captured var 'value' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 82 |
 83 |         self.managedObjectContext!.performAndWait {
 84 |             value = OCKOutcomeValue(
    |             `- warning: mutation of captured var 'value' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 85 |                 self.value,
 86 |                 units: units,
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
60 |         var components = PersonNameComponents()
61 |         self.managedObjectContext!.performAndWait {
62 |             components.namePrefix = namePrefix
   |             `- warning: mutation of captured var 'components' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
61 |         self.managedObjectContext!.performAndWait {
62 |             components.namePrefix = namePrefix
63 |             components.givenName = givenName
   |             `- warning: mutation of captured var 'components' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
62 |             components.namePrefix = namePrefix
63 |             components.givenName = givenName
64 |             components.familyName = familyName
   |             `- warning: mutation of captured var 'components' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
63 |             components.givenName = givenName
64 |             components.familyName = familyName
65 |             components.nameSuffix = nameSuffix
   |             `- warning: mutation of captured var 'components' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
64 |             components.familyName = familyName
65 |             components.nameSuffix = nameSuffix
66 |             components.nickname = nickname
   |             `- warning: mutation of captured var 'components' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
65 |             components.nameSuffix = nameSuffix
66 |             components.nickname = nickname
67 |             components.phoneticRepresentation = phoneticRepresentation?.makeValue()
   |             `- warning: mutation of captured var 'components' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
62 |                 city: city,
63 |                 state: state,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:74:24: warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 33 |
 34 | @objc(OCKCDScheduleElement)
 35 | class OCKCDScheduleElement: NSManagedObject {
    |       `- note: class 'OCKCDScheduleElement' does not conform to the 'Sendable' protocol
 36 |     @NSManaged var text: String?
 37 |     @NSManaged var task: OCKCDTask?
    :
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
 74 |                 start: startDate,
    |                        `- warning: capture of 'self' with non-Sendable type 'OCKCDScheduleElement' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 75 |                 end: endDate,
 76 |                 interval: interval,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDScheduleElement.swift:73:13: warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 71 |
 72 |         self.managedObjectContext!.performAndWait {
 73 |             scheduleElement = OCKScheduleElement(
    |             `- warning: mutation of captured var 'scheduleElement' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 74 |                 start: startDate,
 75 |                 end: endDate,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDSource.swift:50:23: warning: capture of 'self' with non-Sendable type 'OCKCDSource' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
33 |
34 | @objc(OCKCDSource)
35 | class OCKCDSource: NSManagedObject {
   |       `- note: class 'OCKCDSource' does not conform to the 'Sendable' protocol
36 |     @NSManaged var name: String
37 |     @NSManaged var bundleIdentifier: String
   :
48 |         self.managedObjectContext!.performAndWait {
49 |             source = OCKSource(
50 |                 name: name,
   |                       `- warning: capture of 'self' with non-Sendable type 'OCKCDSource' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
51 |                 bundleIdentifier: bundleIdentifier
52 |             )
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDSource.swift:49:13: warning: mutation of captured var 'source' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
47 |         var source: OCKSource!
48 |         self.managedObjectContext!.performAndWait {
49 |             source = OCKSource(
   |             `- warning: mutation of captured var 'source' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
50 |                 name: name,
51 |                 bundleIdentifier: bundleIdentifier
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDSourceRevision.swift:60:25: warning: capture of 'self' with non-Sendable type 'OCKCDSourceRevision' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
33 |
34 | @objc(OCKCDSourceRevision)
35 | class OCKCDSourceRevision: NSManagedObject {
   |       `- note: class 'OCKCDSourceRevision' does not conform to the 'Sendable' protocol
36 |     @NSManaged var source: OCKCDSource
37 |     @NSManaged var version: String?
   :
58 |         self.managedObjectContext!.performAndWait {
59 |             sourceRevision = OCKSourceRevision(
60 |                 source: source.makeValue(),
   |                         `- warning: capture of 'self' with non-Sendable type 'OCKCDSourceRevision' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
61 |                 version: version,
62 |                 productType: productType,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDSourceRevision.swift:59:13: warning: mutation of captured var 'sourceRevision' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
57 |         var sourceRevision: OCKSourceRevision!
58 |         self.managedObjectContext!.performAndWait {
59 |             sourceRevision = OCKSourceRevision(
   |             `- warning: mutation of captured var 'sourceRevision' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
60 |                 source: source.makeValue(),
61 |                 version: version,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:73:21: warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
43 |
44 | @objc(OCKCDTask)
45 | class OCKCDTask: OCKCDTaskBase {
   |       `- note: class 'OCKCDTask' does not conform to the 'Sendable' protocol
46 |
47 |     convenience init(task: OCKTask, context: NSManagedObjectContext) {
   :
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
73 |                 id: id,
   |                     `- warning: capture of 'self' with non-Sendable type 'OCKCDTask' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
74 |                 title: title,
75 |                 carePlanUUID: carePlan?.uuid,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:72:13: warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
70 |
71 |         self.managedObjectContext!.performAndWait {
72 |             task = OCKTask(
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
73 |                 id: id,
74 |                 title: title,
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:79:13: warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
77 |             )
78 |
79 |             task.copyVersionedValues(from: self)
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:80:13: warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
78 |
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
81 |             task.impactsAdherence = impactsAdherence
82 |         }
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKCDTask.swift:81:13: warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
79 |             task.copyVersionedValues(from: self)
80 |             task.instructions = instructions
81 |             task.impactsAdherence = impactsAdherence
   |             `- warning: mutation of captured var 'task' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
82 |         }
83 |
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:71:17: warning: mutation of captured var 'result' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 69 |                     .filtered(dateInterval: query.dateInterval, excludeTasksWithNoEvents: query.excludesTasksWithNoEvents)
 70 |
 71 |                 result = .success(tasks)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 72 |             } catch {
 73 |                 result = .failure(error)
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/CoreData/OCKStore+HealthKit.swift:73:17: warning: mutation of captured var 'result' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 71 |                 result = .success(tasks)
 72 |             } catch {
 73 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 74 |             }
 75 |         }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/HealthKit/OperatingSystemVersion+Codable.swift:33:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
31 | import Foundation
32 |
33 | extension OperatingSystemVersion: Codable {
   | |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
34 |
35 |     enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/CareKitStore/CareKitStore/HealthKit/OperatingSystemVersion+Hashable.swift:33:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
31 | import Foundation
32 |
33 | extension OperatingSystemVersion: Hashable {
   | |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
34 |
35 | 	public func hash(into hasher: inout Hasher) {
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKDSTU2PatientCoder.swift:105:17: error: cannot assign to property: 'patient' is a 'let' constant
103 |
104 |     public var setFHIRID: (String, Patient) throws -> Void = { id, patient in
105 |         patient.id = FHIRPrimitive(FHIRString(id))
    |                 `- error: cannot assign to property: 'patient' is a 'let' constant
106 |     }
107 |
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKDSTU2PatientCoder.swift:110:19: error: cannot assign to property: 'humanName' is a 'let' constant
107 |
108 |     public var setFHIRName: (PersonNameComponents, Patient) throws -> Void = { name, patient in
109 |         let humanName = HumanName()
    |         `- note: change 'let' to 'var' to make it mutable
110 |         humanName.family = name.familyName == nil ? [] : [name.familyName!.fhirString()]
    |                   `- error: cannot assign to property: 'humanName' is a 'let' constant
111 |         humanName.given = name.givenName == nil ? [] : [name.givenName!.fhirString()]
112 |         humanName.prefix = name.namePrefix == nil ? [] : [name.namePrefix!.fhirString()]
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKDSTU2PatientCoder.swift:119:17: error: cannot assign to property: 'patient' is a 'let' constant
117 |
118 |     public var setFHIRSex: (OCKBiologicalSex, Patient) throws -> Void = { sex, patient in
119 |         patient.gender = sex.administrativeGender
    |                 `- error: cannot assign to property: 'patient' is a 'let' constant
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKDSTU2PatientCoder.swift:123:17: error: cannot assign to property: 'patient' is a 'let' constant
121 |
122 |     public var setFHIRBirthday: (Date, Patient) throws -> Void = { birthday, patient in
123 |         patient.birthDate = FHIRPrimitive(birthday.dstu2FHIRDateTime.date)
    |                 `- error: cannot assign to property: 'patient' is a 'let' constant
124 |     }
125 |
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKR4PatientCoder.swift:105:17: error: cannot assign to property: 'patient' is a 'let' constant
103 |
104 |     public var setFHIRID: (String, Patient) throws -> Void = { id, patient in
105 |         patient.id = FHIRPrimitive(FHIRString(id))
    |                 `- error: cannot assign to property: 'patient' is a 'let' constant
106 |     }
107 |
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKR4PatientCoder.swift:110:19: error: cannot assign to property: 'humanName' is a 'let' constant
107 |
108 |     public var setFHIRName: (PersonNameComponents, Patient) throws -> Void = { name, patient in
109 |         let humanName = HumanName()
    |         `- note: change 'let' to 'var' to make it mutable
110 |         humanName.family = name.familyName?.fhirString()
    |                   `- error: cannot assign to property: 'humanName' is a 'let' constant
111 |         humanName.given = name.givenName == nil ? [] : [name.givenName!.fhirString()]
112 |         humanName.prefix = name.namePrefix == nil ? [] : [name.namePrefix!.fhirString()]
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKR4PatientCoder.swift:119:17: error: cannot assign to property: 'patient' is a 'let' constant
117 |
118 |     public var setFHIRSex: (OCKBiologicalSex, Patient) throws -> Void = { sex, patient in
119 |         patient.gender = sex.administrativeGender
    |                 `- error: cannot assign to property: 'patient' is a 'let' constant
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKR4PatientCoder.swift:123:17: error: cannot assign to property: 'patient' is a 'let' constant
121 |
122 |     public var setFHIRBirthday: (Date, Patient) throws -> Void = { birthday, patient in
123 |         patient.birthDate = FHIRPrimitive(birthday.r4FHIRDateTime.value?.date)
    |                 `- error: cannot assign to property: 'patient' is a 'let' constant
124 |     }
125 |
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2CarePlanActivityCoder.swift:80:18: error: cannot assign to property: 'activity' is a 'let' constant
78 |
79 |     public var setFHIRID: (_ id: String, _ activity: Resource) throws -> Void = { id, activity in
80 |         activity.id = FHIRPrimitive(FHIRString(id))
   |                  `- error: cannot assign to property: 'activity' is a 'let' constant
81 |     }
82 |
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2CarePlanActivityCoder.swift:85:18: error: cannot assign to property: 'activity' is a 'let' constant
83 |     public var setFHIRTitle: (_ title: String?, _ activity: Resource) throws -> Void = { title, activity in
84 |         guard let title = title else { return }
85 |         activity.detail = activity.detail ?? CarePlanActivityDetail(prohibited: false)
   |                  `- error: cannot assign to property: 'activity' is a 'let' constant
86 |         activity.detail?.description_fhir = FHIRPrimitive(FHIRString(title))
87 |     }
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2CarePlanActivityCoder.swift:90:18: error: cannot assign to property: 'activity' is a 'let' constant
88 |
89 |     public var setFHIRSchedule: (OCKSchedule, CarePlanActivity) throws -> Void = { schedule, activity in
90 |         activity.detail = activity.detail ?? CarePlanActivityDetail(prohibited: false)
   |                  `- error: cannot assign to property: 'activity' is a 'let' constant
91 |         activity.detail?.scheduled = .timing(try OCKDSTU2ScheduleCoder().convert(entity: schedule))
92 |     }
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2MedicationOrderCoder.swift:82:25: error: cannot assign to property: 'medicationOrder' is a 'let' constant
 80 |
 81 |     public var setFHIRID: (String, Resource) throws -> Void = { id, medicationOrder in
 82 |         medicationOrder.id = FHIRPrimitive(FHIRString(id))
    |                         `- error: cannot assign to property: 'medicationOrder' is a 'let' constant
 83 |     }
 84 |
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2MedicationOrderCoder.swift:89:21: error: cannot assign to property: 'concept' is a 'let' constant
 87 |
 88 |         if case let .codeableConcept(concept) = medicationOrder.medication {
 89 |             concept.text = FHIRPrimitive(FHIRString(title))
    |                     `- error: cannot assign to property: 'concept' is a 'let' constant
 90 |             medicationOrder.medication = .codeableConcept(concept)
 91 |         } else {
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2MedicationOrderCoder.swift:101:25: error: cannot assign to property: 'medicationOrder' is a 'let' constant
 99 |         guard let instructions = instructions else { return }
100 |         // Arrays in FHIR are not allowed to be empty, so if it is non-nil, then it must have at least 1 element.
101 |         medicationOrder.dosageInstruction = medicationOrder.dosageInstruction ?? [MedicationOrderDosageInstruction()]
    |                         `- error: cannot assign to property: 'medicationOrder' is a 'let' constant
102 |         medicationOrder.dosageInstruction![0].text = instructions.fhirString()
103 |     }
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2MedicationOrderCoder.swift:107:25: error: cannot assign to property: 'medicationOrder' is a 'let' constant
105 |     public var setFHIRSchedule: (OCKSchedule, Resource) throws -> Void = { schedule, medicationOrder in
106 |         // Arrays in FHIR are not allowed to be empty, so if it is non-nil, then it must have at least 1 element.
107 |         medicationOrder.dosageInstruction = medicationOrder.dosageInstruction ?? [MedicationOrderDosageInstruction()]
    |                         `- error: cannot assign to property: 'medicationOrder' is a 'let' constant
108 |         medicationOrder.dosageInstruction![0].timing = try OCKDSTU2ScheduleCoder().convert(entity: schedule)
109 |     }
/Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2ScheduleCoder.swift:154:17: error: initializers in structs are not marked with 'convenience'
152 | private extension TimingRepeat {
153 |
154 |     convenience init(element: OCKScheduleElement) {
    |                 `- error: initializers in structs are not marked with 'convenience'
155 |         self.init()
156 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/FHIRModels+Extensions.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/OCK+FHIRExtensions.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/OCKFHIRCodingError.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/OCKFHIRContentType.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/OCKFHIRRelease.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/OCKFHIRResource.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/OCKFHIRResourceCoder.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/OCKFHIRResourceData.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKDSTU2PatientCoder.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKPatientConverterTraits.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Patients/OCKR4PatientCoder.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2CarePlanActivityCoder.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2MedicationOrderCoder.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKDSTU2ScheduleCoder.swift /Users/admin/builder/spi-builder-workspace/CareKitFHIR/CareKitFHIR/Tasks/OCKTaskConverterTraits.swift -target arm64-apple-macos15.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/Objects-normal/arm64/CareKitFHIR-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CareKitFHIR -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/Objects-normal/arm64/CareKitFHIR_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/Objects-normal/arm64/CareKitFHIR.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/Objects-normal/arm64/CareKitFHIR.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/Objects-normal/arm64/CareKitFHIR-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/Objects-normal/arm64/CareKitFHIR-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/Objects-normal/arm64/CareKitFHIR-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/Objects-normal/arm64/CareKitFHIR.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CareKit.build/Debug/CareKitFHIR-t.build/Objects-normal/arm64/CareKitFHIR.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm