Build Information
Failed to build HealthKitToFhir, reference master (3193ec
), with Swift 6.1 for Wasm on 27 May 2025 22:54:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
| `- 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
[13/195] Compiling Models FHIRAbstractResource.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[14/195] Compiling Models FHIRBool.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[15/195] Compiling Models FHIRCanonical.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[16/195] Compiling Models FHIRDecimal.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[17/195] Compiling Models FHIREnum.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[18/195] Compiling Models FHIRError.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[19/195] Compiling Models FHIRInteger.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[20/195] Compiling Models FHIRPrimitive.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[21/195] Compiling Models FHIRRequest.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[22/195] Compiling Models FHIRRequestHandler.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[23/195] Compiling Models FHIRServer.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[24/195] Compiling Models FHIRServerResponse.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[25/195] Compiling Models FHIRString.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[26/195] Compiling Models FHIRType.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[27/195] Compiling Models FHIRURL.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[28/195] Compiling Models FHIRValidationError.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[29/195] Compiling Models FamilyMemberHistory.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[30/195] Compiling Models Flag.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[31/218] Compiling Models Account.swift
[32/218] Compiling Models ActivityDefinition.swift
[33/218] Compiling Models Address.swift
[34/218] Compiling Models AdverseEvent.swift
[35/218] Compiling Models Age.swift
[36/218] Compiling Models AllergyIntolerance.swift
[37/218] Compiling Models Annotation.swift
[38/218] Compiling Models Appointment.swift
[39/218] Compiling Models AppointmentResponse.swift
[40/218] Compiling Models Attachment.swift
[41/218] Compiling Models AuditEvent.swift
[42/218] Compiling Models BackboneElement.swift
[43/218] Compiling Models Base64Binary.swift
[44/218] Compiling Models Basic.swift
[45/218] Compiling Models Binary.swift
[46/218] Compiling Models BiologicallyDerivedProduct.swift
[47/218] Compiling Models BodyStructure.swift
[48/218] Compiling Models Bundle.swift
[49/218] Compiling Models CapabilityStatement.swift
[50/218] Compiling Models CarePlan.swift
[51/218] Compiling Models CareTeam.swift
[52/218] Compiling Models CatalogEntry.swift
[53/218] Compiling Models ChargeItem.swift
[54/218] Compiling Models ChargeItemDefinition.swift
[55/218] Compiling Models QuestionnaireResponse.swift
[56/218] Compiling Models Range.swift
[57/218] Compiling Models Ratio.swift
[58/218] Compiling Models Reference.swift
[59/218] Compiling Models RelatedArtifact.swift
[60/218] Compiling Models RelatedPerson.swift
[61/218] Compiling Models RequestGroup.swift
[62/218] Compiling Models ResearchDefinition.swift
[63/218] Compiling Models ResearchElementDefinition.swift
[64/218] Compiling Models ResearchStudy.swift
[65/218] Compiling Models ResearchSubject.swift
[66/218] Compiling Models Resource+Meta.swift
[67/218] Compiling Models Resource.swift
[68/218] Compiling Models RiskAssessment.swift
[69/218] Compiling Models RiskEvidenceSynthesis.swift
[70/218] Compiling Models SampledData.swift
[71/218] Compiling Models Schedule.swift
[72/218] Compiling Models SearchParameter.swift
[73/218] Compiling Models ServiceRequest.swift
[74/218] Compiling Models Signature.swift
[75/218] Compiling Models Slot.swift
[76/218] Compiling Models Specimen.swift
[77/218] Compiling Models SpecimenDefinition.swift
[78/218] Compiling Models Goal.swift
[79/218] Compiling Models GraphDefinition.swift
[80/218] Compiling Models Group.swift
[81/218] Compiling Models GuidanceResponse.swift
[82/218] Compiling Models HealthcareService.swift
[83/218] Compiling Models HumanName.swift
[84/218] Compiling Models Identifier.swift
[85/218] Compiling Models ImagingStudy.swift
[86/218] Compiling Models Immunization.swift
[87/218] Compiling Models ImmunizationEvaluation.swift
[88/218] Compiling Models ImmunizationRecommendation.swift
[89/218] Compiling Models ImplementationGuide.swift
[90/218] Compiling Models InsurancePlan.swift
[91/218] Compiling Models Invoice.swift
[92/218] Compiling Models Library.swift
[93/218] Compiling Models Linkage.swift
[94/218] Compiling Models List.swift
[95/218] Compiling Models Location.swift
[96/218] Compiling Models MarketingStatus.swift
[97/218] Compiling Models Measure.swift
[98/218] Compiling Models MeasureReport.swift
[99/218] Compiling Models Media.swift
[100/218] Compiling Models Medication.swift
[101/218] Compiling Models MedicationAdministration.swift
[102/218] Compiling Models Observation.swift
[103/218] Compiling Models ObservationDefinition.swift
[104/218] Compiling Models OperationDefinition.swift
[105/218] Compiling Models OperationOutcome.swift
[106/218] Compiling Models Organization.swift
[107/218] Compiling Models OrganizationAffiliation.swift
[108/218] Compiling Models ParameterDefinition.swift
[109/218] Compiling Models Parameters.swift
[110/218] Compiling Models Patient.swift
[111/218] Compiling Models PaymentNotice.swift
[112/218] Compiling Models PaymentReconciliation.swift
[113/218] Compiling Models Period.swift
[114/218] Compiling Models Person.swift
[115/218] Compiling Models PlanDefinition.swift
[116/218] Compiling Models Population.swift
[117/218] Compiling Models Practitioner.swift
[118/218] Compiling Models PractitionerRole.swift
[119/218] Compiling Models Procedure.swift
[120/218] Compiling Models ProdCharacteristic.swift
[121/218] Compiling Models ProductShelfLife.swift
[122/218] Compiling Models Provenance.swift
[123/218] Compiling Models Quantity.swift
[124/218] Compiling Models Questionnaire.swift
[125/218] Compiling Models Claim.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[126/218] Compiling Models ClaimResponse.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[127/218] Compiling Models ClinicalImpression.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[128/218] Compiling Models CodeSystem.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[129/218] Compiling Models CodeSystems.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[130/218] Compiling Models CodeableConcept.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[131/218] Compiling Models Coding.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[132/218] Compiling Models Communication.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[133/218] Compiling Models CommunicationRequest.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[134/218] Compiling Models CompartmentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[135/218] Compiling Models Composition.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[136/218] Compiling Models ConceptMap.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[137/218] Compiling Models Condition.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[138/218] Compiling Models Consent.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[139/218] Compiling Models ContactDetail.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[140/218] Compiling Models ContactPoint.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[141/218] Compiling Models Contract.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[142/218] Compiling Models Contributor.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[143/218] Compiling Models Count.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[144/218] Compiling Models Coverage.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[145/218] Compiling Models CoverageEligibilityRequest.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[146/218] Compiling Models CoverageEligibilityResponse.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[147/218] Compiling Models DataRequirement.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[148/218] Compiling Models DateAndTime.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[149/218] Compiling Models MedicationDispense.swift
[150/218] Compiling Models MedicationKnowledge.swift
[151/218] Compiling Models MedicationRequest.swift
[152/218] Compiling Models MedicationStatement.swift
[153/218] Compiling Models MedicinalProduct.swift
[154/218] Compiling Models MedicinalProductAuthorization.swift
[155/218] Compiling Models MedicinalProductContraindication.swift
[156/218] Compiling Models MedicinalProductIndication.swift
[157/218] Compiling Models MedicinalProductIngredient.swift
[158/218] Compiling Models MedicinalProductInteraction.swift
[159/218] Compiling Models MedicinalProductManufactured.swift
[160/218] Compiling Models MedicinalProductPackaged.swift
[161/218] Compiling Models MedicinalProductPharmaceutical.swift
[162/218] Compiling Models MedicinalProductUndesirableEffect.swift
[163/218] Compiling Models MessageDefinition.swift
[164/218] Compiling Models MessageHeader.swift
[165/218] Compiling Models Meta.swift
[166/218] Compiling Models MetadataResource.swift
[167/218] Compiling Models MolecularSequence.swift
[168/218] Compiling Models Money.swift
[169/218] Compiling Models NamingSystem.swift
[170/218] Compiling Models Narrative.swift
[171/218] Compiling Models NutritionOrder.swift
[172/218] Compiling Models DetectedIssue.swift
[173/218] Compiling Models Device.swift
[174/218] Compiling Models DeviceDefinition.swift
[175/218] Compiling Models DeviceMetric.swift
[176/218] Compiling Models DeviceRequest.swift
[177/218] Compiling Models DeviceUseStatement.swift
[178/218] Compiling Models DiagnosticReport.swift
[179/218] Compiling Models Distance.swift
[180/218] Compiling Models DocumentManifest.swift
[181/218] Compiling Models DocumentReference.swift
[182/218] Compiling Models DomainResource.swift
[183/218] Compiling Models Dosage.swift
[184/218] Compiling Models Duration.swift
[185/218] Compiling Models EffectEvidenceSynthesis.swift
[186/218] Compiling Models Element.swift
[187/218] Compiling Models ElementDefinition.swift
[188/218] Compiling Models Encounter.swift
[189/218] Compiling Models Endpoint.swift
[190/218] Compiling Models EnrollmentRequest.swift
[191/218] Compiling Models EnrollmentResponse.swift
[192/218] Compiling Models EpisodeOfCare.swift
[193/218] Compiling Models EventDefinition.swift
[194/218] Compiling Models Evidence.swift
[195/218] Compiling Models EvidenceVariable.swift
[196/218] Compiling Models StructureDefinition.swift
[197/218] Compiling Models StructureMap.swift
[198/218] Compiling Models Subscription.swift
[199/218] Compiling Models Substance.swift
[200/218] Compiling Models SubstanceAmount.swift
[201/218] Compiling Models SubstanceNucleicAcid.swift
[202/218] Compiling Models SubstancePolymer.swift
[203/218] Compiling Models SubstanceProtein.swift
[204/218] Compiling Models SubstanceReferenceInformation.swift
[205/218] Compiling Models SubstanceSourceMaterial.swift
[206/218] Compiling Models SubstanceSpecification.swift
[207/218] Compiling Models SupplyDelivery.swift
[208/218] Compiling Models SupplyRequest.swift
[209/218] Compiling Models Task.swift
[210/218] Compiling Models TerminologyCapabilities.swift
[211/218] Compiling Models TestReport.swift
[212/218] Compiling Models TestScript.swift
[213/218] Compiling Models Timing.swift
[214/218] Compiling Models TriggerDefinition.swift
[215/218] Compiling Models UsageContext.swift
[216/218] Compiling Models ValueSet.swift
[217/218] Compiling Models VerificationResult.swift
[218/218] Compiling Models VisionPrescription.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/168] Compiling Models ExampleScenario.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 ExplanationOfBenefit.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[4/168] Compiling Models Expression.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[5/168] Compiling Models Extension.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[6/168] Compiling Models FHIRAbstractBase+Factory.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[7/168] Compiling Models FHIRAbstractBase.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[8/168] Compiling Models FHIRAbstractResource.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[9/168] Compiling Models FHIRBool.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[10/168] Compiling Models FHIRCanonical.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[11/168] Compiling Models FHIRDecimal.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[12/168] Compiling Models FHIREnum.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[13/168] Compiling Models FHIRError.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[14/168] Compiling Models FHIRInteger.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[15/168] Compiling Models FHIRPrimitive.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[16/168] Compiling Models FHIRRequest.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[17/168] Compiling Models FHIRRequestHandler.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[18/168] Compiling Models FHIRServer.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[19/168] Compiling Models FHIRServerResponse.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[20/168] Compiling Models FHIRString.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[21/168] Compiling Models FHIRType.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[22/168] Compiling Models FHIRURL.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[23/168] Compiling Models FHIRValidationError.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[24/168] Compiling Models FamilyMemberHistory.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[25/168] Compiling Models Flag.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/191] Emitting module Models
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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
[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 Observation.swift
[52/214] Compiling Models ObservationDefinition.swift
[53/214] Compiling Models OperationDefinition.swift
[54/214] Compiling Models OperationOutcome.swift
[55/214] Compiling Models Organization.swift
[56/214] Compiling Models OrganizationAffiliation.swift
[57/214] Compiling Models ParameterDefinition.swift
[58/214] Compiling Models Parameters.swift
[59/214] Compiling Models Patient.swift
[60/214] Compiling Models PaymentNotice.swift
[61/214] Compiling Models PaymentReconciliation.swift
[62/214] Compiling Models Period.swift
[63/214] Compiling Models Person.swift
[64/214] Compiling Models PlanDefinition.swift
[65/214] Compiling Models Population.swift
[66/214] Compiling Models Practitioner.swift
[67/214] Compiling Models PractitionerRole.swift
[68/214] Compiling Models Procedure.swift
[69/214] Compiling Models ProdCharacteristic.swift
[70/214] Compiling Models ProductShelfLife.swift
[71/214] Compiling Models Provenance.swift
[72/214] Compiling Models Quantity.swift
[73/214] Compiling Models Questionnaire.swift
[74/214] Compiling Models MedicationDispense.swift
[75/214] Compiling Models MedicationKnowledge.swift
[76/214] Compiling Models MedicationRequest.swift
[77/214] Compiling Models MedicationStatement.swift
[78/214] Compiling Models MedicinalProduct.swift
[79/214] Compiling Models MedicinalProductAuthorization.swift
[80/214] Compiling Models MedicinalProductContraindication.swift
[81/214] Compiling Models MedicinalProductIndication.swift
[82/214] Compiling Models MedicinalProductIngredient.swift
[83/214] Compiling Models MedicinalProductInteraction.swift
[84/214] Compiling Models MedicinalProductManufactured.swift
[85/214] Compiling Models MedicinalProductPackaged.swift
[86/214] Compiling Models MedicinalProductPharmaceutical.swift
[87/214] Compiling Models MedicinalProductUndesirableEffect.swift
[88/214] Compiling Models MessageDefinition.swift
[89/214] Compiling Models MessageHeader.swift
[90/214] Compiling Models Meta.swift
[91/214] Compiling Models MetadataResource.swift
[92/214] Compiling Models MolecularSequence.swift
[93/214] Compiling Models Money.swift
[94/214] Compiling Models NamingSystem.swift
[95/214] Compiling Models Narrative.swift
[96/214] Compiling Models NutritionOrder.swift
[97/214] Compiling Models Goal.swift
[98/214] Compiling Models GraphDefinition.swift
[99/214] Compiling Models Group.swift
[100/214] Compiling Models GuidanceResponse.swift
[101/214] Compiling Models HealthcareService.swift
[102/214] Compiling Models HumanName.swift
[103/214] Compiling Models Identifier.swift
[104/214] Compiling Models ImagingStudy.swift
[105/214] Compiling Models Immunization.swift
[106/214] Compiling Models ImmunizationEvaluation.swift
[107/214] Compiling Models ImmunizationRecommendation.swift
[108/214] Compiling Models ImplementationGuide.swift
[109/214] Compiling Models InsurancePlan.swift
[110/214] Compiling Models Invoice.swift
[111/214] Compiling Models Library.swift
[112/214] Compiling Models Linkage.swift
[113/214] Compiling Models List.swift
[114/214] Compiling Models Location.swift
[115/214] Compiling Models MarketingStatus.swift
[116/214] Compiling Models Measure.swift
[117/214] Compiling Models MeasureReport.swift
[118/214] Compiling Models Media.swift
[119/214] Compiling Models Medication.swift
[120/214] Compiling Models MedicationAdministration.swift
[121/214] Compiling Models Claim.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[122/214] Compiling Models ClaimResponse.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[123/214] Compiling Models ClinicalImpression.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[124/214] Compiling Models CodeSystem.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[125/214] Compiling Models CodeSystems.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[126/214] Compiling Models CodeableConcept.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[127/214] Compiling Models Coding.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[128/214] Compiling Models Communication.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[129/214] Compiling Models CommunicationRequest.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[130/214] Compiling Models CompartmentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[131/214] Compiling Models Composition.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[132/214] Compiling Models ConceptMap.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[133/214] Compiling Models Condition.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[134/214] Compiling Models Consent.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[135/214] Compiling Models ContactDetail.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[136/214] Compiling Models ContactPoint.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[137/214] Compiling Models Contract.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[138/214] Compiling Models Contributor.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[139/214] Compiling Models Count.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[140/214] Compiling Models Coverage.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[141/214] Compiling Models CoverageEligibilityRequest.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[142/214] Compiling Models CoverageEligibilityResponse.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[143/214] Compiling Models DataRequirement.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[144/214] Compiling Models DateAndTime.swift
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/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/.build/checkouts/Swift-FHIR/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 | }
[145/214] Compiling Models QuestionnaireResponse.swift
[146/214] Compiling Models Range.swift
[147/214] Compiling Models Ratio.swift
[148/214] Compiling Models Reference.swift
[149/214] Compiling Models RelatedArtifact.swift
[150/214] Compiling Models RelatedPerson.swift
[151/214] Compiling Models RequestGroup.swift
[152/214] Compiling Models ResearchDefinition.swift
[153/214] Compiling Models ResearchElementDefinition.swift
[154/214] Compiling Models ResearchStudy.swift
[155/214] Compiling Models ResearchSubject.swift
[156/214] Compiling Models Resource+Meta.swift
[157/214] Compiling Models Resource.swift
[158/214] Compiling Models RiskAssessment.swift
[159/214] Compiling Models RiskEvidenceSynthesis.swift
[160/214] Compiling Models SampledData.swift
[161/214] Compiling Models Schedule.swift
[162/214] Compiling Models SearchParameter.swift
[163/214] Compiling Models ServiceRequest.swift
[164/214] Compiling Models Signature.swift
[165/214] Compiling Models Slot.swift
[166/214] Compiling Models Specimen.swift
[167/214] Compiling Models SpecimenDefinition.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 wasm