This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build FHIR with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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 2>&1

Build Log

 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.
[14/194] 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.
[15/194] 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.
[16/194] 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.
[17/194] 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.
[18/194] 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.
[19/194] 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.
[20/194] 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.
[21/194] 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.
[22/194] 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.
[23/194] 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.
[24/194] 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.
[25/194] 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.
[26/194] 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.
[27/194] 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.
[28/194] 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.
[29/194] 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.
[30/194] Compiling Models Claim.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[31/194] Compiling Models ClaimResponse.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[32/194] Compiling Models ClinicalImpression.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[33/194] Compiling Models CodeSystem.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[34/194] Compiling Models CodeSystems.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[35/194] Compiling Models CodeableConcept.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[36/194] Compiling Models Coding.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[37/194] Compiling Models Communication.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[38/194] Compiling Models CommunicationRequest.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[39/194] Compiling Models CompartmentDefinition.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[40/194] Compiling Models Composition.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[41/194] Compiling Models ConceptMap.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[42/194] Compiling Models Condition.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[43/194] Compiling Models Consent.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[44/194] Compiling Models ContactDetail.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[45/194] Compiling Models ContactPoint.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[46/194] Compiling Models Contract.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[47/194] Compiling Models Contributor.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[48/194] Compiling Models Count.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[49/194] Compiling Models Coverage.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[50/194] 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[51/194] 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[52/194] 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[53/194] 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
[54/217] Compiling Models Account.swift
[55/217] Compiling Models ActivityDefinition.swift
[56/217] Compiling Models Address.swift
[57/217] Compiling Models AdverseEvent.swift
[58/217] Compiling Models Age.swift
[59/217] Compiling Models AllergyIntolerance.swift
[60/217] Compiling Models Annotation.swift
[61/217] Compiling Models Appointment.swift
[62/217] Compiling Models AppointmentResponse.swift
[63/217] Compiling Models Attachment.swift
[64/217] Compiling Models AuditEvent.swift
[65/217] Compiling Models BackboneElement.swift
[66/217] Compiling Models Base64Binary.swift
[67/217] Compiling Models Basic.swift
[68/217] Compiling Models Binary.swift
[69/217] Compiling Models BiologicallyDerivedProduct.swift
[70/217] Compiling Models BodyStructure.swift
[71/217] Compiling Models Bundle.swift
[72/217] Compiling Models CapabilityStatement.swift
[73/217] Compiling Models CarePlan.swift
[74/217] Compiling Models CareTeam.swift
[75/217] Compiling Models CatalogEntry.swift
[76/217] Compiling Models ChargeItem.swift
[77/217] Compiling Models ChargeItemDefinition.swift
[78/217] Compiling Models MedicationDispense.swift
[79/217] Compiling Models MedicationKnowledge.swift
[80/217] Compiling Models MedicationRequest.swift
[81/217] Compiling Models MedicationStatement.swift
[82/217] Compiling Models MedicinalProduct.swift
[83/217] Compiling Models MedicinalProductAuthorization.swift
[84/217] Compiling Models MedicinalProductContraindication.swift
[85/217] Compiling Models MedicinalProductIndication.swift
[86/217] Compiling Models MedicinalProductIngredient.swift
[87/217] Compiling Models MedicinalProductInteraction.swift
[88/217] Compiling Models MedicinalProductManufactured.swift
[89/217] Compiling Models MedicinalProductPackaged.swift
[90/217] Compiling Models MedicinalProductPharmaceutical.swift
[91/217] Compiling Models MedicinalProductUndesirableEffect.swift
[92/217] Compiling Models MessageDefinition.swift
[93/217] Compiling Models MessageHeader.swift
[94/217] Compiling Models Meta.swift
[95/217] Compiling Models MetadataResource.swift
[96/217] Compiling Models MolecularSequence.swift
[97/217] Compiling Models Money.swift
[98/217] Compiling Models NamingSystem.swift
[99/217] Compiling Models Narrative.swift
[100/217] Compiling Models NutritionOrder.swift
[101/217] Compiling Models QuestionnaireResponse.swift
[102/217] Compiling Models Range.swift
[103/217] Compiling Models Ratio.swift
[104/217] Compiling Models Reference.swift
[105/217] Compiling Models RelatedArtifact.swift
[106/217] Compiling Models RelatedPerson.swift
[107/217] Compiling Models RequestGroup.swift
[108/217] Compiling Models ResearchDefinition.swift
[109/217] Compiling Models ResearchElementDefinition.swift
[110/217] Compiling Models ResearchStudy.swift
[111/217] Compiling Models ResearchSubject.swift
[112/217] Compiling Models Resource+Meta.swift
[113/217] Compiling Models Resource.swift
[114/217] Compiling Models RiskAssessment.swift
[115/217] Compiling Models RiskEvidenceSynthesis.swift
[116/217] Compiling Models SampledData.swift
[117/217] Compiling Models Schedule.swift
[118/217] Compiling Models SearchParameter.swift
[119/217] Compiling Models ServiceRequest.swift
[120/217] Compiling Models Signature.swift
[121/217] Compiling Models Slot.swift
[122/217] Compiling Models Specimen.swift
[123/217] Compiling Models SpecimenDefinition.swift
[124/217] Compiling Models DetectedIssue.swift
[125/217] Compiling Models Device.swift
[126/217] Compiling Models DeviceDefinition.swift
[127/217] Compiling Models DeviceMetric.swift
[128/217] Compiling Models DeviceRequest.swift
[129/217] Compiling Models DeviceUseStatement.swift
[130/217] Compiling Models DiagnosticReport.swift
[131/217] Compiling Models Distance.swift
[132/217] Compiling Models DocumentManifest.swift
[133/217] Compiling Models DocumentReference.swift
[134/217] Compiling Models DomainResource.swift
[135/217] Compiling Models Dosage.swift
[136/217] Compiling Models Duration.swift
[137/217] Compiling Models EffectEvidenceSynthesis.swift
[138/217] Compiling Models Element.swift
[139/217] Compiling Models ElementDefinition.swift
[140/217] Compiling Models Encounter.swift
[141/217] Compiling Models Endpoint.swift
[142/217] Compiling Models EnrollmentRequest.swift
[143/217] Compiling Models EnrollmentResponse.swift
[144/217] Compiling Models EpisodeOfCare.swift
[145/217] Compiling Models EventDefinition.swift
[146/217] Compiling Models Evidence.swift
[147/217] Compiling Models EvidenceVariable.swift
[148/217] Compiling Models Observation.swift
[149/217] Compiling Models ObservationDefinition.swift
[150/217] Compiling Models OperationDefinition.swift
[151/217] Compiling Models OperationOutcome.swift
[152/217] Compiling Models Organization.swift
[153/217] Compiling Models OrganizationAffiliation.swift
[154/217] Compiling Models ParameterDefinition.swift
[155/217] Compiling Models Parameters.swift
[156/217] Compiling Models Patient.swift
[157/217] Compiling Models PaymentNotice.swift
[158/217] Compiling Models PaymentReconciliation.swift
[159/217] Compiling Models Period.swift
[160/217] Compiling Models Person.swift
[161/217] Compiling Models PlanDefinition.swift
[162/217] Compiling Models Population.swift
[163/217] Compiling Models Practitioner.swift
[164/217] Compiling Models PractitionerRole.swift
[165/217] Compiling Models Procedure.swift
[166/217] Compiling Models ProdCharacteristic.swift
[167/217] Compiling Models ProductShelfLife.swift
[168/217] Compiling Models Provenance.swift
[169/217] Compiling Models Quantity.swift
[170/217] Compiling Models Questionnaire.swift
[171/217] Compiling Models Goal.swift
[172/217] Compiling Models GraphDefinition.swift
[173/217] Compiling Models Group.swift
[174/217] Compiling Models GuidanceResponse.swift
[175/217] Compiling Models HealthcareService.swift
[176/217] Compiling Models HumanName.swift
[177/217] Compiling Models Identifier.swift
[178/217] Compiling Models ImagingStudy.swift
[179/217] Compiling Models Immunization.swift
[180/217] Compiling Models ImmunizationEvaluation.swift
[181/217] Compiling Models ImmunizationRecommendation.swift
[182/217] Compiling Models ImplementationGuide.swift
[183/217] Compiling Models InsurancePlan.swift
[184/217] Compiling Models Invoice.swift
[185/217] Compiling Models Library.swift
[186/217] Compiling Models Linkage.swift
[187/217] Compiling Models List.swift
[188/217] Compiling Models Location.swift
[189/217] Compiling Models MarketingStatus.swift
[190/217] Compiling Models Measure.swift
[191/217] Compiling Models MeasureReport.swift
[192/217] Compiling Models Media.swift
[193/217] Compiling Models Medication.swift
[194/217] Compiling Models MedicationAdministration.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
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.