Build Information
Failed to build FHIR, reference 4.2.1 (b68fb5
), with Swift 6.1 for Android on 27 May 2025 17:21:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
| `- 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: add '@MainActor' to make static property 'summary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'lenient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[29/194] Compiling Models Flag.swift
/host/spi-builder-workspace/Sources/Models/FHIRError.swift:33:7: warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
31 | case requestNotSent(String)
32 | case requestError(Int, String)
33 | case noRequestHandlerAvailable(FHIRRequestMethod)
| `- warning: associated value 'noRequestHandlerAvailable' of 'Sendable'-conforming enum 'FHIRError' has non-sendable type 'FHIRRequestMethod'; this is an error in the Swift 6 language mode
34 | case noResponseReceived
35 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:15:13: note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
13 | Struct to describe REST request types, with a convenience method to make a request FHIR compliant.
14 | */
15 | public enum FHIRRequestMethod: String {
| `- note: consider making enum 'FHIRRequestMethod' conform to the 'Sendable' protocol
16 | case GET = "GET"
17 | case PUT = "PUT"
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:26:37: error: cannot find type 'URLRequest' in scope
24 | Prepare a given mutable URL request with the respective method and body values.
25 | */
26 | public func prepare(request: inout URLRequest, body: Data? = nil) {
| `- error: cannot find type 'URLRequest' in scope
27 | request.httpMethod = rawValue
28 |
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:81:37: error: cannot find type 'URLRequest' in scope
79 | Prepare a given mutable URL request with the receiver's values.
80 | */
81 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
82 | headers.forEach {
83 | request.setValue($1, forHTTPHeaderField: $0.rawValue)
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:131:37: error: cannot find type 'URLRequest' in scope
129 | Prepare a given mutable URL request with the receiver's parameters.
130 | */
131 | public func prepare(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
132 | guard parameters.count > 0 else {
133 | return
/host/spi-builder-workspace/Sources/Models/FHIRRequest.swift:185:20: warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
174 | Options to pass along to request handlers.
175 | */
176 | public struct FHIRRequestOption: OptionSet {
| `- note: consider making struct 'FHIRRequestOption' conform to the 'Sendable' protocol
177 | public let rawValue: Int
178 |
:
183 |
184 | /// Add a `_summary=true` parameter to only receive a summary of the resource.
185 | public static let summary = FHIRRequestOption(rawValue: 1)
| |- warning: static property 'summary' is not concurrency-safe because non-'Sendable' type 'FHIRRequestOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'summary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'lenient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:59:30: error: cannot find type 'URLRequest' in scope
57 | - parameter request: The request to decorate
58 | */
59 | func prepare(request: inout URLRequest) throws
| `- error: cannot find type 'URLRequest' in scope
60 |
61 |
/host/spi-builder-workspace/Sources/Models/FHIRRequestHandler.swift:72:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | - returns: An appropriately configured `FHIRServerResponse` instance
71 | */
72 | func response(response: URLResponse?, data: Data?, error: Error?) -> FHIRServerResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | /**
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Models/FHIRValidationError.swift:40:13: warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
13 | The type of the validation error.
14 | */
15 | public enum FHIRValidationErrorType: Int {
| `- note: consider making enum 'FHIRValidationErrorType' conform to the 'Sendable' protocol
16 |
17 | /// The key is mandatory but missing.
:
38 |
39 | /// The error type.
40 | public var code: FHIRValidationErrorType
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'FHIRValidationError' has non-sendable type 'FHIRValidationErrorType'; this is an error in the Swift 6 language mode
41 |
42 | /// The property key to which the error applies; may be empty for errors raised by primitives.
[30/217] Compiling Models QuestionnaireResponse.swift
[31/217] Compiling Models Range.swift
[32/217] Compiling Models Ratio.swift
[33/217] Compiling Models Reference.swift
[34/217] Compiling Models RelatedArtifact.swift
[35/217] Compiling Models RelatedPerson.swift
[36/217] Compiling Models RequestGroup.swift
[37/217] Compiling Models ResearchDefinition.swift
[38/217] Compiling Models ResearchElementDefinition.swift
[39/217] Compiling Models ResearchStudy.swift
[40/217] Compiling Models ResearchSubject.swift
[41/217] Compiling Models Resource+Meta.swift
[42/217] Compiling Models Resource.swift
[43/217] Compiling Models RiskAssessment.swift
[44/217] Compiling Models RiskEvidenceSynthesis.swift
[45/217] Compiling Models SampledData.swift
[46/217] Compiling Models Schedule.swift
[47/217] Compiling Models SearchParameter.swift
[48/217] Compiling Models ServiceRequest.swift
[49/217] Compiling Models Signature.swift
[50/217] Compiling Models Slot.swift
[51/217] Compiling Models Specimen.swift
[52/217] Compiling Models SpecimenDefinition.swift
[53/217] Compiling Models Goal.swift
[54/217] Compiling Models GraphDefinition.swift
[55/217] Compiling Models Group.swift
[56/217] Compiling Models GuidanceResponse.swift
[57/217] Compiling Models HealthcareService.swift
[58/217] Compiling Models HumanName.swift
[59/217] Compiling Models Identifier.swift
[60/217] Compiling Models ImagingStudy.swift
[61/217] Compiling Models Immunization.swift
[62/217] Compiling Models ImmunizationEvaluation.swift
[63/217] Compiling Models ImmunizationRecommendation.swift
[64/217] Compiling Models ImplementationGuide.swift
[65/217] Compiling Models InsurancePlan.swift
[66/217] Compiling Models Invoice.swift
[67/217] Compiling Models Library.swift
[68/217] Compiling Models Linkage.swift
[69/217] Compiling Models List.swift
[70/217] Compiling Models Location.swift
[71/217] Compiling Models MarketingStatus.swift
[72/217] Compiling Models Measure.swift
[73/217] Compiling Models MeasureReport.swift
[74/217] Compiling Models Media.swift
[75/217] Compiling Models Medication.swift
[76/217] Compiling Models MedicationAdministration.swift
[77/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[78/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[79/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[80/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[81/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[82/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[83/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[84/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[85/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[86/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[87/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[88/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[89/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[90/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[91/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[92/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[93/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[94/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[95/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[96/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[97/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[98/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[99/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[100/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
809 |
810 | /**
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[101/217] Compiling Models Account.swift
[102/217] Compiling Models ActivityDefinition.swift
[103/217] Compiling Models Address.swift
[104/217] Compiling Models AdverseEvent.swift
[105/217] Compiling Models Age.swift
[106/217] Compiling Models AllergyIntolerance.swift
[107/217] Compiling Models Annotation.swift
[108/217] Compiling Models Appointment.swift
[109/217] Compiling Models AppointmentResponse.swift
[110/217] Compiling Models Attachment.swift
[111/217] Compiling Models AuditEvent.swift
[112/217] Compiling Models BackboneElement.swift
[113/217] Compiling Models Base64Binary.swift
[114/217] Compiling Models Basic.swift
[115/217] Compiling Models Binary.swift
[116/217] Compiling Models BiologicallyDerivedProduct.swift
[117/217] Compiling Models BodyStructure.swift
[118/217] Compiling Models Bundle.swift
[119/217] Compiling Models CapabilityStatement.swift
[120/217] Compiling Models CarePlan.swift
[121/217] Compiling Models CareTeam.swift
[122/217] Compiling Models CatalogEntry.swift
[123/217] Compiling Models ChargeItem.swift
[124/217] Compiling Models ChargeItemDefinition.swift
[125/217] Compiling Models Observation.swift
[126/217] Compiling Models ObservationDefinition.swift
[127/217] Compiling Models OperationDefinition.swift
[128/217] Compiling Models OperationOutcome.swift
[129/217] Compiling Models Organization.swift
[130/217] Compiling Models OrganizationAffiliation.swift
[131/217] Compiling Models ParameterDefinition.swift
[132/217] Compiling Models Parameters.swift
[133/217] Compiling Models Patient.swift
[134/217] Compiling Models PaymentNotice.swift
[135/217] Compiling Models PaymentReconciliation.swift
[136/217] Compiling Models Period.swift
[137/217] Compiling Models Person.swift
[138/217] Compiling Models PlanDefinition.swift
[139/217] Compiling Models Population.swift
[140/217] Compiling Models Practitioner.swift
[141/217] Compiling Models PractitionerRole.swift
[142/217] Compiling Models Procedure.swift
[143/217] Compiling Models ProdCharacteristic.swift
[144/217] Compiling Models ProductShelfLife.swift
[145/217] Compiling Models Provenance.swift
[146/217] Compiling Models Quantity.swift
[147/217] Compiling Models Questionnaire.swift
[148/217] Compiling Models MedicationDispense.swift
[149/217] Compiling Models MedicationKnowledge.swift
[150/217] Compiling Models MedicationRequest.swift
[151/217] Compiling Models MedicationStatement.swift
[152/217] Compiling Models MedicinalProduct.swift
[153/217] Compiling Models MedicinalProductAuthorization.swift
[154/217] Compiling Models MedicinalProductContraindication.swift
[155/217] Compiling Models MedicinalProductIndication.swift
[156/217] Compiling Models MedicinalProductIngredient.swift
[157/217] Compiling Models MedicinalProductInteraction.swift
[158/217] Compiling Models MedicinalProductManufactured.swift
[159/217] Compiling Models MedicinalProductPackaged.swift
[160/217] Compiling Models MedicinalProductPharmaceutical.swift
[161/217] Compiling Models MedicinalProductUndesirableEffect.swift
[162/217] Compiling Models MessageDefinition.swift
[163/217] Compiling Models MessageHeader.swift
[164/217] Compiling Models Meta.swift
[165/217] Compiling Models MetadataResource.swift
[166/217] Compiling Models MolecularSequence.swift
[167/217] Compiling Models Money.swift
[168/217] Compiling Models NamingSystem.swift
[169/217] Compiling Models Narrative.swift
[170/217] Compiling Models NutritionOrder.swift
[171/217] Compiling Models DetectedIssue.swift
[172/217] Compiling Models Device.swift
[173/217] Compiling Models DeviceDefinition.swift
[174/217] Compiling Models DeviceMetric.swift
[175/217] Compiling Models DeviceRequest.swift
[176/217] Compiling Models DeviceUseStatement.swift
[177/217] Compiling Models DiagnosticReport.swift
[178/217] Compiling Models Distance.swift
[179/217] Compiling Models DocumentManifest.swift
[180/217] Compiling Models DocumentReference.swift
[181/217] Compiling Models DomainResource.swift
[182/217] Compiling Models Dosage.swift
[183/217] Compiling Models Duration.swift
[184/217] Compiling Models EffectEvidenceSynthesis.swift
[185/217] Compiling Models Element.swift
[186/217] Compiling Models ElementDefinition.swift
[187/217] Compiling Models Encounter.swift
[188/217] Compiling Models Endpoint.swift
[189/217] Compiling Models EnrollmentRequest.swift
[190/217] Compiling Models EnrollmentResponse.swift
[191/217] Compiling Models EpisodeOfCare.swift
[192/217] Compiling Models EventDefinition.swift
[193/217] Compiling Models Evidence.swift
[194/217] Compiling Models EvidenceVariable.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/168] Emitting module Models
/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/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
[3/168] Compiling Models Claim.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[4/168] Compiling Models ClaimResponse.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[5/168] Compiling Models ClinicalImpression.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[6/168] Compiling Models CodeSystem.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[7/168] Compiling Models CodeSystems.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[8/168] Compiling Models CodeableConcept.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[9/168] Compiling Models Coding.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[10/168] Compiling Models Communication.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[11/168] Compiling Models CommunicationRequest.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[12/168] Compiling Models CompartmentDefinition.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[13/168] Compiling Models Composition.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[14/168] Compiling Models ConceptMap.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[15/168] Compiling Models Condition.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[16/168] Compiling Models Consent.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[17/168] Compiling Models ContactDetail.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[18/168] Compiling Models ContactPoint.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[19/168] Compiling Models Contract.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[20/168] Compiling Models Contributor.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[21/168] Compiling Models Count.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[22/168] Compiling Models Coverage.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[23/168] Compiling Models CoverageEligibilityRequest.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[24/168] Compiling Models CoverageEligibilityResponse.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[25/168] Compiling Models DataRequirement.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[26/168] Compiling Models DateAndTime.swift
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:974:37: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
972 | #else
973 | var str: NSString?
974 | if scanString(searchString, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
975 | return str as String?
976 | }
/host/spi-builder-workspace/Sources/Models/DateAndTime.swift:986:38: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
984 | #else
985 | var str: NSString?
986 | if scanCharacters(from: set, into: &str) {
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
987 | return str as String?
988 | }
[27/214] Compiling Models Account.swift
[28/214] Compiling Models ActivityDefinition.swift
[29/214] Compiling Models Address.swift
[30/214] Compiling Models AdverseEvent.swift
[31/214] Compiling Models Age.swift
[32/214] Compiling Models AllergyIntolerance.swift
[33/214] Compiling Models Annotation.swift
[34/214] Compiling Models Appointment.swift
[35/214] Compiling Models AppointmentResponse.swift
[36/214] Compiling Models Attachment.swift
[37/214] Compiling Models AuditEvent.swift
[38/214] Compiling Models BackboneElement.swift
[39/214] Compiling Models Base64Binary.swift
[40/214] Compiling Models Basic.swift
[41/214] Compiling Models Binary.swift
[42/214] Compiling Models BiologicallyDerivedProduct.swift
[43/214] Compiling Models BodyStructure.swift
[44/214] Compiling Models Bundle.swift
[45/214] Compiling Models CapabilityStatement.swift
[46/214] Compiling Models CarePlan.swift
[47/214] Compiling Models CareTeam.swift
[48/214] Compiling Models CatalogEntry.swift
[49/214] Compiling Models ChargeItem.swift
[50/214] Compiling Models ChargeItemDefinition.swift
[51/214] Compiling Models MedicationDispense.swift
[52/214] Compiling Models MedicationKnowledge.swift
[53/214] Compiling Models MedicationRequest.swift
[54/214] Compiling Models MedicationStatement.swift
[55/214] Compiling Models MedicinalProduct.swift
[56/214] Compiling Models MedicinalProductAuthorization.swift
[57/214] Compiling Models MedicinalProductContraindication.swift
[58/214] Compiling Models MedicinalProductIndication.swift
[59/214] Compiling Models MedicinalProductIngredient.swift
[60/214] Compiling Models MedicinalProductInteraction.swift
[61/214] Compiling Models MedicinalProductManufactured.swift
[62/214] Compiling Models MedicinalProductPackaged.swift
[63/214] Compiling Models MedicinalProductPharmaceutical.swift
[64/214] Compiling Models MedicinalProductUndesirableEffect.swift
[65/214] Compiling Models MessageDefinition.swift
[66/214] Compiling Models MessageHeader.swift
[67/214] Compiling Models Meta.swift
[68/214] Compiling Models MetadataResource.swift
[69/214] Compiling Models MolecularSequence.swift
[70/214] Compiling Models Money.swift
[71/214] Compiling Models NamingSystem.swift
[72/214] Compiling Models Narrative.swift
[73/214] Compiling Models NutritionOrder.swift
[74/214] Compiling Models QuestionnaireResponse.swift
[75/214] Compiling Models Range.swift
[76/214] Compiling Models Ratio.swift
[77/214] Compiling Models Reference.swift
[78/214] Compiling Models RelatedArtifact.swift
[79/214] Compiling Models RelatedPerson.swift
[80/214] Compiling Models RequestGroup.swift
[81/214] Compiling Models ResearchDefinition.swift
[82/214] Compiling Models ResearchElementDefinition.swift
[83/214] Compiling Models ResearchStudy.swift
[84/214] Compiling Models ResearchSubject.swift
[85/214] Compiling Models Resource+Meta.swift
[86/214] Compiling Models Resource.swift
[87/214] Compiling Models RiskAssessment.swift
[88/214] Compiling Models RiskEvidenceSynthesis.swift
[89/214] Compiling Models SampledData.swift
[90/214] Compiling Models Schedule.swift
[91/214] Compiling Models SearchParameter.swift
[92/214] Compiling Models ServiceRequest.swift
[93/214] Compiling Models Signature.swift
[94/214] Compiling Models Slot.swift
[95/214] Compiling Models Specimen.swift
[96/214] Compiling Models SpecimenDefinition.swift
[97/214] Compiling Models Observation.swift
[98/214] Compiling Models ObservationDefinition.swift
[99/214] Compiling Models OperationDefinition.swift
[100/214] Compiling Models OperationOutcome.swift
[101/214] Compiling Models Organization.swift
[102/214] Compiling Models OrganizationAffiliation.swift
[103/214] Compiling Models ParameterDefinition.swift
[104/214] Compiling Models Parameters.swift
[105/214] Compiling Models Patient.swift
[106/214] Compiling Models PaymentNotice.swift
[107/214] Compiling Models PaymentReconciliation.swift
[108/214] Compiling Models Period.swift
[109/214] Compiling Models Person.swift
[110/214] Compiling Models PlanDefinition.swift
[111/214] Compiling Models Population.swift
[112/214] Compiling Models Practitioner.swift
[113/214] Compiling Models PractitionerRole.swift
[114/214] Compiling Models Procedure.swift
[115/214] Compiling Models ProdCharacteristic.swift
[116/214] Compiling Models ProductShelfLife.swift
[117/214] Compiling Models Provenance.swift
[118/214] Compiling Models Quantity.swift
[119/214] Compiling Models Questionnaire.swift
[120/214] Compiling Models ExampleScenario.swift
/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/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
[121/214] Compiling Models ExplanationOfBenefit.swift
/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/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
[122/214] Compiling Models Expression.swift
/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/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
[123/214] Compiling Models Extension.swift
/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/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
[124/214] Compiling Models FHIRAbstractBase+Factory.swift
/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/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
[125/214] Compiling Models FHIRAbstractBase.swift
/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/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
[126/214] Compiling Models FHIRAbstractResource.swift
/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/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
[127/214] Compiling Models FHIRBool.swift
/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/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
[128/214] Compiling Models FHIRCanonical.swift
/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/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
[129/214] Compiling Models FHIRDecimal.swift
/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/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
[130/214] Compiling Models FHIREnum.swift
/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/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
[131/214] Compiling Models FHIRError.swift
/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/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
[132/214] Compiling Models FHIRInteger.swift
/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/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
[133/214] Compiling Models FHIRPrimitive.swift
/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/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
[134/214] Compiling Models FHIRRequest.swift
/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/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
[135/214] Compiling Models FHIRRequestHandler.swift
/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/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
[136/214] Compiling Models FHIRServer.swift
/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/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
[137/214] Compiling Models FHIRServerResponse.swift
/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/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
[138/214] Compiling Models FHIRString.swift
/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/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
[139/214] Compiling Models FHIRType.swift
/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/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
[140/214] Compiling Models FHIRURL.swift
/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/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
[141/214] Compiling Models FHIRValidationError.swift
/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/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
[142/214] Compiling Models FamilyMemberHistory.swift
/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/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
[143/214] Compiling Models Flag.swift
/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/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
[144/214] Compiling Models Goal.swift
[145/214] Compiling Models GraphDefinition.swift
[146/214] Compiling Models Group.swift
[147/214] Compiling Models GuidanceResponse.swift
[148/214] Compiling Models HealthcareService.swift
[149/214] Compiling Models HumanName.swift
[150/214] Compiling Models Identifier.swift
[151/214] Compiling Models ImagingStudy.swift
[152/214] Compiling Models Immunization.swift
[153/214] Compiling Models ImmunizationEvaluation.swift
[154/214] Compiling Models ImmunizationRecommendation.swift
[155/214] Compiling Models ImplementationGuide.swift
[156/214] Compiling Models InsurancePlan.swift
[157/214] Compiling Models Invoice.swift
[158/214] Compiling Models Library.swift
[159/214] Compiling Models Linkage.swift
[160/214] Compiling Models List.swift
[161/214] Compiling Models Location.swift
[162/214] Compiling Models MarketingStatus.swift
[163/214] Compiling Models Measure.swift
[164/214] Compiling Models MeasureReport.swift
[165/214] Compiling Models Media.swift
[166/214] Compiling Models Medication.swift
[167/214] Compiling Models MedicationAdministration.swift
[168/214] Compiling Models DetectedIssue.swift
[169/214] Compiling Models Device.swift
[170/214] Compiling Models DeviceDefinition.swift
[171/214] Compiling Models DeviceMetric.swift
[172/214] Compiling Models DeviceRequest.swift
[173/214] Compiling Models DeviceUseStatement.swift
[174/214] Compiling Models DiagnosticReport.swift
[175/214] Compiling Models Distance.swift
[176/214] Compiling Models DocumentManifest.swift
[177/214] Compiling Models DocumentReference.swift
[178/214] Compiling Models DomainResource.swift
[179/214] Compiling Models Dosage.swift
[180/214] Compiling Models Duration.swift
[181/214] Compiling Models EffectEvidenceSynthesis.swift
[182/214] Compiling Models Element.swift
[183/214] Compiling Models ElementDefinition.swift
[184/214] Compiling Models Encounter.swift
[185/214] Compiling Models Endpoint.swift
[186/214] Compiling Models EnrollmentRequest.swift
[187/214] Compiling Models EnrollmentResponse.swift
[188/214] Compiling Models EpisodeOfCare.swift
[189/214] Compiling Models EventDefinition.swift
[190/214] Compiling Models Evidence.swift
[191/214] Compiling Models EvidenceVariable.swift
[192/214] Compiling Models StructureDefinition.swift
[193/214] Compiling Models StructureMap.swift
[194/214] Compiling Models Subscription.swift
[195/214] Compiling Models Substance.swift
[196/214] Compiling Models SubstanceAmount.swift
[197/214] Compiling Models SubstanceNucleicAcid.swift
[198/214] Compiling Models SubstancePolymer.swift
[199/214] Compiling Models SubstanceProtein.swift
[200/214] Compiling Models SubstanceReferenceInformation.swift
[201/214] Compiling Models SubstanceSourceMaterial.swift
[202/214] Compiling Models SubstanceSpecification.swift
[203/214] Compiling Models SupplyDelivery.swift
[204/214] Compiling Models SupplyRequest.swift
[205/214] Compiling Models Task.swift
[206/214] Compiling Models TerminologyCapabilities.swift
[207/214] Compiling Models TestReport.swift
[208/214] Compiling Models TestScript.swift
[209/214] Compiling Models Timing.swift
[210/214] Compiling Models TriggerDefinition.swift
[211/214] Compiling Models UsageContext.swift
[212/214] Compiling Models ValueSet.swift
[213/214] Compiling Models VerificationResult.swift
[214/214] Compiling Models VisionPrescription.swift
BUILD FAILURE 6.1 android