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>&1Build 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: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m14 |[0;0m public func upsert(name: String, collection: CollectionAliasSchema) async throws -> (CollectionAlias?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m let schemaData = try encoder.encode(collection)
[0;36m16 |[0;0m let (data, response) = try await apiCall.put(endPoint: endpointPath(name), body: schemaData)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:24:75: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m }
[0;36m23 |[0;0m
[0;36m24 |[0;0m public func retrieve(name: String) async throws -> (CollectionAlias?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath(name))
[0;36m26 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:33:73: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m }
[0;36m32 |[0;0m
[0;36m33 |[0;0m public func retrieve() async throws -> (CollectionAliasesResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m34 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath())
[0;36m35 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Alias.swift:42:73: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m
[0;36m42 |[0;0m public func delete(name: String) async throws -> (CollectionAlias?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m let (data, response) = try await apiCall.delete(endPoint: endpointPath(name))
[0;36m44 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:14:125: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m14 |[0;0m public func create<T: Encodable>(params: AnalyticsEventCreateSchema<T>) async throws -> (AnalyticsEventCreateResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m let json = try encoder.encode(params)
[0;36m16 |[0;0m let (data, response) = try await self.apiCall.post(endPoint: AnalyticsEvents.resourcePath, body: json)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:14:67: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m14 |[0;0m public func retrieve() async throws -> (AnalyticsRuleSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
[0;36m16 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRule.swift:23:73: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m public func delete() async throws -> (AnalyticsRuleDeleteResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
[0;36m25 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:15:92: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public func upsert(params: AnalyticsRuleSchema) async throws -> (AnalyticsRuleSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m let ruleData = try encoder.encode(params)
[0;36m17 |[0;0m let (data, response) = try await self.apiCall.put(endPoint: endpointPath(params.name), body: ruleData)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:26:79: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m }
[0;36m25 |[0;0m
[0;36m26 |[0;0m public func retrieveAll() async throws -> (AnalyticsRulesRetrieveSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
[0;36m28 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:39:96: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m37 |[0;0m //Various request types' implementation
[0;36m38 |[0;0m
[0;36m39 |[0;0m func get(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m let (data, response) = try await self.performRequest(requestType: RequestType.get, endpoint: endPoint, queryParameters: queryParameters)
[0;36m41 |[0;0m return (data, response)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:44:99: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m }
[0;36m43 |[0;0m
[0;36m44 |[0;0m func delete(endPoint: String, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m let (data, response) = try await self.performRequest(requestType: RequestType.delete, endpoint: endPoint, queryParameters: queryParameters)
[0;36m46 |[0;0m return (data, response)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:49:109: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m func post(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m let (data, response) = try await self.performRequest(requestType: RequestType.post, endpoint: endPoint, body: body, queryParameters: queryParameters)
[0;36m51 |[0;0m return (data, response)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:54:108: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m52 |[0;0m }
[0;36m53 |[0;0m
[0;36m54 |[0;0m func put(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m let (data, response) = try await self.performRequest(requestType: RequestType.put, endpoint: endPoint, body: body, queryParameters: queryParameters)
[0;36m56 |[0;0m return (data, response)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:59:110: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m
[0;36m59 |[0;0m func patch(endPoint: String, body: Data, queryParameters: [URLQueryItem]? = nil) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m let (data, response) = try await self.performRequest(requestType: RequestType.patch, endpoint: endPoint, body: body, queryParameters: queryParameters)
[0;36m61 |[0;0m return (data, response)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:65:151: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m
[0;36m64 |[0;0m //Actual API Call
[0;36m65 |[0;0m func performRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil) async throws -> (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m66 |[0;0m let requestNumber = Date().millisecondsSince1970
[0;36m67 |[0;0m logger.log("Request #\(requestNumber): Performing \(requestType.rawValue) request: /\(endpoint)")
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ApiCall.swift:118:158: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m116 |[0;0m
[0;36m117 |[0;0m //Bundles a URL Request
[0;36m118 |[0;0m func prepareRequest(requestType: RequestType, endpoint: String, body: Data? = nil, queryParameters: [URLQueryItem]? = nil, selectedNode: Node) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m119 |[0;0m
[0;36m120 |[0;0m let urlString = uriFor(endpoint: endpoint, node: selectedNode)
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:15:77: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public func create(_ keySchema: ApiKeySchema) async throws -> (ApiKey?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m var schemaData: Data? = nil
[0;36m17 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:31:61: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m }
[0;36m30 |[0;0m
[0;36m31 |[0;0m public func retrieve(id: Int) async throws -> (ApiKey?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:42:63: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m
[0;36m42 |[0;0m public func retrieve() async throws -> (ApiKeysResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m
[0;36m44 |[0;0m let (data, response) = try await apiCall.get(endPoint: "\(RESOURCEPATH)")
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ApiKeys.swift:53:57: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m }
[0;36m52 |[0;0m
[0;36m53 |[0;0m public func delete(id: Int) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m
[0;36m55 |[0;0m let (data, response) = try await apiCall.delete(endPoint: "\(RESOURCEPATH)/\(id)")
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:24:64: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m }
[0;36m23 |[0;0m
[0;36m24 |[0;0m public func delete() async throws -> (CollectionResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m let (data, response) = try await apiCall.delete(endPoint: endpointPath())
[0;36m26 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Collection.swift:33:66: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m }
[0;36m32 |[0;0m
[0;36m33 |[0;0m public func retrieve() async throws -> (CollectionResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m34 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath())
[0;36m35 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:15:88: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public func create(schema: CollectionSchema) async throws -> (CollectionResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m var schemaData: Data? = nil
[0;36m17 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Collections.swift:30:71: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m28 |[0;0m }
[0;36m29 |[0;0m
[0;36m30 |[0;0m public func retrieveAll() async throws -> ([CollectionResponse]?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m let (data, response) = try await apiCall.get(endPoint: Collections.RESOURCEPATH)
[0;36m32 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:15:106: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public func update(params: ConversationModelUpdateSchema) async throws -> (ConversationModelSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m let schemaData = try encoder.encode(params)
[0;36m17 |[0;0m let (data, response) = try await self.apiCall.put(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:25:71: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func retrieve() async throws -> (ConversationModelSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
[0;36m27 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ConversationModel.swift:34:69: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m }
[0;36m33 |[0;0m
[0;36m34 |[0;0m public func delete() async throws -> (ConversationModelSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m let (data, response) = try await self.apiCall.delete(endPoint: endpointPath())
[0;36m36 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:15:106: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public func create(params: ConversationModelCreateSchema) async throws -> (ConversationModelSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m let schemaData = try encoder.encode(params)
[0;36m17 |[0;0m let (data, response) = try await self.apiCall.post(endPoint: endpointPath(), body: schemaData)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/ConversationModels.swift:25:73: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func retrieve() async throws -> ([ConversationModelSchema]?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
[0;36m27 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Document.swift:18:50: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
[0;36m18 |[0;0m public func delete() async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m let (data, response) = try await apiCall.delete(endPoint: endpointPath())
[0;36m20 |[0;0m return (data, response)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Document.swift:23:52: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m public func retrieve() async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath())
[0;36m25 |[0;0m return (data, response)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Document.swift:28:108: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m }
[0;36m27 |[0;0m
[0;36m28 |[0;0m public func update(newDocument: Data, options: DocumentIndexParameters? = nil) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m let queryParams = try createURLQuery(forSchema: options)
[0;36m30 |[0;0m let (data, response) = try await apiCall.patch(endPoint: endpointPath(), body: newDocument, queryParameters: queryParams)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:16:105: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m }
[0;36m15 |[0;0m
[0;36m16 |[0;0m public func create(document: Data, options: DocumentIndexParameters? = nil) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m let queryParams = try createURLQuery(forSchema: options)
[0;36m18 |[0;0m let (data, response) = try await apiCall.post(endPoint: endpointPath(), body: document, queryParameters: queryParams)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:22:105: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m }
[0;36m21 |[0;0m
[0;36m22 |[0;0m public func upsert(document: Data, options: DocumentIndexParameters? = nil) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m var queryParams = try createURLQuery(forSchema: options)
[0;36m24 |[0;0m queryParams.append(URLQueryItem(name: "action", value: "upsert"))
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:29:111: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m }
[0;36m28 |[0;0m
[0;36m29 |[0;0m public func update<T: Codable>(document: T, options: DocumentIndexParameters? = nil) async throws -> (T?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m var queryParams = try createURLQuery(forSchema: options)
[0;36m31 |[0;0m queryParams.append(URLQueryItem(name: "action", value: "update"))
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:41:137: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
[0;36m41 |[0;0m public func update<T: Encodable>(document: T, options: UpdateDocumentsByFilterParameters) async throws -> (UpdateByFilterResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m let queryParams = try createURLQuery(forSchema: options)
[0;36m43 |[0;0m let jsonData = try encoder.encode(document)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:52:103: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m }
[0;36m51 |[0;0m
[0;36m52 |[0;0m public func delete(options: DeleteDocumentsParameters) async throws -> (DeleteDocumentsResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m53 |[0;0m let queryParams = try createURLQuery(forSchema: options)
[0;36m54 |[0;0m let (data, response) = try await apiCall.delete(endPoint: endpointPath(), queryParameters: queryParams)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:63:87: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m @available(*, deprecated, message: "Use `delete(options: DeleteDocumentsParameters)` instead!")
[0;36m63 |[0;0m public func delete(filter: String, batchSize: Int? = nil) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m64 |[0;0m var deleteQueryParams: [URLQueryItem] =
[0;36m65 |[0;0m [
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:76:86: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m74 |[0;0m }
[0;36m75 |[0;0m
[0;36m76 |[0;0m public func search(_ searchParameters: SearchParameters) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m77 |[0;0m let queryParams = try createURLQuery(forSchema: searchParameters)
[0;36m78 |[0;0m return try await apiCall.get(endPoint: endpointPath("search"), queryParameters: queryParams)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:81:113: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m }
[0;36m80 |[0;0m
[0;36m81 |[0;0m public func search<T>(_ searchParameters: SearchParameters, for: T.Type) async throws -> (SearchResult<T>?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m82 |[0;0m var searchQueryParams: [URLQueryItem] = []
[0;36m83 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:318:108: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m316 |[0;0m }
[0;36m317 |[0;0m
[0;36m318 |[0;0m public func importBatch(_ documents: Data, options: ImportDocumentsParameters) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m319 |[0;0m let queryParams = try createURLQuery(forSchema: options)
[0;36m320 |[0;0m let (data, response) = try await apiCall.post(endPoint: endpointPath("import"), body: documents, queryParameters: queryParams)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:325:115: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m323 |[0;0m
[0;36m324 |[0;0m @available(*, deprecated, message: "Use `importBatch(_ documents: Data, options: ImportDocumentsParameters)` instead!")
[0;36m325 |[0;0m public func importBatch(_ documents: Data, action: ActionModes? = ActionModes.create) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m326 |[0;0m var importAction = URLQueryItem(name: "action", value: "create")
[0;36m327 |[0;0m if let specifiedAction = action {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Documents.swift:334:91: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m332 |[0;0m }
[0;36m333 |[0;0m
[0;36m334 |[0;0m public func export(options: ExportDocumentsParameters? = nil) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m335 |[0;0m let searchQueryParams = try createURLQuery(forSchema: options)
[0;36m336 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath("export"), queryParameters: searchQueryParams)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/MultiSearch.swift:14:141: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m14 |[0;0m public func perform(searchRequests: [MultiSearchCollectionParameters], commonParameters: MultiSearchParameters) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m let queryParams = try createURLQuery(forSchema: commonParameters)
[0;36m16 |[0;0m let searchesData = try encoder.encode(MultiSearchSearchesParameter(searches: searchRequests))
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/MultiSearch.swift:21:173: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m }
[0;36m20 |[0;0m
[0;36m21 |[0;0m public func perform<T>(searchRequests: [MultiSearchCollectionParameters], commonParameters: MultiSearchParameters, for: T.Type) async throws -> (MultiSearchResult<T>?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m var searchQueryParams: [URLQueryItem] = []
[0;36m23 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Operations.swift:15:61: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public func getHealth() async throws -> (HealthStatus?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m let (data, response) = try await apiCall.get(endPoint: "health")
[0;36m17 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Operations.swift:24:52: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m }
[0;36m23 |[0;0m
[0;36m24 |[0;0m public func getStats() async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m let (data, response) = try await apiCall.get(endPoint: "stats.json")
[0;36m26 |[0;0m return (data, response)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Operations.swift:29:54: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m }
[0;36m28 |[0;0m
[0;36m29 |[0;0m public func getMetrics() async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m let (data, response) = try await apiCall.get(endPoint: "metrics.json")
[0;36m31 |[0;0m return (data, response)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Operations.swift:34:67: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m }
[0;36m33 |[0;0m
[0;36m34 |[0;0m public func getDebug() async throws -> (DebugRetrieveSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m let (data, response) = try await apiCall.get(endPoint: "debug")
[0;36m36 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Operations.swift:43:57: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m }
[0;36m42 |[0;0m
[0;36m43 |[0;0m public func vote() async throws -> (SuccessStatus?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m let (data, response) = try await apiCall.post(endPoint: "\(RESOURCEPATH)/vote", body: Data())
[0;36m45 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Operations.swift:52:107: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m }
[0;36m51 |[0;0m
[0;36m52 |[0;0m public func snapshot(path: String? = "/tmp/typesense-data-snapshot") async throws -> (SuccessStatus?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m53 |[0;0m let snapshotQueryParam = URLQueryItem(name: "snapshot_path", value: path)
[0;36m54 |[0;0m let (data, response) = try await apiCall.post(endPoint: "\(RESOURCEPATH)/snapshot", body: Data(), queryParameters: [snapshotQueryParam])
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Operations.swift:62:87: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m }
[0;36m61 |[0;0m
[0;36m62 |[0;0m public func toggleSlowRequestLog(seconds: Float) async throws -> (SuccessStatus?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m let durationInMs = seconds * 1000
[0;36m64 |[0;0m let slowReq = SlowRequest(durationInMs)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Operations.swift:74:63: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m72 |[0;0m }
[0;36m73 |[0;0m
[0;36m74 |[0;0m public func clearCache() async throws -> (SuccessStatus?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m75 |[0;0m let (data, response) = try await apiCall.post(endPoint: "\(RESOURCEPATH)/cache/clear", body: Data())
[0;36m76 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Override.swift:18:97: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
[0;36m18 |[0;0m public func retrieve<T: Codable>(metadataType: T.Type) async throws -> (SearchOverride<T>?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath())
[0;36m20 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Override.swift:28:74: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m }
[0;36m27 |[0;0m
[0;36m28 |[0;0m public func delete() async throws -> (SearchOverrideDeleteResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m let (data, response) = try await apiCall.delete(endPoint: endpointPath())
[0;36m30 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Overrides.swift:17:126: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m }
[0;36m16 |[0;0m
[0;36m17 |[0;0m public func upsert<T: Codable>(overrideId: String, params: SearchOverrideSchema<T>) async throws -> (SearchOverride<T>?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m let schemaData = try encoder.encode(params)
[0;36m19 |[0;0m let (data, response) = try await self.apiCall.put(endPoint: endpointPath(overrideId), body: schemaData)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Overrides.swift:29:106: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m }
[0;36m28 |[0;0m
[0;36m29 |[0;0m public func retrieve<T: Codable>(metadataType: T.Type) async throws -> (SearchOverridesResponse<T>?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
[0;36m31 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Preset.swift:16:60: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m }
[0;36m15 |[0;0m
[0;36m16 |[0;0m public func retrieve() async throws -> (PresetSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath())
[0;36m18 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Preset.swift:25:64: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func delete() async throws -> (PresetDeleteSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m let (data, response) = try await apiCall.delete(endPoint: endpointPath())
[0;36m27 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Presets.swift:15:104: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public func upsert(presetName: String, params: PresetUpsertSchema) async throws -> (PresetSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m let schemaData = try encoder.encode(params)
[0;36m17 |[0;0m let (data, response) = try await self.apiCall.put(endPoint: endpointPath(presetName), body: schemaData)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Presets.swift:25:69: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func retrieve() async throws -> (PresetsRetrieveSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
[0;36m27 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Shared/Coders.swift:61:1: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m59 |[0;0m
[0;36m60 |[0;0m @available(iOS, deprecated: 15.0, message: "Use the built-in API instead")
[0;36m61 |[0;0m extension [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m62 |[0;0m func data(for req: URLRequest) async throws -> (Data, URLResponse) {
[0;36m63 |[0;0m try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/Typesense/Stopword.swift:16:66: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m }
[0;36m15 |[0;0m
[0;36m16 |[0;0m public func retrieve() async throws -> (StopwordsSetSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath())
[0;36m18 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Stopword.swift:25:70: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func delete() async throws -> (StopwordsSetDeleteSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m let (data, response) = try await apiCall.delete(endPoint: endpointPath())
[0;36m27 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Stopwords.swift:15:120: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public func upsert(stopwordsSetId: String, params: StopwordsSetUpsertSchema) async throws -> (StopwordsSetSchema?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m let schemaData = try encoder.encode(params)
[0;36m17 |[0;0m let (data, response) = try await self.apiCall.put(endPoint: endpointPath(stopwordsSetId), body: schemaData)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Stopwords.swift:25:68: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func retrieve() async throws -> ([StopwordsSetSchema]?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m let (data, response) = try await self.apiCall.get(endPoint: endpointPath())
[0;36m27 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Synonyms.swift:15:107: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public func upsert(id: String, _ searchSynonym: SearchSynonymSchema) async throws -> (SearchSynonym?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m var schemaData: Data? = nil
[0;36m17 |[0;0m schemaData = try encoder.encode(searchSynonym)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Synonyms.swift:30:71: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m28 |[0;0m }
[0;36m29 |[0;0m
[0;36m30 |[0;0m public func retrieve(id: String) async throws -> (SearchSynonym?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath(id))
[0;36m32 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Synonyms.swift:39:70: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m37 |[0;0m }
[0;36m38 |[0;0m
[0;36m39 |[0;0m public func retrieve() async throws -> (SearchSynonymsResponse?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath())
[0;36m41 |[0;0m if let result = data {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Typesense/Synonyms.swift:48:60: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m }
[0;36m47 |[0;0m
[0;36m48 |[0;0m public func delete(id: String) async throws -> (Data?, [4;39mURLResponse[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m49 |[0;0m let (data, response) = try await apiCall.get(endPoint: endpointPath())
[0;36m50 |[0;0m return (data, response)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[#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