The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SpeziFHIR, reference 0.10.0 (b304ec), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 20:21:36 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/StanfordSpezi/SpeziFHIR.git
Reference: 0.10.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordSpezi/SpeziFHIR
 * tag               0.10.0     -> FETCH_HEAD
HEAD is now at b304eca `FHIRStore`: handle duplicate entries (#46)
Cloned https://github.com/StanfordSpezi/SpeziFHIR.git
Revision (git rev-parse @):
b304ecac0dea8779854023d887f48832744990f7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziFHIR.git at 0.10.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziFHIR.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 / 1044]
[Planning deferred tasks]
[Starting]
[201 / 515]
[249 / 515] SpeziFHIR_SpeziFHIRMockPatients
[251 / 515]
[263 / 522] RuntimeAssertions
[275 / 533]
[283 / 547]
[292 / 581]
[300 / 606]
[312 / 606]
[335 / 606] _NumericsShims
[350 / 719]
[362 / 719]
[381 / 719]
[388 / 719]
[397 / 750] libzstd
[404 / 750] libzstd
[408 / 750] libzstd
[418 / 750]
[432 / 750]
[452 / 750] Logging
[469 / 750] RealModule-product
[477 / 750] RealModule-product
[482 / 750]
[490 / 750]
[499 / 750]
[505 / 750] RealModule
[512 / 750] Logging-product
[521 / 750]
[526 / 750]
[534 / 750]
[541 / 750] InternalCollectionsUtilities
[544 / 750]
[550 / 750] Atomics-product
[552 / 750] Atomics
[560 / 750] FMCore
[565 / 750] FMCore
[575 / 750] ThreadLocalMacros
[585 / 750] RuntimeAssertions
[590 / 750] FMCore
[591 / 750] FMCore
[592 / 750] FMCore
[604 / 751]
[620 / 758]
[624 / 760] FMCore
[627 / 760] ThreadLocalMacros
[629 / 761] Algorithms
[634 / 772] DequeModule
[638 / 797] ThreadLocal
[641 / 797] OrderedCollections
[643 / 797] OrderedCollections
[644 / 797] OrderedCollections
[650 / 797] ThreadLocal
[658 / 814] Algorithms
[666 / 814] ModelsDSTU2
[668 / 814] OrderedCollections
[676 / 814] OrderedCollections-product
[679 / 842] ModelsR4
[680 / 842] DequeModule
[689 / 842] ModelsR4
[691 / 842] ModelsR4
[693 / 842] ModelsR4
[695 / 842] ModelsR4
[696 / 842] ModelsR4
[698 / 842] ModelsR4
[699 / 842] ModelsR4
[700 / 842] ModelsR4
[701 / 842] ModelsR4
[702 / 842] ModelsR4
[705 / 842] ModelsDSTU2
[711 / 842] ModelsR4
[712 / 842] ModelsR4
[713 / 842] ModelsR4
[714 / 842] ModelsR4
[715 / 842] ModelsR4
[716 / 842] ModelsR4
[717 / 842] ModelsR4
[719 / 842] ModelsR4
[724 / 842] ModelsR4
[725 / 842] ModelsR4-product
[726 / 842] ModelsR4-product
[727 / 842] ModelsR4-product
[728 / 842] ModelsDSTU2-product
[730 / 842] ModelsDSTU2
[731 / 842] ModelsDSTU2
[732 / 842] ModelsDSTU2
[733 / 842] ModelsDSTU2
[734 / 842] HealthKitOnFHIR
[737 / 842] DequeModule
[738 / 842] DequeModule
[739 / 842] DequeModule-product
[742 / 842] DequeModule-product
[743 / 842] AsyncAlgorithms
[745 / 842] Algorithms-product
[747 / 842] SpeziFoundation
[750 / 842]
[753 / 843]
[755 / 844]
[758 / 845]
[761 / 860] Algorithms
[765 / 871] AsyncAlgorithms
[767 / 872] SpeziFoundation
[768 / 917]
Fetching https://github.com/apple/FHIRModels.git
Fetching https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordSpezi/SpeziHealthKit.git
[1/10350] Fetching spezi
[2/13571] Fetching spezi, healthkitonfhir
[131/26093] Fetching spezi, healthkitonfhir, fhirmodels
[235/32367] Fetching spezi, healthkitonfhir, fhirmodels, spezihealthkit
Fetched https://github.com/StanfordBDHG/HealthKitOnFHIR.git (1.24s)
[7148/29146] Fetching spezi, fhirmodels, spezihealthkit
Fetched https://github.com/apple/FHIRModels.git (2.18s)
Fetched https://github.com/StanfordSpezi/Spezi.git (2.18s)
Fetched https://github.com/StanfordSpezi/SpeziHealthKit.git (2.18s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.9.3 (2.78s)
Computing version for https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Computed https://github.com/StanfordBDHG/HealthKitOnFHIR.git at 1.2.1 (0.67s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.2 (0.68s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-collections.git
[1/3189] Fetching spezifoundation
[193/3924] Fetching spezifoundation, xctruntimeassertions
[3925/31617] Fetching spezifoundation, xctruntimeassertions, swift-collections
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git (3.11s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git (3.11s)
Fetched https://github.com/apple/swift-collections.git (3.11s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (3.80s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.7 (0.67s)
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1875] Fetching swift-atomics
[20/65032] Fetching swift-atomics, zstd
[77/73197] Fetching swift-atomics, zstd, swift-log
[78/73380] Fetching swift-atomics, zstd, swift-log, threadlocal
[247/79525] Fetching swift-atomics, zstd, swift-log, threadlocal, swift-algorithms
Fetched https://github.com/StanfordBDHG/ThreadLocal.git (1.35s)
Fetched https://github.com/apple/swift-algorithms.git (1.35s)
Fetched https://github.com/apple/swift-atomics.git (1.35s)
[9664/71322] Fetching zstd, swift-log
Fetched https://github.com/apple/swift-log (1.74s)
[14067/63157] Fetching zstd
Fetched https://github.com/StanfordBDHG/zstd.git (6.39s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (8.54s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (2.34s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.54s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80027] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.51s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (6.09s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.73s)
Computing version for https://github.com/StanfordSpezi/SpeziHealthKit.git
Computed https://github.com/StanfordSpezi/SpeziHealthKit.git at 1.4.2 (0.67s)
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1733] Fetching spezistorage
[53/8465] Fetching spezistorage, swift-async-algorithms
Fetched https://github.com/StanfordSpezi/SpeziStorage.git (1.32s)
Fetched https://github.com/apple/swift-async-algorithms.git (1.32s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4 (2.01s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.64s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.56s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.63s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/StanfordSpezi/SpeziHealthKit.git
Working copy of https://github.com/StanfordSpezi/SpeziHealthKit.git resolved at 1.4.2
Creating working copy for https://github.com/StanfordBDHG/ThreadLocal.git
Working copy of https://github.com/StanfordBDHG/ThreadLocal.git resolved at 0.1.3
Creating working copy for https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Working copy of https://github.com/StanfordBDHG/HealthKitOnFHIR.git resolved at 1.2.1
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.7
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/StanfordBDHG/zstd.git
Working copy of https://github.com/StanfordBDHG/zstd.git resolved at 1.5.8-beta.1
Creating working copy for https://github.com/StanfordSpezi/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.1.4
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.10.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.0
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (0.21s)
warning: 'spezifoundation': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'spezifoundation': couldn't find pc file for zlib
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Observation+Dates.swift:19:13: error: cannot assign to property: 'self' is immutable
15 |     /// Sets the `Observation`'s effective date.
16 |     @inlinable
17 |     public func setEffective(startDate: Date, endDate: Date, timeZone: TimeZone) throws {
   |            `- note: mark method 'mutating' to make 'self' mutable
18 |         if startDate == endDate {
19 |             effective = .dateTime(FHIRPrimitive(try DateTime(date: startDate, timeZone: timeZone)))
   |             `- error: cannot assign to property: 'self' is immutable
20 |         } else {
21 |             effective = .period(Period(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Observation+Dates.swift:21:13: error: cannot assign to property: 'self' is immutable
15 |     /// Sets the `Observation`'s effective date.
16 |     @inlinable
17 |     public func setEffective(startDate: Date, endDate: Date, timeZone: TimeZone) throws {
   |            `- note: mark method 'mutating' to make 'self' mutable
18 |         if startDate == endDate {
19 |             effective = .dateTime(FHIRPrimitive(try DateTime(date: startDate, timeZone: timeZone)))
20 |         } else {
21 |             effective = .period(Period(
   |             `- error: cannot assign to property: 'self' is immutable
22 |                 end: FHIRPrimitive(try DateTime(date: endDate, timeZone: timeZone)),
23 |                 start: FHIRPrimitive(try DateTime(date: startDate, timeZone: timeZone))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Observation+Dates.swift:31:9: error: cannot assign to property: 'self' is immutable
28 |     /// Sets the `Observation`'s issued date.
29 |     @inlinable
30 |     public func setIssued(on date: Date) throws {
   |            `- note: mark method 'mutating' to make 'self' mutable
31 |         issued = FHIRPrimitive(try Instant(date: date))
   |         `- error: cannot assign to property: 'self' is immutable
32 |     }
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:73:1: error: extension of protocol 'Element' cannot declare inheritance relationship
 71 | }
 72 |
 73 | extension ModelsR4.Element: FHIRTypeWithExtensions {}
    | `- error: extension of protocol 'Element' cannot declare inheritance relationship
 74 | extension ModelsR4.DomainResource: FHIRTypeWithExtensions {}
 75 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:74:1: error: extension of protocol 'DomainResource' cannot declare inheritance relationship
 72 |
 73 | extension ModelsR4.Element: FHIRTypeWithExtensions {}
 74 | extension ModelsR4.DomainResource: FHIRTypeWithExtensions {}
    | `- error: extension of protocol 'DomainResource' cannot declare inheritance relationship
 75 |
 76 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:19:9: error: cannot find 'appendElement' in scope
 17 |     @inlinable
 18 |     public func appendIdentifier(_ identifier: Identifier) {
 19 |         appendElement(identifier, to: \.identifier)
    |         `- error: cannot find 'appendElement' in scope
 20 |     }
 21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:19:39: error: cannot infer key path type from context; consider explicitly specifying a root type
 17 |     @inlinable
 18 |     public func appendIdentifier(_ identifier: Identifier) {
 19 |         appendElement(identifier, to: \.identifier)
    |                                       `- error: cannot infer key path type from context; consider explicitly specifying a root type
 20 |     }
 21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:25:9: error: cannot find 'appendElements' in scope
 23 |     @inlinable
 24 |     public func appendIdentifiers(_ identifiers: some Collection<Identifier>) {
 25 |         appendElements(identifiers, to: \.identifier)
    |         `- error: cannot find 'appendElements' in scope
 26 |     }
 27 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:25:41: error: cannot infer key path type from context; consider explicitly specifying a root type
 23 |     @inlinable
 24 |     public func appendIdentifiers(_ identifiers: some Collection<Identifier>) {
 25 |         appendElements(identifiers, to: \.identifier)
    |                                         `- error: cannot infer key path type from context; consider explicitly specifying a root type
 26 |     }
 27 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:31:9: error: cannot find 'appendElement' in scope
 29 |     @inlinable
 30 |     public func appendCategory(_ category: CodeableConcept) {
 31 |         appendElement(category, to: \.category)
    |         `- error: cannot find 'appendElement' in scope
 32 |     }
 33 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:31:37: error: cannot infer key path type from context; consider explicitly specifying a root type
 29 |     @inlinable
 30 |     public func appendCategory(_ category: CodeableConcept) {
 31 |         appendElement(category, to: \.category)
    |                                     `- error: cannot infer key path type from context; consider explicitly specifying a root type
 32 |     }
 33 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:37:9: error: cannot find 'appendElements' in scope
 35 |     @inlinable
 36 |     public func appendCategories(_ categories: some Collection<CodeableConcept>) {
 37 |         appendElements(categories, to: \.category)
    |         `- error: cannot find 'appendElements' in scope
 38 |     }
 39 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:37:40: error: cannot infer key path type from context; consider explicitly specifying a root type
 35 |     @inlinable
 36 |     public func appendCategories(_ categories: some Collection<CodeableConcept>) {
 37 |         appendElements(categories, to: \.category)
    |                                        `- error: cannot infer key path type from context; consider explicitly specifying a root type
 38 |     }
 39 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:43:9: error: cannot find 'appendElement' in scope
 41 |     @inlinable
 42 |     public func appendCoding(_ coding: Coding) {
 43 |         appendElement(coding, to: \.code.coding)
    |         `- error: cannot find 'appendElement' in scope
 44 |     }
 45 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:43:35: error: cannot infer key path type from context; consider explicitly specifying a root type
 41 |     @inlinable
 42 |     public func appendCoding(_ coding: Coding) {
 43 |         appendElement(coding, to: \.code.coding)
    |                                   `- error: cannot infer key path type from context; consider explicitly specifying a root type
 44 |     }
 45 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:49:9: error: cannot find 'appendElements' in scope
 47 |     @inlinable
 48 |     public func appendCodings(_ codings: some Collection<Coding>) {
 49 |         appendElements(codings, to: \.code.coding)
    |         `- error: cannot find 'appendElements' in scope
 50 |     }
 51 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:49:37: error: cannot infer key path type from context; consider explicitly specifying a root type
 47 |     @inlinable
 48 |     public func appendCodings(_ codings: some Collection<Coding>) {
 49 |         appendElements(codings, to: \.code.coding)
    |                                     `- error: cannot infer key path type from context; consider explicitly specifying a root type
 50 |     }
 51 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:55:9: error: cannot find 'appendElement' in scope
 53 |     @inlinable
 54 |     public func appendComponent(_ component: ObservationComponent) {
 55 |         appendElement(component, to: \.component)
    |         `- error: cannot find 'appendElement' in scope
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:55:38: error: cannot infer key path type from context; consider explicitly specifying a root type
 53 |     @inlinable
 54 |     public func appendComponent(_ component: ObservationComponent) {
 55 |         appendElement(component, to: \.component)
    |                                      `- error: cannot infer key path type from context; consider explicitly specifying a root type
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:61:9: error: cannot find 'appendElements' in scope
 59 |     @inlinable
 60 |     public func appendComponents(_ components: some Collection<ObservationComponent>) {
 61 |         appendElements(components, to: \.component)
    |         `- error: cannot find 'appendElements' in scope
 62 |     }
 63 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Collections.swift:61:40: error: cannot infer key path type from context; consider explicitly specifying a root type
 59 |     @inlinable
 60 |     public func appendComponents(_ components: some Collection<ObservationComponent>) {
 61 |         appendElements(components, to: \.component)
    |                                        `- error: cannot infer key path type from context; consider explicitly specifying a root type
 62 |     }
 63 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Mutation.swift:19:20: error: no type named 'FHIRAbstractResource' in module 'ModelsR4'
17 | public protocol FHIRResourceMutationExtensions {}
18 |
19 | extension ModelsR4.FHIRAbstractResource: FHIRResourceMutationExtensions {}
   |                    `- error: no type named 'FHIRAbstractResource' in module 'ModelsR4'
20 | extension ModelsR4.Element: FHIRResourceMutationExtensions {}
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR Extensions/Resource+Mutation.swift:20:1: error: extension of protocol 'Element' cannot declare inheritance relationship
18 |
19 | extension ModelsR4.FHIRAbstractResource: FHIRResourceMutationExtensions {}
20 | extension ModelsR4.Element: FHIRResourceMutationExtensions {}
   | `- error: extension of protocol 'Element' cannot declare inheritance relationship
21 |
22 |
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/.build/out/Intermediates.noindex/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR\ Extensions/FHIR\ Extension\ Builder/FHIRExtensionBuilder+AbsoluteTimeRange.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR\ Extensions/FHIR\ Extension\ Builder/FHIRExtensionBuilder+Metadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR\ Extensions/FHIR\ Extension\ Builder/FHIRExtensionBuilder+Source.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR\ Extensions/FHIR\ Extension\ Builder/FHIRExtensionBuilder.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR\ Extensions/FHIR+Utils.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR\ Extensions/Observation+Dates.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR\ Extensions/Observation+Value.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR\ Extensions/Resource+Collections.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/FHIR\ Extensions/Resource+Mutation.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/Foundation\ Extensions/Bundle+JSON.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/Foundation\ Extensions/Utils.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HKSampleMapping/HKCategorySampleMapping.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HKSampleMapping/HKCorrelationMapping.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HKSampleMapping/HKElectrocardiogramMapping.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HKSampleMapping/HKQuantitySampleMapping.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HKSampleMapping/HKSampleMapping.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HKSampleMapping/HKStateOfMindSampleMapping.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HKSampleMapping/HKWorkoutSampleMapping.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HKSampleMapping/MappedCode.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/FHIRObservationBuildable.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKCategorySample+Observation.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKCategoryValue+String.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKClinicalRecord+ResourceProxy.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKCorrelationType+Observation.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKElectrocardiogram+Observation.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKQuantitySample+Observation.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKQuantityType+Coding.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKSample+ResourceProxy.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKSample+TimeZone.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKSampleType+ResourceType.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKStateOfMind+Observation.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKWorkout+Observation.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKit\ Extensions/HKWorkoutActivityType+String.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/HealthKitOnFHIR/Sources/HealthKitOnFHIR/HealthKitOnFHIRError.swift -target arm64-apple-macos14.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/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/Objects-normal/arm64/HealthKitOnFHIR-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\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -user-module-version 1.2.1 -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/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name HealthKitOnFHIR -package-name healthkitonfhir -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/Objects-normal/arm64/HealthKitOnFHIR_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/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/Objects-normal/arm64/HealthKitOnFHIR.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/Objects-normal/arm64/HealthKitOnFHIR.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/Objects-normal/arm64/HealthKitOnFHIR-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/Objects-normal/arm64/HealthKitOnFHIR-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/Objects-normal/arm64/HealthKitOnFHIR-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/Objects-normal/arm64/HealthKitOnFHIR.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthKitOnFHIR.build/Debug/HealthKitOnFHIR-t.build/Objects-normal/arm64/HealthKitOnFHIR.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm