The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Typesense, reference v1.0.1 (0f6c55), with Swift 6.4 for Wasm on 21 Sep 2026 11:07:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/typesense/typesense-swift.git
Reference: v1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/typesense/typesense-swift
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 0f6c550 Merge pull request #39 from phiHero/conversation
Cloned https://github.com/typesense/typesense-swift.git
Revision (git rev-parse @):
0f6c550c627433d82b2f9698b1ed5c59490b56d2
SUCCESS checkout https://github.com/typesense/typesense-swift.git at v1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/typesense/typesense-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable (0.47s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.67s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Building for debugging...
[Pre-planning 1 / 96]
[Starting]
[27 / 42] AnyCodable
[33 / 43] Typesense
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/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/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
/host/spi-builder-workspace/Sources/Typesense/Document.swift:18:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     }
17 |
18 |     public func delete() async throws -> (Data?, URLResponse?) {
   |                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath())
20 |         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/Document.swift:23:52: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     public func retrieve() async throws -> (Data?, 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 apiCall.get(endPoint: endpointPath())
25 |         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/Document.swift:28:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     }
27 |
28 |     public func update(newDocument: Data, options: DocumentIndexParameters? = nil) async throws -> (Data?, URLResponse?) {
   |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         let queryParams = try createURLQuery(forSchema: options)
30 |         let (data, response) = try await apiCall.patch(endPoint: endpointPath(), body: newDocument, queryParameters: queryParams)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:16:105: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |     }
 15 |
 16 |     public func create(document: Data, options: DocumentIndexParameters? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |         let queryParams = try createURLQuery(forSchema: options)
 18 |         let (data, response) = try await apiCall.post(endPoint: endpointPath(), body: document, queryParameters: queryParams)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:22:105: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |     }
 21 |
 22 |     public func upsert(document: Data, options: DocumentIndexParameters? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |         var queryParams = try createURLQuery(forSchema: options)
 24 |         queryParams.append(URLQueryItem(name: "action", value: "upsert"))
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:29:111: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |     }
 28 |
 29 |     public func update<T: Codable>(document: T, options: DocumentIndexParameters? = nil) async throws -> (T?, URLResponse?) {
    |                                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |         var queryParams = try createURLQuery(forSchema: options)
 31 |         queryParams.append(URLQueryItem(name: "action", value: "update"))
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:41:137: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     }
 40 |
 41 |     public func update<T: Encodable>(document: T, options: UpdateDocumentsByFilterParameters) async throws -> (UpdateByFilterResponse?, URLResponse?) {
    |                                                                                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         let queryParams = try createURLQuery(forSchema: options)
 43 |         let jsonData = try encoder.encode(document)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:52:103: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     }
 51 |
 52 |     public func delete(options: DeleteDocumentsParameters) async throws -> (DeleteDocumentsResponse?, URLResponse?) {
    |                                                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |         let queryParams = try createURLQuery(forSchema: options)
 54 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath(), queryParameters: queryParams)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:63:87: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |
 62 |     @available(*, deprecated, message: "Use `delete(options: DeleteDocumentsParameters)` instead!")
 63 |     public func delete(filter: String, batchSize: Int? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |         var deleteQueryParams: [URLQueryItem] =
 65 |         [
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:76:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     }
 75 |
 76 |     public func search(_ searchParameters: SearchParameters) async throws -> (Data?, URLResponse?) {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 77 |         let queryParams = try createURLQuery(forSchema: searchParameters)
 78 |         return try await apiCall.get(endPoint: endpointPath("search"), queryParameters: queryParams)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:81:113: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |     }
 80 |
 81 |     public func search<T>(_ searchParameters: SearchParameters, for: T.Type) async throws -> (SearchResult<T>?, URLResponse?) {
    |                                                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |         var searchQueryParams: [URLQueryItem] = []
 83 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:318:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
316 |     }
317 |
318 |     public func importBatch(_ documents: Data, options: ImportDocumentsParameters) async throws -> (Data?, URLResponse?) {
    |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
319 |         let queryParams = try createURLQuery(forSchema: options)
320 |         let (data, response) = try await apiCall.post(endPoint: endpointPath("import"), body: documents, queryParameters: queryParams)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:325:115: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 |
324 |     @available(*, deprecated, message: "Use `importBatch(_ documents: Data, options: ImportDocumentsParameters)` instead!")
325 |     public func importBatch(_ documents: Data, action: ActionModes? = ActionModes.create) async throws -> (Data?, URLResponse?) {
    |                                                                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
326 |         var importAction = URLQueryItem(name: "action", value: "create")
327 |         if let specifiedAction = action {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Documents.swift:334:91: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
332 |     }
333 |
334 |     public func export(options: ExportDocumentsParameters? = nil) async throws -> (Data?, URLResponse?) {
    |                                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 |         let searchQueryParams = try createURLQuery(forSchema: options)
336 |         let (data, response) = try await apiCall.get(endPoint: endpointPath("export"), queryParameters: searchQueryParams)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/MultiSearch.swift:14:141: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     }
 13 |
 14 |     public func perform(searchRequests: [MultiSearchCollectionParameters], commonParameters: MultiSearchParameters) async throws -> (Data?, URLResponse?) {
    |                                                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         let queryParams = try createURLQuery(forSchema: commonParameters)
 16 |         let searchesData = try encoder.encode(MultiSearchSearchesParameter(searches: searchRequests))
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/MultiSearch.swift:21:173: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |     }
 20 |
 21 |     public func perform<T>(searchRequests: [MultiSearchCollectionParameters], commonParameters: MultiSearchParameters, for: T.Type) async throws -> (MultiSearchResult<T>?, URLResponse?) {
    |                                                                                                                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |         var searchQueryParams: [URLQueryItem] = []
 23 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Operations.swift:15:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func getHealth() async throws -> (HealthStatus?, URLResponse?) {
   |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         let (data, response) = try await apiCall.get(endPoint: "health")
17 |         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/Operations.swift:24:52: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     public func getStats() async throws -> (Data?, 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: "stats.json")
26 |         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/Operations.swift:29:54: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |     }
28 |
29 |     public func getMetrics() async throws -> (Data?, URLResponse?) {
   |                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         let (data, response) = try await apiCall.get(endPoint: "metrics.json")
31 |         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/Operations.swift:34:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |     }
33 |
34 |     public func getDebug() async throws -> (DebugRetrieveSchema?, 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 apiCall.get(endPoint: "debug")
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/Operations.swift:43:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     }
42 |
43 |     public func vote() async throws -> (SuccessStatus?, URLResponse?) {
   |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |         let (data, response) = try await apiCall.post(endPoint: "\(RESOURCEPATH)/vote", body: Data())
45 |         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/Operations.swift:52:107: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |     }
51 |
52 |     public func snapshot(path: String? = "/tmp/typesense-data-snapshot") async throws -> (SuccessStatus?, URLResponse?) {
   |                                                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |         let snapshotQueryParam = URLQueryItem(name: "snapshot_path", value: path)
54 |         let (data, response) = try await apiCall.post(endPoint: "\(RESOURCEPATH)/snapshot", body: Data(), queryParameters: [snapshotQueryParam])
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Operations.swift:62:87: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 |     }
61 |
62 |     public func toggleSlowRequestLog(seconds: Float) async throws -> (SuccessStatus?, URLResponse?) {
   |                                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |         let durationInMs = seconds * 1000
64 |         let slowReq = SlowRequest(durationInMs)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Operations.swift:74:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
72 |     }
73 |
74 |     public func clearCache() async throws -> (SuccessStatus?, URLResponse?) {
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |         let (data, response) = try await apiCall.post(endPoint: "\(RESOURCEPATH)/cache/clear", body: Data())
76 |         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/Override.swift:18:97: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     }
17 |
18 |     public func retrieve<T: Codable>(metadataType: T.Type) async throws -> (SearchOverride<T>?, URLResponse?) {
   |                                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
20 |         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/Override.swift:28:74: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     }
27 |
28 |     public func delete() async throws -> (SearchOverrideDeleteResponse?, URLResponse?) {
   |                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         let (data, response) = try await apiCall.delete(endPoint: endpointPath())
30 |         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/Overrides.swift:17:126: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     public func upsert<T: Codable>(overrideId: String, params: SearchOverrideSchema<T>) async throws -> (SearchOverride<T>?, URLResponse?) {
   |                                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         let schemaData = try encoder.encode(params)
19 |         let (data, response) = try await self.apiCall.put(endPoint: endpointPath(overrideId), 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/Overrides.swift:29:106: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |     }
28 |
29 |     public func retrieve<T: Codable>(metadataType: T.Type) async throws -> (SearchOverridesResponse<T>?, URLResponse?) {
   |                                                                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
31 |         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/Preset.swift:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     public func retrieve() async throws -> (PresetSchema?, URLResponse?) {
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
18 |         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/Preset.swift:25:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func delete() async throws -> (PresetDeleteSchema?, 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 apiCall.delete(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/Presets.swift:15:104: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func upsert(presetName: String, params: PresetUpsertSchema) async throws -> (PresetSchema?, 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(presetName), 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/Presets.swift:25:69: 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 -> (PresetsRetrieveSchema?, 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/Shared/Coders.swift:61:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
59 |
60 | @available(iOS, deprecated: 15.0, message: "Use the built-in API instead")
61 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
62 |     func data(for req: URLRequest) async throws -> (Data, URLResponse) {
63 |         try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/Typesense/Stopword.swift:16:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     public func retrieve() async throws -> (StopwordsSetSchema?, URLResponse?) {
   |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
18 |         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/Stopword.swift:25:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     public func delete() async throws -> (StopwordsSetDeleteSchema?, 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 apiCall.delete(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/Stopwords.swift:15:120: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func upsert(stopwordsSetId: String, params: StopwordsSetUpsertSchema) async throws -> (StopwordsSetSchema?, 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(stopwordsSetId), 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/Stopwords.swift:25:68: 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 -> ([StopwordsSetSchema]?, 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/Synonyms.swift:15:107: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     }
14 |
15 |     public func upsert(id: String, _ searchSynonym: SearchSynonymSchema) async throws -> (SearchSynonym?, 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 |         schemaData = try encoder.encode(searchSynonym)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/Synonyms.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 retrieve(id: String) async throws -> (SearchSynonym?, 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: endpointPath(id))
32 |         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/Synonyms.swift:39:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |     }
38 |
39 |     public func retrieve() async throws -> (SearchSynonymsResponse?, 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 apiCall.get(endPoint: endpointPath())
41 |         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/Synonyms.swift:48:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
48 |     public func delete(id: String) async throws -> (Data?, URLResponse?) {
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         let (data, response) = try await apiCall.get(endPoint: endpointPath())
50 |         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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Typesense/Alias.swift /host/spi-builder-workspace/Sources/Typesense/Analytics.swift /host/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift /host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift /host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift /host/spi-builder-workspace/Sources/Typesense/ApiCall.swift /host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift /host/spi-builder-workspace/Sources/Typesense/Client.swift /host/spi-builder-workspace/Sources/Typesense/Collection.swift /host/spi-builder-workspace/Sources/Typesense/Collections.swift /host/spi-builder-workspace/Sources/Typesense/Configuration.swift /host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift /host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift /host/spi-builder-workspace/Sources/Typesense/Conversations.swift /host/spi-builder-workspace/Sources/Typesense/Document.swift /host/spi-builder-workspace/Sources/Typesense/Documents.swift /host/spi-builder-workspace/Sources/Typesense/Errors.swift /host/spi-builder-workspace/Sources/Typesense/Models/AnalyticsEventCreateResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/AnalyticsEventCreateSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/AnalyticsRuleDeleteResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/AnalyticsRuleParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/AnalyticsRuleParametersDestination.swift /host/spi-builder-workspace/Sources/Typesense/Models/AnalyticsRuleParametersSource.swift /host/spi-builder-workspace/Sources/Typesense/Models/AnalyticsRuleParametersSourceEvents.swift /host/spi-builder-workspace/Sources/Typesense/Models/AnalyticsRuleSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/AnalyticsRuleUpsertSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/AnalyticsRulesRetrieveSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/ApiKey.swift /host/spi-builder-workspace/Sources/Typesense/Models/ApiKeySchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/ApiKeysResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/ApiResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/CollectionAlias.swift /host/spi-builder-workspace/Sources/Typesense/Models/CollectionAliasSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/CollectionAliasesResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/CollectionResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/CollectionSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/CollectionUpdateSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/ConversationModelCreateSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/ConversationModelSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/ConversationModelUpdateSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/DebugRetrieveSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/DeleteDocumentsParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/DeleteDocumentsResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/DocumentIndexParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/ExportDocumentsParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/FacetCounts.swift /host/spi-builder-workspace/Sources/Typesense/Models/FacetCountsCounts.swift /host/spi-builder-workspace/Sources/Typesense/Models/FacetCountsStats.swift /host/spi-builder-workspace/Sources/Typesense/Models/Field.swift /host/spi-builder-workspace/Sources/Typesense/Models/FieldEmbed.swift /host/spi-builder-workspace/Sources/Typesense/Models/FieldEmbedModelConfig.swift /host/spi-builder-workspace/Sources/Typesense/Models/HealthStatus.swift /host/spi-builder-workspace/Sources/Typesense/Models/ImportDocumentsParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/InlineResponse2002.swift /host/spi-builder-workspace/Sources/Typesense/Models/ModelErrorResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/MultiSearchCollectionParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/MultiSearchParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/MultiSearchResult.swift /host/spi-builder-workspace/Sources/Typesense/Models/MultiSearchSearchesParameter.swift /host/spi-builder-workspace/Sources/Typesense/Models/PresetDeleteSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/PresetSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/PresetUpsertSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/PresetValue.swift /host/spi-builder-workspace/Sources/Typesense/Models/PresetsRetrieveSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/ScopedKeyParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchGroupedHit.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchHighlight.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchOverride.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchOverrideDeleteResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchOverrideExclude.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchOverrideInclude.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchOverrideRule.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchOverrideSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchOverridesResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchResult.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchResultConversation.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchResultHit.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchResultRequestParams.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchResultRequestParamsVoiceQuery.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchSynonym.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchSynonymSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/SearchSynonymsResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/SnapshotParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/StopwordsSetDeleteSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/StopwordsSetRetrieveSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/StopwordsSetSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/StopwordsSetUpsertSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/StopwordsSetsRetrieveAllSchema.swift /host/spi-builder-workspace/Sources/Typesense/Models/SuccessStatus.swift /host/spi-builder-workspace/Sources/Typesense/Models/UpdateByFilterResponse.swift /host/spi-builder-workspace/Sources/Typesense/Models/UpdateDocumentsByFilterParameters.swift /host/spi-builder-workspace/Sources/Typesense/Models/VoiceQueryModelCollectionConfig.swift /host/spi-builder-workspace/Sources/Typesense/MultiSearch.swift /host/spi-builder-workspace/Sources/Typesense/Node.swift /host/spi-builder-workspace/Sources/Typesense/Operations.swift /host/spi-builder-workspace/Sources/Typesense/Override.swift /host/spi-builder-workspace/Sources/Typesense/Overrides.swift /host/spi-builder-workspace/Sources/Typesense/Preset.swift /host/spi-builder-workspace/Sources/Typesense/Presets.swift /host/spi-builder-workspace/Sources/Typesense/RequestTypes.swift /host/spi-builder-workspace/Sources/Typesense/Shared/Coders.swift /host/spi-builder-workspace/Sources/Typesense/Shared/Enums.swift /host/spi-builder-workspace/Sources/Typesense/Shared/Logger.swift /host/spi-builder-workspace/Sources/Typesense/Shared/RequestNumber.swift /host/spi-builder-workspace/Sources/Typesense/Stopword.swift /host/spi-builder-workspace/Sources/Typesense/Stopwords.swift /host/spi-builder-workspace/Sources/Typesense/Synonyms.swift /host/spi-builder-workspace/Sources/Typesense/utils/CreateURLQueryParams.swift /host/spi-builder-workspace/Sources/Typesense/utils/Extensions.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Typesense.build/Debug-webassembly-wasm32/Typesense-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Typesense.build/Debug-webassembly-wasm32/Typesense-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Typesense.build/Debug-webassembly-wasm32/Typesense-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Typesense -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Typesense.build/Debug-webassembly-wasm32/Typesense-t.build/Objects-normal/wasm32/Typesense_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Typesense.build/Debug-webassembly-wasm32/Typesense-t.build/Objects-normal/wasm32/Modules/Typesense.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Typesense.build/Debug-webassembly-wasm32/Typesense-t.build/Objects-normal/wasm32/Modules/Typesense.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Typesense.build/Debug-webassembly-wasm32/Typesense-t.build/Objects-normal/wasm32/Typesense-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Typesense.build/Debug-webassembly-wasm32/Typesense-t.build/Objects-normal/wasm32/Typesense-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Typesense.build/Debug-webassembly-wasm32/Typesense-t.build/Objects-normal/wasm32/Typesense-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Typesense.build/Debug-webassembly-wasm32/Typesense-t.build/Objects-normal/wasm32/Modules/Typesense.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm