Build Information
Failed to build FHIR, reference 4.2.1 (b68fb5
), with Swift 6.0 for Linux on 27 Nov 2024 10:37:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[108/217] Compiling Models FHIRCanonical.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[109/217] Compiling Models FHIRDecimal.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[110/217] Compiling Models FHIREnum.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[111/217] Compiling Models FHIRError.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[112/217] Compiling Models FHIRInteger.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[113/217] Compiling Models FHIRPrimitive.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[114/217] Compiling Models FHIRRequest.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[115/217] Compiling Models FHIRRequestHandler.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[116/217] Compiling Models FHIRServer.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[117/217] Compiling Models FHIRServerResponse.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[118/217] Compiling Models FHIRString.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[119/217] Compiling Models FHIRType.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[120/217] Compiling Models FHIRURL.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[121/217] Compiling Models FHIRValidationError.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[122/217] Compiling Models FamilyMemberHistory.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[123/217] Compiling Models Flag.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'summary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:188:20: warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
186 |
187 | /// Tolerate JSON validation errors when receiving a response, i.e. don't throw upon instantiation, use what's provided.
188 | public static let lenient = FHIRRequestOption(rawValue: 2)
| |- warning: static property 'lenient' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[124/217] Compiling Models 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 Claim.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[149/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[150/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[151/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[152/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[153/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[154/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[155/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[156/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[157/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[158/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[159/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[160/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[161/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[162/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[163/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[164/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[165/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[166/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[167/217] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[168/217] Compiling Models CoverageEligibilityRequest.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[169/217] Compiling Models CoverageEligibilityResponse.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[170/217] Compiling Models DataRequirement.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[171/217] Compiling Models DateAndTime.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:714:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
712 |
713 | /// The singleton instance
714 | static var shared = DateNSDateConverter()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 | let calendar: Calendar
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:808:13: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | /// The singleton instance
808 | static var shared = DateAndTimeParser()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:963:10: error: cannot find 'atEnd' in scope
961 | public var fhir_isAtEnd: Bool {
962 | #if os(Linux)
963 | return atEnd
| `- error: cannot find 'atEnd' in scope
964 | #else
965 | return isAtEnd
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:971:20: error: extraneous argument label 'string:' in call
969 | public func fhir_scanString(_ searchString: String) -> String? {
970 | #if os(Linux)
971 | return scanString(string: searchString)
| `- error: extraneous argument label 'string:' in call
972 | #else
973 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:983:10: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
981 | public func fhir_scanCharacters(from set: CharacterSet) -> String? {
982 | #if os(Linux)
983 | return scanCharactersFromSet(set)
| |- warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
984 | #else
985 | var str: NSString?
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:996:14: error: cannot find 'scanInteger' in scope
994 | var int = 0
995 | #if os(Linux)
996 | let flag = scanInteger(&int)
| `- error: cannot find 'scanInteger' in scope
997 | #else
998 | let flag = scanInt(&int)
[172/217] Compiling Models QuestionnaireResponse.swift
[173/217] Compiling Models Range.swift
[174/217] Compiling Models Ratio.swift
[175/217] Compiling Models Reference.swift
[176/217] Compiling Models RelatedArtifact.swift
[177/217] Compiling Models RelatedPerson.swift
[178/217] Compiling Models RequestGroup.swift
[179/217] Compiling Models ResearchDefinition.swift
[180/217] Compiling Models ResearchElementDefinition.swift
[181/217] Compiling Models ResearchStudy.swift
[182/217] Compiling Models ResearchSubject.swift
[183/217] Compiling Models Resource+Meta.swift
[184/217] Compiling Models Resource.swift
[185/217] Compiling Models RiskAssessment.swift
[186/217] Compiling Models RiskEvidenceSynthesis.swift
[187/217] Compiling Models SampledData.swift
[188/217] Compiling Models Schedule.swift
[189/217] Compiling Models SearchParameter.swift
[190/217] Compiling Models ServiceRequest.swift
[191/217] Compiling Models Signature.swift
[192/217] Compiling Models Slot.swift
[193/217] Compiling Models Specimen.swift
[194/217] Compiling Models SpecimenDefinition.swift
[195/217] Compiling Models StructureDefinition.swift
[196/217] Compiling Models StructureMap.swift
[197/217] Compiling Models Subscription.swift
[198/217] Compiling Models Substance.swift
[199/217] Compiling Models SubstanceAmount.swift
[200/217] Compiling Models SubstanceNucleicAcid.swift
[201/217] Compiling Models SubstancePolymer.swift
[202/217] Compiling Models SubstanceProtein.swift
[203/217] Compiling Models SubstanceReferenceInformation.swift
[204/217] Compiling Models SubstanceSourceMaterial.swift
[205/217] Compiling Models SubstanceSpecification.swift
[206/217] Compiling Models SupplyDelivery.swift
[207/217] Compiling Models SupplyRequest.swift
[208/217] Compiling Models Task.swift
[209/217] Compiling Models TerminologyCapabilities.swift
[210/217] Compiling Models TestReport.swift
[211/217] Compiling Models TestScript.swift
[212/217] Compiling Models Timing.swift
[213/217] Compiling Models TriggerDefinition.swift
[214/217] Compiling Models UsageContext.swift
[215/217] Compiling Models ValueSet.swift
[216/217] Compiling Models VerificationResult.swift
[217/217] Compiling Models VisionPrescription.swift
BUILD FAILURE 6.0 linux