The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Typesense, reference v1.0.1 (0f6c55), with Swift 6.3 for Wasm on 17 Apr 2026 20:34:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

    |                                                                                                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         let requestNumber = Date().millisecondsSince1970
 67 |         logger.log("Request #\(requestNumber): Performing \(requestType.rawValue) request: /\(endpoint)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:118:158: error: cannot find type 'URLRequest' in scope
116 |
117 |     //Bundles a URL Request
118 |     func prepareRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil, selectedNode: Node) throws -> URLRequest {
    |                                                                                                                                                              `- error: cannot find type 'URLRequest' in scope
119 |
120 |         let urlString = uriFor(endpoint: endpoint, node: selectedNode)
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:79:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 77 |
 78 |             do {
 79 |                 let (data, response) = try await URLSession.shared.data(for: request)
    |                                                             `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |                 if let res = response as? HTTPURLResponse {
 81 |                     if (res.statusCode >= 1 && res.statusCode <= 499) {
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:140:23: error: cannot find 'URLRequest' in scope
138 |         }
139 |
140 |         var request = URLRequest(url: validURLWithComponents)
    |                       `- error: cannot find 'URLRequest' in scope
141 |         request.httpMethod = requestType.rawValue
142 |
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:15:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(_ keySchema: ApiKeySchema) async throws -> (ApiKey?, URLResponse?) {
   |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:31:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     public func retrieve(id: Int) async throws -> (ApiKey?, URLResponse?) {
   |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:42:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func retrieve() async throws -> (ApiKeysResponse?, URLResponse?) {
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |
44 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:53:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |     }
52 |
53 |     public func delete(id: Int) async throws -> (Data?, URLResponse?) {
   |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 |
55 |         let (data, response) = try await apiCall.delete(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:24:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func delete() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath())
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:33:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:15:88: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(schema: CollectionSchema) async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:30:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     public func retrieveAll() async throws -> ([CollectionResponse]?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let (data, response) = try await apiCall.get(endPoint: Collections.RESOURCEPATH)
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func update(params: ConversationModelUpdateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:25:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:34:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |     }
33 |
34 |     public func delete() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
36 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(params: ConversationModelCreateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.post(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:25:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> ([ConversationModelSchema]?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
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
[58/119] Compiling Typesense Collection.swift
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:14:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func upsert(name: String, collection: CollectionAliasSchema) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let schemaData = try encoder.encode(collection)
16 |         let (data, response) = try await apiCall.put(endPoint: endpointPath(name), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:24:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func retrieve(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.get(endPoint: endpointPath(name))
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:33:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionAliasesResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:42:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func delete(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath(name))
44 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:14:125: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func create<T: Encodable>(params: AnalyticsEventCreateSchema<T>) async throws -> (AnalyticsEventCreateResponse?, URLResponse?) {
   |                                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let json = try encoder.encode(params)
16 |         let (data, response) = try await self.apiCall.post(endPoint: AnalyticsEvents.resourcePath, body: json)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:14:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func retrieve() async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
16 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:23:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     public func delete() async throws -> (AnalyticsRuleDeleteResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
25 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:15:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func upsert(params: AnalyticsRuleSchema) async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let ruleData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(params.name), body: ruleData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:26:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 |
26 |     public func retrieveAll() async throws -> (AnalyticsRulesRetrieveSchema?, URLResponse?) {
   |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
28 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:39:96: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     //Various request types' implementation
 38 |
 39 |     func get(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         let (data, response) = try await self.performRequest(requestType: RequestType.get, endpoint: endPoint, queryParameters: queryParameters)
 41 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:44:99: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     }
 43 |
 44 |     func delete(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         let (data, response) = try await self.performRequest(requestType: RequestType.delete, endpoint: endPoint, queryParameters: queryParameters)
 46 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:49:109: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |     }
 48 |
 49 |     func post(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |         let (data, response) = try await self.performRequest(requestType: RequestType.post, endpoint: endPoint, body: body, queryParameters: queryParameters)
 51 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:54:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     }
 53 |
 54 |     func put(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         let (data, response) = try await self.performRequest(requestType: RequestType.put, endpoint: endPoint, body: body, queryParameters: queryParameters)
 56 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:59:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func patch(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         let (data, response) = try await self.performRequest(requestType: RequestType.patch, endpoint: endPoint, body: body, queryParameters: queryParameters)
 61 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:65:151: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     //Actual API Call
 65 |     func performRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         let requestNumber = Date().millisecondsSince1970
 67 |         logger.log("Request #\(requestNumber): Performing \(requestType.rawValue) request: /\(endpoint)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:118:158: error: cannot find type 'URLRequest' in scope
116 |
117 |     //Bundles a URL Request
118 |     func prepareRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil, selectedNode: Node) throws -> URLRequest {
    |                                                                                                                                                              `- error: cannot find type 'URLRequest' in scope
119 |
120 |         let urlString = uriFor(endpoint: endpoint, node: selectedNode)
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:79:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 77 |
 78 |             do {
 79 |                 let (data, response) = try await URLSession.shared.data(for: request)
    |                                                             `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |                 if let res = response as? HTTPURLResponse {
 81 |                     if (res.statusCode >= 1 && res.statusCode <= 499) {
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:140:23: error: cannot find 'URLRequest' in scope
138 |         }
139 |
140 |         var request = URLRequest(url: validURLWithComponents)
    |                       `- error: cannot find 'URLRequest' in scope
141 |         request.httpMethod = requestType.rawValue
142 |
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:15:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(_ keySchema: ApiKeySchema) async throws -> (ApiKey?, URLResponse?) {
   |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:31:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     public func retrieve(id: Int) async throws -> (ApiKey?, URLResponse?) {
   |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:42:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func retrieve() async throws -> (ApiKeysResponse?, URLResponse?) {
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |
44 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:53:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |     }
52 |
53 |     public func delete(id: Int) async throws -> (Data?, URLResponse?) {
   |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 |
55 |         let (data, response) = try await apiCall.delete(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:24:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func delete() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath())
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:33:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:15:88: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(schema: CollectionSchema) async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:30:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     public func retrieveAll() async throws -> ([CollectionResponse]?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let (data, response) = try await apiCall.get(endPoint: Collections.RESOURCEPATH)
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func update(params: ConversationModelUpdateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:25:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:34:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |     }
33 |
34 |     public func delete() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
36 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(params: ConversationModelCreateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.post(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:25:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> ([ConversationModelSchema]?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
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
[59/119] Compiling Typesense Collections.swift
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:14:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func upsert(name: String, collection: CollectionAliasSchema) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let schemaData = try encoder.encode(collection)
16 |         let (data, response) = try await apiCall.put(endPoint: endpointPath(name), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:24:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func retrieve(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.get(endPoint: endpointPath(name))
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:33:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionAliasesResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:42:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func delete(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath(name))
44 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:14:125: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func create<T: Encodable>(params: AnalyticsEventCreateSchema<T>) async throws -> (AnalyticsEventCreateResponse?, URLResponse?) {
   |                                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let json = try encoder.encode(params)
16 |         let (data, response) = try await self.apiCall.post(endPoint: AnalyticsEvents.resourcePath, body: json)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:14:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func retrieve() async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
16 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:23:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     public func delete() async throws -> (AnalyticsRuleDeleteResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
25 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:15:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func upsert(params: AnalyticsRuleSchema) async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let ruleData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(params.name), body: ruleData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:26:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 |
26 |     public func retrieveAll() async throws -> (AnalyticsRulesRetrieveSchema?, URLResponse?) {
   |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
28 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:39:96: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     //Various request types' implementation
 38 |
 39 |     func get(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         let (data, response) = try await self.performRequest(requestType: RequestType.get, endpoint: endPoint, queryParameters: queryParameters)
 41 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:44:99: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     }
 43 |
 44 |     func delete(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         let (data, response) = try await self.performRequest(requestType: RequestType.delete, endpoint: endPoint, queryParameters: queryParameters)
 46 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:49:109: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |     }
 48 |
 49 |     func post(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |         let (data, response) = try await self.performRequest(requestType: RequestType.post, endpoint: endPoint, body: body, queryParameters: queryParameters)
 51 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:54:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     }
 53 |
 54 |     func put(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         let (data, response) = try await self.performRequest(requestType: RequestType.put, endpoint: endPoint, body: body, queryParameters: queryParameters)
 56 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:59:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func patch(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         let (data, response) = try await self.performRequest(requestType: RequestType.patch, endpoint: endPoint, body: body, queryParameters: queryParameters)
 61 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:65:151: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     //Actual API Call
 65 |     func performRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         let requestNumber = Date().millisecondsSince1970
 67 |         logger.log("Request #\(requestNumber): Performing \(requestType.rawValue) request: /\(endpoint)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:118:158: error: cannot find type 'URLRequest' in scope
116 |
117 |     //Bundles a URL Request
118 |     func prepareRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil, selectedNode: Node) throws -> URLRequest {
    |                                                                                                                                                              `- error: cannot find type 'URLRequest' in scope
119 |
120 |         let urlString = uriFor(endpoint: endpoint, node: selectedNode)
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:79:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 77 |
 78 |             do {
 79 |                 let (data, response) = try await URLSession.shared.data(for: request)
    |                                                             `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |                 if let res = response as? HTTPURLResponse {
 81 |                     if (res.statusCode >= 1 && res.statusCode <= 499) {
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:140:23: error: cannot find 'URLRequest' in scope
138 |         }
139 |
140 |         var request = URLRequest(url: validURLWithComponents)
    |                       `- error: cannot find 'URLRequest' in scope
141 |         request.httpMethod = requestType.rawValue
142 |
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:15:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(_ keySchema: ApiKeySchema) async throws -> (ApiKey?, URLResponse?) {
   |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:31:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     public func retrieve(id: Int) async throws -> (ApiKey?, URLResponse?) {
   |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:42:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func retrieve() async throws -> (ApiKeysResponse?, URLResponse?) {
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |
44 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:53:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |     }
52 |
53 |     public func delete(id: Int) async throws -> (Data?, URLResponse?) {
   |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 |
55 |         let (data, response) = try await apiCall.delete(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:24:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func delete() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath())
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:33:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:15:88: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(schema: CollectionSchema) async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:30:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     public func retrieveAll() async throws -> ([CollectionResponse]?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let (data, response) = try await apiCall.get(endPoint: Collections.RESOURCEPATH)
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func update(params: ConversationModelUpdateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:25:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:34:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |     }
33 |
34 |     public func delete() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
36 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(params: ConversationModelCreateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.post(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:25:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> ([ConversationModelSchema]?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
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
[60/119] Compiling Typesense Configuration.swift
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:14:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func upsert(name: String, collection: CollectionAliasSchema) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let schemaData = try encoder.encode(collection)
16 |         let (data, response) = try await apiCall.put(endPoint: endpointPath(name), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:24:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func retrieve(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.get(endPoint: endpointPath(name))
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:33:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionAliasesResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:42:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func delete(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath(name))
44 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:14:125: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func create<T: Encodable>(params: AnalyticsEventCreateSchema<T>) async throws -> (AnalyticsEventCreateResponse?, URLResponse?) {
   |                                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let json = try encoder.encode(params)
16 |         let (data, response) = try await self.apiCall.post(endPoint: AnalyticsEvents.resourcePath, body: json)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:14:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func retrieve() async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
16 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:23:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     public func delete() async throws -> (AnalyticsRuleDeleteResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
25 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:15:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func upsert(params: AnalyticsRuleSchema) async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let ruleData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(params.name), body: ruleData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:26:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 |
26 |     public func retrieveAll() async throws -> (AnalyticsRulesRetrieveSchema?, URLResponse?) {
   |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
28 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:39:96: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     //Various request types' implementation
 38 |
 39 |     func get(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         let (data, response) = try await self.performRequest(requestType: RequestType.get, endpoint: endPoint, queryParameters: queryParameters)
 41 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:44:99: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     }
 43 |
 44 |     func delete(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         let (data, response) = try await self.performRequest(requestType: RequestType.delete, endpoint: endPoint, queryParameters: queryParameters)
 46 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:49:109: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |     }
 48 |
 49 |     func post(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |         let (data, response) = try await self.performRequest(requestType: RequestType.post, endpoint: endPoint, body: body, queryParameters: queryParameters)
 51 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:54:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     }
 53 |
 54 |     func put(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         let (data, response) = try await self.performRequest(requestType: RequestType.put, endpoint: endPoint, body: body, queryParameters: queryParameters)
 56 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:59:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func patch(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         let (data, response) = try await self.performRequest(requestType: RequestType.patch, endpoint: endPoint, body: body, queryParameters: queryParameters)
 61 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:65:151: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     //Actual API Call
 65 |     func performRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         let requestNumber = Date().millisecondsSince1970
 67 |         logger.log("Request #\(requestNumber): Performing \(requestType.rawValue) request: /\(endpoint)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:118:158: error: cannot find type 'URLRequest' in scope
116 |
117 |     //Bundles a URL Request
118 |     func prepareRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil, selectedNode: Node) throws -> URLRequest {
    |                                                                                                                                                              `- error: cannot find type 'URLRequest' in scope
119 |
120 |         let urlString = uriFor(endpoint: endpoint, node: selectedNode)
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:79:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 77 |
 78 |             do {
 79 |                 let (data, response) = try await URLSession.shared.data(for: request)
    |                                                             `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |                 if let res = response as? HTTPURLResponse {
 81 |                     if (res.statusCode >= 1 && res.statusCode <= 499) {
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:140:23: error: cannot find 'URLRequest' in scope
138 |         }
139 |
140 |         var request = URLRequest(url: validURLWithComponents)
    |                       `- error: cannot find 'URLRequest' in scope
141 |         request.httpMethod = requestType.rawValue
142 |
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:15:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(_ keySchema: ApiKeySchema) async throws -> (ApiKey?, URLResponse?) {
   |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:31:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     public func retrieve(id: Int) async throws -> (ApiKey?, URLResponse?) {
   |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:42:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func retrieve() async throws -> (ApiKeysResponse?, URLResponse?) {
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |
44 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:53:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |     }
52 |
53 |     public func delete(id: Int) async throws -> (Data?, URLResponse?) {
   |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 |
55 |         let (data, response) = try await apiCall.delete(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:24:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func delete() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath())
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:33:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:15:88: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(schema: CollectionSchema) async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:30:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     public func retrieveAll() async throws -> ([CollectionResponse]?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let (data, response) = try await apiCall.get(endPoint: Collections.RESOURCEPATH)
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func update(params: ConversationModelUpdateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:25:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:34:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |     }
33 |
34 |     public func delete() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
36 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(params: ConversationModelCreateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.post(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:25:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> ([ConversationModelSchema]?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
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
[61/119] Compiling Typesense ConversationModel.swift
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:14:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func upsert(name: String, collection: CollectionAliasSchema) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let schemaData = try encoder.encode(collection)
16 |         let (data, response) = try await apiCall.put(endPoint: endpointPath(name), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:24:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func retrieve(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.get(endPoint: endpointPath(name))
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:33:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionAliasesResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:42:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func delete(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath(name))
44 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:14:125: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func create<T: Encodable>(params: AnalyticsEventCreateSchema<T>) async throws -> (AnalyticsEventCreateResponse?, URLResponse?) {
   |                                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let json = try encoder.encode(params)
16 |         let (data, response) = try await self.apiCall.post(endPoint: AnalyticsEvents.resourcePath, body: json)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:14:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func retrieve() async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
16 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:23:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     public func delete() async throws -> (AnalyticsRuleDeleteResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
25 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:15:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func upsert(params: AnalyticsRuleSchema) async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let ruleData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(params.name), body: ruleData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:26:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 |
26 |     public func retrieveAll() async throws -> (AnalyticsRulesRetrieveSchema?, URLResponse?) {
   |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
28 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:39:96: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     //Various request types' implementation
 38 |
 39 |     func get(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         let (data, response) = try await self.performRequest(requestType: RequestType.get, endpoint: endPoint, queryParameters: queryParameters)
 41 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:44:99: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     }
 43 |
 44 |     func delete(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         let (data, response) = try await self.performRequest(requestType: RequestType.delete, endpoint: endPoint, queryParameters: queryParameters)
 46 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:49:109: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |     }
 48 |
 49 |     func post(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |         let (data, response) = try await self.performRequest(requestType: RequestType.post, endpoint: endPoint, body: body, queryParameters: queryParameters)
 51 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:54:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     }
 53 |
 54 |     func put(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         let (data, response) = try await self.performRequest(requestType: RequestType.put, endpoint: endPoint, body: body, queryParameters: queryParameters)
 56 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:59:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func patch(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         let (data, response) = try await self.performRequest(requestType: RequestType.patch, endpoint: endPoint, body: body, queryParameters: queryParameters)
 61 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:65:151: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     //Actual API Call
 65 |     func performRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         let requestNumber = Date().millisecondsSince1970
 67 |         logger.log("Request #\(requestNumber): Performing \(requestType.rawValue) request: /\(endpoint)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:118:158: error: cannot find type 'URLRequest' in scope
116 |
117 |     //Bundles a URL Request
118 |     func prepareRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil, selectedNode: Node) throws -> URLRequest {
    |                                                                                                                                                              `- error: cannot find type 'URLRequest' in scope
119 |
120 |         let urlString = uriFor(endpoint: endpoint, node: selectedNode)
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:79:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 77 |
 78 |             do {
 79 |                 let (data, response) = try await URLSession.shared.data(for: request)
    |                                                             `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |                 if let res = response as? HTTPURLResponse {
 81 |                     if (res.statusCode >= 1 && res.statusCode <= 499) {
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:140:23: error: cannot find 'URLRequest' in scope
138 |         }
139 |
140 |         var request = URLRequest(url: validURLWithComponents)
    |                       `- error: cannot find 'URLRequest' in scope
141 |         request.httpMethod = requestType.rawValue
142 |
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:15:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(_ keySchema: ApiKeySchema) async throws -> (ApiKey?, URLResponse?) {
   |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:31:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     public func retrieve(id: Int) async throws -> (ApiKey?, URLResponse?) {
   |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:42:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func retrieve() async throws -> (ApiKeysResponse?, URLResponse?) {
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |
44 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:53:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |     }
52 |
53 |     public func delete(id: Int) async throws -> (Data?, URLResponse?) {
   |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 |
55 |         let (data, response) = try await apiCall.delete(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:24:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func delete() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath())
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:33:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:15:88: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(schema: CollectionSchema) async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:30:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     public func retrieveAll() async throws -> ([CollectionResponse]?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let (data, response) = try await apiCall.get(endPoint: Collections.RESOURCEPATH)
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func update(params: ConversationModelUpdateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:25:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:34:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |     }
33 |
34 |     public func delete() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
36 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(params: ConversationModelCreateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.post(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:25:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> ([ConversationModelSchema]?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
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
[62/119] Compiling Typesense ConversationModels.swift
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:14:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func upsert(name: String, collection: CollectionAliasSchema) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let schemaData = try encoder.encode(collection)
16 |         let (data, response) = try await apiCall.put(endPoint: endpointPath(name), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:24:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func retrieve(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.get(endPoint: endpointPath(name))
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:33:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionAliasesResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:42:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func delete(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath(name))
44 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:14:125: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func create<T: Encodable>(params: AnalyticsEventCreateSchema<T>) async throws -> (AnalyticsEventCreateResponse?, URLResponse?) {
   |                                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let json = try encoder.encode(params)
16 |         let (data, response) = try await self.apiCall.post(endPoint: AnalyticsEvents.resourcePath, body: json)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:14:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func retrieve() async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
16 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:23:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     public func delete() async throws -> (AnalyticsRuleDeleteResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
25 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:15:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func upsert(params: AnalyticsRuleSchema) async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let ruleData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(params.name), body: ruleData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:26:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 |
26 |     public func retrieveAll() async throws -> (AnalyticsRulesRetrieveSchema?, URLResponse?) {
   |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
28 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:39:96: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     //Various request types' implementation
 38 |
 39 |     func get(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         let (data, response) = try await self.performRequest(requestType: RequestType.get, endpoint: endPoint, queryParameters: queryParameters)
 41 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:44:99: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     }
 43 |
 44 |     func delete(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         let (data, response) = try await self.performRequest(requestType: RequestType.delete, endpoint: endPoint, queryParameters: queryParameters)
 46 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:49:109: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |     }
 48 |
 49 |     func post(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |         let (data, response) = try await self.performRequest(requestType: RequestType.post, endpoint: endPoint, body: body, queryParameters: queryParameters)
 51 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:54:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     }
 53 |
 54 |     func put(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         let (data, response) = try await self.performRequest(requestType: RequestType.put, endpoint: endPoint, body: body, queryParameters: queryParameters)
 56 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:59:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func patch(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         let (data, response) = try await self.performRequest(requestType: RequestType.patch, endpoint: endPoint, body: body, queryParameters: queryParameters)
 61 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:65:151: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     //Actual API Call
 65 |     func performRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         let requestNumber = Date().millisecondsSince1970
 67 |         logger.log("Request #\(requestNumber): Performing \(requestType.rawValue) request: /\(endpoint)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:118:158: error: cannot find type 'URLRequest' in scope
116 |
117 |     //Bundles a URL Request
118 |     func prepareRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil, selectedNode: Node) throws -> URLRequest {
    |                                                                                                                                                              `- error: cannot find type 'URLRequest' in scope
119 |
120 |         let urlString = uriFor(endpoint: endpoint, node: selectedNode)
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:79:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 77 |
 78 |             do {
 79 |                 let (data, response) = try await URLSession.shared.data(for: request)
    |                                                             `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |                 if let res = response as? HTTPURLResponse {
 81 |                     if (res.statusCode >= 1 && res.statusCode <= 499) {
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:140:23: error: cannot find 'URLRequest' in scope
138 |         }
139 |
140 |         var request = URLRequest(url: validURLWithComponents)
    |                       `- error: cannot find 'URLRequest' in scope
141 |         request.httpMethod = requestType.rawValue
142 |
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:15:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(_ keySchema: ApiKeySchema) async throws -> (ApiKey?, URLResponse?) {
   |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:31:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     public func retrieve(id: Int) async throws -> (ApiKey?, URLResponse?) {
   |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:42:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func retrieve() async throws -> (ApiKeysResponse?, URLResponse?) {
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |
44 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:53:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |     }
52 |
53 |     public func delete(id: Int) async throws -> (Data?, URLResponse?) {
   |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 |
55 |         let (data, response) = try await apiCall.delete(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:24:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func delete() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath())
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:33:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:15:88: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(schema: CollectionSchema) async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:30:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     public func retrieveAll() async throws -> ([CollectionResponse]?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let (data, response) = try await apiCall.get(endPoint: Collections.RESOURCEPATH)
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func update(params: ConversationModelUpdateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:25:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:34:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |     }
33 |
34 |     public func delete() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
36 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(params: ConversationModelCreateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.post(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:25:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> ([ConversationModelSchema]?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
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
[63/119] Compiling Typesense Conversations.swift
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:14:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func upsert(name: String, collection: CollectionAliasSchema) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let schemaData = try encoder.encode(collection)
16 |         let (data, response) = try await apiCall.put(endPoint: endpointPath(name), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:24:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func retrieve(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.get(endPoint: endpointPath(name))
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:33:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionAliasesResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:42:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func delete(name: String) async throws -> (CollectionAlias?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath(name))
44 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:14:125: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func create<T: Encodable>(params: AnalyticsEventCreateSchema<T>) async throws -> (AnalyticsEventCreateResponse?, URLResponse?) {
   |                                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let json = try encoder.encode(params)
16 |         let (data, response) = try await self.apiCall.post(endPoint: AnalyticsEvents.resourcePath, body: json)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:14:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     public func retrieve() async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
16 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:23:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     public func delete() async throws -> (AnalyticsRuleDeleteResponse?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
25 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:15:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func upsert(params: AnalyticsRuleSchema) async throws -> (AnalyticsRuleSchema?, URLResponse?) {
   |                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let ruleData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(params.name), body: ruleData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:26:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 |
26 |     public func retrieveAll() async throws -> (AnalyticsRulesRetrieveSchema?, URLResponse?) {
   |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
28 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:39:96: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     //Various request types' implementation
 38 |
 39 |     func get(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         let (data, response) = try await self.performRequest(requestType: RequestType.get, endpoint: endPoint, queryParameters: queryParameters)
 41 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:44:99: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     }
 43 |
 44 |     func delete(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         let (data, response) = try await self.performRequest(requestType: RequestType.delete, endpoint: endPoint, queryParameters: queryParameters)
 46 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:49:109: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |     }
 48 |
 49 |     func post(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |         let (data, response) = try await self.performRequest(requestType: RequestType.post, endpoint: endPoint, body: body, queryParameters: queryParameters)
 51 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:54:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     }
 53 |
 54 |     func put(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         let (data, response) = try await self.performRequest(requestType: RequestType.put, endpoint: endPoint, body: body, queryParameters: queryParameters)
 56 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:59:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func patch(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         let (data, response) = try await self.performRequest(requestType: RequestType.patch, endpoint: endPoint, body: body, queryParameters: queryParameters)
 61 |         return (data, response)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:65:151: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     //Actual API Call
 65 |     func performRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         let requestNumber = Date().millisecondsSince1970
 67 |         logger.log("Request #\(requestNumber): Performing \(requestType.rawValue) request: /\(endpoint)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:118:158: error: cannot find type 'URLRequest' in scope
116 |
117 |     //Bundles a URL Request
118 |     func prepareRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil, selectedNode: Node) throws -> URLRequest {
    |                                                                                                                                                              `- error: cannot find type 'URLRequest' in scope
119 |
120 |         let urlString = uriFor(endpoint: endpoint, node: selectedNode)
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:79:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 77 |
 78 |             do {
 79 |                 let (data, response) = try await URLSession.shared.data(for: request)
    |                                                             `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |                 if let res = response as? HTTPURLResponse {
 81 |                     if (res.statusCode >= 1 && res.statusCode <= 499) {
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:140:23: error: cannot find 'URLRequest' in scope
138 |         }
139 |
140 |         var request = URLRequest(url: validURLWithComponents)
    |                       `- error: cannot find 'URLRequest' in scope
141 |         request.httpMethod = requestType.rawValue
142 |
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:15:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(_ keySchema: ApiKeySchema) async throws -> (ApiKey?, URLResponse?) {
   |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:31:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     public func retrieve(id: Int) async throws -> (ApiKey?, URLResponse?) {
   |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:42:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     }
41 |
42 |     public func retrieve() async throws -> (ApiKeysResponse?, URLResponse?) {
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |
44 |         let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:53:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |     }
52 |
53 |     public func delete(id: Int) async throws -> (Data?, URLResponse?) {
   |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 |
55 |         let (data, response) = try await apiCall.delete(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:24:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func delete() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath())
26 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:33:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     }
32 |
33 |     public func retrieve() async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
35 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:15:88: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(schema: CollectionSchema) async throws -> (CollectionResponse?, URLResponse?) {
   |                                                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         var schemaData: Data? = nil
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:30:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     public func retrieveAll() async throws -> ([CollectionResponse]?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let (data, response) = try await apiCall.get(endPoint: Collections.RESOURCEPATH)
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func update(params: ConversationModelUpdateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:25:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:34:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |     }
33 |
34 |     public func delete() async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
36 |         if let result = data {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:15:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func create(params: ConversationModelCreateSchema) async throws -> (ConversationModelSchema?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let schemaData = try encoder.encode(params)
17 |         let (data, response) = try await self.apiCall.post(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:25:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func retrieve() async throws -> ([ConversationModelSchema]?, URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
27 |         if let result = data {
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
[64/119] Compiling Typesense ApiKeySchema.swift
[65/119] Compiling Typesense ApiKeysResponse.swift
[66/119] Compiling Typesense ApiResponse.swift
[67/119] Compiling Typesense CollectionAlias.swift
[68/119] Compiling Typesense CollectionAliasSchema.swift
[69/119] Compiling Typesense CollectionAliasesResponse.swift
[70/119] Compiling Typesense CollectionResponse.swift
[71/119] Compiling Typesense CollectionSchema.swift
[72/119] Compiling Typesense CollectionUpdateSchema.swift
[73/119] Compiling Typesense ConversationModelCreateSchema.swift
[74/119] Compiling Typesense ConversationModelSchema.swift
[75/119] Compiling Typesense ConversationModelUpdateSchema.swift
[76/119] Compiling Typesense DebugRetrieveSchema.swift
[77/119] Compiling Typesense DeleteDocumentsParameters.swift
[78/119] Compiling Typesense DeleteDocumentsResponse.swift
[79/119] Compiling Typesense DocumentIndexParameters.swift
[80/119] Compiling Typesense ExportDocumentsParameters.swift
[81/119] Compiling Typesense FacetCounts.swift
[82/119] Compiling Typesense FacetCountsCounts.swift
[83/119] Compiling Typesense FacetCountsStats.swift
[84/119] Compiling Typesense Field.swift
[85/119] Compiling Typesense FieldEmbed.swift
[86/119] Compiling Typesense FieldEmbedModelConfig.swift
[87/119] Compiling Typesense HealthStatus.swift
[88/119] Compiling Typesense ImportDocumentsParameters.swift
[89/119] Compiling Typesense InlineResponse2002.swift
[90/119] Compiling Typesense ModelErrorResponse.swift
[91/119] Compiling Typesense MultiSearchCollectionParameters.swift
[92/119] Compiling Typesense MultiSearchParameters.swift
[93/119] Compiling Typesense MultiSearchResult.swift
[94/119] Compiling Typesense MultiSearchSearchesParameter.swift
[95/119] Compiling Typesense PresetDeleteSchema.swift
[96/119] Compiling Typesense PresetSchema.swift
[97/119] Compiling Typesense PresetUpsertSchema.swift
[98/119] Compiling Typesense PresetValue.swift
[99/119] Compiling Typesense PresetsRetrieveSchema.swift
[100/119] Compiling Typesense ScopedKeyParameters.swift
[101/119] Compiling Typesense SearchGroupedHit.swift
[102/119] Compiling Typesense SearchHighlight.swift
[103/119] Compiling Typesense SearchOverride.swift
[104/119] Compiling Typesense SearchOverrideDeleteResponse.swift
[105/119] Compiling Typesense SearchOverrideExclude.swift
[106/119] Compiling Typesense SearchOverrideInclude.swift
[107/119] Compiling Typesense SearchOverrideRule.swift
[108/119] Compiling Typesense SearchOverrideSchema.swift
[109/119] Compiling Typesense SearchOverridesResponse.swift
[110/119] Compiling Typesense SearchParameters.swift
[111/119] Compiling Typesense SearchResult.swift
[112/119] Compiling Typesense SearchResultConversation.swift
[113/119] Compiling Typesense SearchResultHit.swift
[114/119] Compiling Typesense SearchResultRequestParams.swift
[115/119] Compiling Typesense SearchResultRequestParamsVoiceQuery.swift
[116/119] Compiling Typesense SearchSynonym.swift
[117/119] Compiling Typesense SearchSynonymSchema.swift
[118/119] Compiling Typesense SearchSynonymsResponse.swift
[119/119] Compiling Typesense SnapshotParameters.swift
BUILD FAILURE 6.3 wasm