The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build FHIR, reference master (b68fb5), with Swift 6.0 for Linux on 27 Nov 2024 10:38:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 809 |
 810 | 	/**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
 961 | 	public var fhir_isAtEnd: Bool {
 962 | 		#if os(Linux)
 963 | 		return atEnd
     |          `- error: cannot find 'atEnd' in scope
 964 | 		#else
 965 | 		return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
 969 | 	public func fhir_scanString(_ searchString: String) -> String? {
 970 | 		#if os(Linux)
 971 | 		return scanString(string: searchString)
     |                    `- error: extraneous argument label 'string:' in call
 972 | 		#else
 973 | 		var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
 981 | 	public func fhir_scanCharacters(from set: CharacterSet) -> String? {
 982 | 		#if os(Linux)
 983 | 		return scanCharactersFromSet(set)
     |          |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
     |          `- note: use 'scanCharacters(from:)' instead
 984 | 		#else
 985 | 		var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
 994 | 		var int = 0
 995 | 		#if os(Linux)
 996 | 		let flag = scanInteger(&int)
     |              `- error: cannot find 'scanInteger' in scope
 997 | 		#else
 998 | 		let flag = scanInt(&int)
[25/171] Compiling Models CoverageEligibilityRequest.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 712 |
 713 | 	/// The singleton instance
 714 | 	static var shared = DateNSDateConverter()
     |             |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 715 |
 716 | 	let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 806 |
 807 | 	/// The singleton instance
 808 | 	static var shared = DateAndTimeParser()
     |             |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 809 |
 810 | 	/**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
 961 | 	public var fhir_isAtEnd: Bool {
 962 | 		#if os(Linux)
 963 | 		return atEnd
     |          `- error: cannot find 'atEnd' in scope
 964 | 		#else
 965 | 		return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
 969 | 	public func fhir_scanString(_ searchString: String) -> String? {
 970 | 		#if os(Linux)
 971 | 		return scanString(string: searchString)
     |                    `- error: extraneous argument label 'string:' in call
 972 | 		#else
 973 | 		var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
 981 | 	public func fhir_scanCharacters(from set: CharacterSet) -> String? {
 982 | 		#if os(Linux)
 983 | 		return scanCharactersFromSet(set)
     |          |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
     |          `- note: use 'scanCharacters(from:)' instead
 984 | 		#else
 985 | 		var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
 994 | 		var int = 0
 995 | 		#if os(Linux)
 996 | 		let flag = scanInteger(&int)
     |              `- error: cannot find 'scanInteger' in scope
 997 | 		#else
 998 | 		let flag = scanInt(&int)
[26/171] Compiling Models CoverageEligibilityResponse.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 712 |
 713 | 	/// The singleton instance
 714 | 	static var shared = DateNSDateConverter()
     |             |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 715 |
 716 | 	let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 806 |
 807 | 	/// The singleton instance
 808 | 	static var shared = DateAndTimeParser()
     |             |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 809 |
 810 | 	/**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
 961 | 	public var fhir_isAtEnd: Bool {
 962 | 		#if os(Linux)
 963 | 		return atEnd
     |          `- error: cannot find 'atEnd' in scope
 964 | 		#else
 965 | 		return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
 969 | 	public func fhir_scanString(_ searchString: String) -> String? {
 970 | 		#if os(Linux)
 971 | 		return scanString(string: searchString)
     |                    `- error: extraneous argument label 'string:' in call
 972 | 		#else
 973 | 		var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
 981 | 	public func fhir_scanCharacters(from set: CharacterSet) -> String? {
 982 | 		#if os(Linux)
 983 | 		return scanCharactersFromSet(set)
     |          |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
     |          `- note: use 'scanCharacters(from:)' instead
 984 | 		#else
 985 | 		var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
 994 | 		var int = 0
 995 | 		#if os(Linux)
 996 | 		let flag = scanInteger(&int)
     |              `- error: cannot find 'scanInteger' in scope
 997 | 		#else
 998 | 		let flag = scanInt(&int)
[27/171] Compiling Models DataRequirement.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 712 |
 713 | 	/// The singleton instance
 714 | 	static var shared = DateNSDateConverter()
     |             |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 715 |
 716 | 	let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 806 |
 807 | 	/// The singleton instance
 808 | 	static var shared = DateAndTimeParser()
     |             |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 809 |
 810 | 	/**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
 961 | 	public var fhir_isAtEnd: Bool {
 962 | 		#if os(Linux)
 963 | 		return atEnd
     |          `- error: cannot find 'atEnd' in scope
 964 | 		#else
 965 | 		return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
 969 | 	public func fhir_scanString(_ searchString: String) -> String? {
 970 | 		#if os(Linux)
 971 | 		return scanString(string: searchString)
     |                    `- error: extraneous argument label 'string:' in call
 972 | 		#else
 973 | 		var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
 981 | 	public func fhir_scanCharacters(from set: CharacterSet) -> String? {
 982 | 		#if os(Linux)
 983 | 		return scanCharactersFromSet(set)
     |          |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
     |          `- note: use 'scanCharacters(from:)' instead
 984 | 		#else
 985 | 		var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
 994 | 		var int = 0
 995 | 		#if os(Linux)
 996 | 		let flag = scanInteger(&int)
     |              `- error: cannot find 'scanInteger' in scope
 997 | 		#else
 998 | 		let flag = scanInt(&int)
[28/171] Compiling Models DateAndTime.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 712 |
 713 | 	/// The singleton instance
 714 | 	static var shared = DateNSDateConverter()
     |             |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 715 |
 716 | 	let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 806 |
 807 | 	/// The singleton instance
 808 | 	static var shared = DateAndTimeParser()
     |             |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 809 |
 810 | 	/**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
 961 | 	public var fhir_isAtEnd: Bool {
 962 | 		#if os(Linux)
 963 | 		return atEnd
     |          `- error: cannot find 'atEnd' in scope
 964 | 		#else
 965 | 		return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
 969 | 	public func fhir_scanString(_ searchString: String) -> String? {
 970 | 		#if os(Linux)
 971 | 		return scanString(string: searchString)
     |                    `- error: extraneous argument label 'string:' in call
 972 | 		#else
 973 | 		var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
 981 | 	public func fhir_scanCharacters(from set: CharacterSet) -> String? {
 982 | 		#if os(Linux)
 983 | 		return scanCharactersFromSet(set)
     |          |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
     |          `- note: use 'scanCharacters(from:)' instead
 984 | 		#else
 985 | 		var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
 994 | 		var int = 0
 995 | 		#if os(Linux)
 996 | 		let flag = scanInteger(&int)
     |              `- error: cannot find 'scanInteger' in scope
 997 | 		#else
 998 | 		let flag = scanInt(&int)
[29/194] Compiling Models MedicationDispense.swift
[30/194] Compiling Models MedicationKnowledge.swift
[31/194] Compiling Models MedicationRequest.swift
[32/194] Compiling Models MedicationStatement.swift
[33/194] Compiling Models MedicinalProduct.swift
[34/194] Compiling Models MedicinalProductAuthorization.swift
[35/194] Compiling Models MedicinalProductContraindication.swift
[36/194] Compiling Models MedicinalProductIndication.swift
[37/194] Compiling Models MedicinalProductIngredient.swift
[38/194] Compiling Models MedicinalProductInteraction.swift
[39/194] Compiling Models MedicinalProductManufactured.swift
[40/194] Compiling Models MedicinalProductPackaged.swift
[41/194] Compiling Models MedicinalProductPharmaceutical.swift
[42/194] Compiling Models MedicinalProductUndesirableEffect.swift
[43/194] Compiling Models MessageDefinition.swift
[44/194] Compiling Models MessageHeader.swift
[45/194] Compiling Models Meta.swift
[46/194] Compiling Models MetadataResource.swift
[47/194] Compiling Models MolecularSequence.swift
[48/194] Compiling Models Money.swift
[49/194] Compiling Models NamingSystem.swift
[50/194] Compiling Models Narrative.swift
[51/194] Compiling Models NutritionOrder.swift
[52/217] Compiling Models Observation.swift
[53/217] Compiling Models ObservationDefinition.swift
[54/217] Compiling Models OperationDefinition.swift
[55/217] Compiling Models OperationOutcome.swift
[56/217] Compiling Models Organization.swift
[57/217] Compiling Models OrganizationAffiliation.swift
[58/217] Compiling Models ParameterDefinition.swift
[59/217] Compiling Models Parameters.swift
[60/217] Compiling Models Patient.swift
[61/217] Compiling Models PaymentNotice.swift
[62/217] Compiling Models PaymentReconciliation.swift
[63/217] Compiling Models Period.swift
[64/217] Compiling Models Person.swift
[65/217] Compiling Models PlanDefinition.swift
[66/217] Compiling Models Population.swift
[67/217] Compiling Models Practitioner.swift
[68/217] Compiling Models PractitionerRole.swift
[69/217] Compiling Models Procedure.swift
[70/217] Compiling Models ProdCharacteristic.swift
[71/217] Compiling Models ProductShelfLife.swift
[72/217] Compiling Models Provenance.swift
[73/217] Compiling Models Quantity.swift
[74/217] Compiling Models Questionnaire.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[75/217] Emitting module Models
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 712 |
 713 | 	/// The singleton instance
 714 | 	static var shared = DateNSDateConverter()
     |             |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 715 |
 716 | 	let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 806 |
 807 | 	/// The singleton instance
 808 | 	static var shared = DateAndTimeParser()
     |             |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 809 |
 810 | 	/**
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[76/217] Compiling Models Goal.swift
[77/217] Compiling Models GraphDefinition.swift
[78/217] Compiling Models Group.swift
[79/217] Compiling Models GuidanceResponse.swift
[80/217] Compiling Models HealthcareService.swift
[81/217] Compiling Models HumanName.swift
[82/217] Compiling Models Identifier.swift
[83/217] Compiling Models ImagingStudy.swift
[84/217] Compiling Models Immunization.swift
[85/217] Compiling Models ImmunizationEvaluation.swift
[86/217] Compiling Models ImmunizationRecommendation.swift
[87/217] Compiling Models ImplementationGuide.swift
[88/217] Compiling Models InsurancePlan.swift
[89/217] Compiling Models Invoice.swift
[90/217] Compiling Models Library.swift
[91/217] Compiling Models Linkage.swift
[92/217] Compiling Models List.swift
[93/217] Compiling Models Location.swift
[94/217] Compiling Models MarketingStatus.swift
[95/217] Compiling Models Measure.swift
[96/217] Compiling Models MeasureReport.swift
[97/217] Compiling Models Media.swift
[98/217] Compiling Models Medication.swift
[99/217] Compiling Models MedicationAdministration.swift
[100/217] Compiling Models ExampleScenario.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[101/217] Compiling Models ExplanationOfBenefit.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[102/217] Compiling Models Expression.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[103/217] Compiling Models Extension.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[104/217] Compiling Models FHIRAbstractBase+Factory.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[105/217] Compiling Models FHIRAbstractBase.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[106/217] Compiling Models FHIRAbstractResource.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[107/217] Compiling Models FHIRBool.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[108/217] Compiling Models FHIRCanonical.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[109/217] Compiling Models FHIRDecimal.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[110/217] Compiling Models FHIREnum.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[111/217] Compiling Models FHIRError.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[112/217] Compiling Models FHIRInteger.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[113/217] Compiling Models FHIRPrimitive.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[114/217] Compiling Models FHIRRequest.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[115/217] Compiling Models FHIRRequestHandler.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[116/217] Compiling Models FHIRServer.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[117/217] Compiling Models FHIRServerResponse.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[118/217] Compiling Models FHIRString.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[119/217] Compiling Models FHIRType.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[120/217] Compiling Models FHIRURL.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[121/217] Compiling Models FHIRValidationError.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[122/217] Compiling Models FamilyMemberHistory.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[123/217] Compiling Models Flag.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 31 | 	case requestNotSent(String)
 32 | 	case requestError(Int, String)
 33 | 	case noRequestHandlerAvailable(FHIRRequestMethod)
    |       `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
 34 | 	case noResponseReceived
 35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
 14 | */
 15 | public enum FHIRRequestMethod: String {
    |             `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
 16 | 	case GET = "GET"
 17 | 	case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
 24 | 	Prepare a given mutable URL request with the respective method and body values.
 25 | 	*/
 26 | 	public func prepare(request: inout URLRequest, body: Data? = nil) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 27 | 		request.httpMethod = rawValue
 28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
 79 | 	Prepare a given mutable URL request with the receiver's values.
 80 | 	*/
 81 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 82 | 		headers.forEach {
 83 | 			request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | 	Prepare a given mutable URL request with the receiver's parameters.
130 | 	*/
131 | 	public func prepare(request: inout URLRequest) {
    |                                     `- error: cannot find type 'URLRequest' in scope
132 | 		guard parameters.count > 0 else {
133 | 			return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
183 |
184 | 	/// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | 	public static let summary = FHIRRequestOption(rawValue: 1)
    |                    |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
    |               `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | 	public let rawValue: Int
178 |
    :
186 |
187 | 	/// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | 	public static let lenient = FHIRRequestOption(rawValue: 2)
    |                    |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | 	- parameter request: The request to decorate
58 | 	*/
59 | 	func prepare(request: inout URLRequest) throws
   |                              `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | 	- returns:            An appropriately configured `FHIRServerResponse` instance
71 | 	*/
72 | 	func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | 	/**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 13 | The type of the validation error.
 14 | */
 15 | public enum FHIRValidationErrorType: Int {
    |             `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
 16 |
 17 | 	/// The key is mandatory but missing.
    :
 38 |
 39 | 	/// The error type.
 40 | 	public var code: FHIRValidationErrorType
    |             `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
 41 |
 42 | 	/// The property key to which the error applies; may be empty for errors raised by primitives.
[124/217] Compiling Models Account.swift
[125/217] Compiling Models ActivityDefinition.swift
[126/217] Compiling Models Address.swift
[127/217] Compiling Models AdverseEvent.swift
[128/217] Compiling Models Age.swift
[129/217] Compiling Models AllergyIntolerance.swift
[130/217] Compiling Models Annotation.swift
[131/217] Compiling Models Appointment.swift
[132/217] Compiling Models AppointmentResponse.swift
[133/217] Compiling Models Attachment.swift
[134/217] Compiling Models AuditEvent.swift
[135/217] Compiling Models BackboneElement.swift
[136/217] Compiling Models Base64Binary.swift
[137/217] Compiling Models Basic.swift
[138/217] Compiling Models Binary.swift
[139/217] Compiling Models BiologicallyDerivedProduct.swift
[140/217] Compiling Models BodyStructure.swift
[141/217] Compiling Models Bundle.swift
[142/217] Compiling Models CapabilityStatement.swift
[143/217] Compiling Models CarePlan.swift
[144/217] Compiling Models CareTeam.swift
[145/217] Compiling Models CatalogEntry.swift
[146/217] Compiling Models ChargeItem.swift
[147/217] Compiling Models ChargeItemDefinition.swift
[148/217] Compiling Models DetectedIssue.swift
[149/217] Compiling Models Device.swift
[150/217] Compiling Models DeviceDefinition.swift
[151/217] Compiling Models DeviceMetric.swift
[152/217] Compiling Models DeviceRequest.swift
[153/217] Compiling Models DeviceUseStatement.swift
[154/217] Compiling Models DiagnosticReport.swift
[155/217] Compiling Models Distance.swift
[156/217] Compiling Models DocumentManifest.swift
[157/217] Compiling Models DocumentReference.swift
[158/217] Compiling Models DomainResource.swift
[159/217] Compiling Models Dosage.swift
[160/217] Compiling Models Duration.swift
[161/217] Compiling Models EffectEvidenceSynthesis.swift
[162/217] Compiling Models Element.swift
[163/217] Compiling Models ElementDefinition.swift
[164/217] Compiling Models Encounter.swift
[165/217] Compiling Models Endpoint.swift
[166/217] Compiling Models EnrollmentRequest.swift
[167/217] Compiling Models EnrollmentResponse.swift
[168/217] Compiling Models EpisodeOfCare.swift
[169/217] Compiling Models EventDefinition.swift
[170/217] Compiling Models Evidence.swift
[171/217] Compiling Models EvidenceVariable.swift
[172/217] Compiling Models QuestionnaireResponse.swift
[173/217] Compiling Models Range.swift
[174/217] Compiling Models Ratio.swift
[175/217] Compiling Models Reference.swift
[176/217] Compiling Models RelatedArtifact.swift
[177/217] Compiling Models RelatedPerson.swift
[178/217] Compiling Models RequestGroup.swift
[179/217] Compiling Models ResearchDefinition.swift
[180/217] Compiling Models ResearchElementDefinition.swift
[181/217] Compiling Models ResearchStudy.swift
[182/217] Compiling Models ResearchSubject.swift
[183/217] Compiling Models Resource+Meta.swift
[184/217] Compiling Models Resource.swift
[185/217] Compiling Models RiskAssessment.swift
[186/217] Compiling Models RiskEvidenceSynthesis.swift
[187/217] Compiling Models SampledData.swift
[188/217] Compiling Models Schedule.swift
[189/217] Compiling Models SearchParameter.swift
[190/217] Compiling Models ServiceRequest.swift
[191/217] Compiling Models Signature.swift
[192/217] Compiling Models Slot.swift
[193/217] Compiling Models Specimen.swift
[194/217] Compiling Models SpecimenDefinition.swift
[195/217] Compiling Models StructureDefinition.swift
[196/217] Compiling Models StructureMap.swift
[197/217] Compiling Models Subscription.swift
[198/217] Compiling Models Substance.swift
[199/217] Compiling Models SubstanceAmount.swift
[200/217] Compiling Models SubstanceNucleicAcid.swift
[201/217] Compiling Models SubstancePolymer.swift
[202/217] Compiling Models SubstanceProtein.swift
[203/217] Compiling Models SubstanceReferenceInformation.swift
[204/217] Compiling Models SubstanceSourceMaterial.swift
[205/217] Compiling Models SubstanceSpecification.swift
[206/217] Compiling Models SupplyDelivery.swift
[207/217] Compiling Models SupplyRequest.swift
[208/217] Compiling Models Task.swift
[209/217] Compiling Models TerminologyCapabilities.swift
[210/217] Compiling Models TestReport.swift
[211/217] Compiling Models TestScript.swift
[212/217] Compiling Models Timing.swift
[213/217] Compiling Models TriggerDefinition.swift
[214/217] Compiling Models UsageContext.swift
[215/217] Compiling Models ValueSet.swift
[216/217] Compiling Models VerificationResult.swift
[217/217] Compiling Models VisionPrescription.swift
BUILD FAILURE 6.0 linux