The Swift Package Index logo.Swift Package Index

Build Information

Failed to build meilisearch-vapor, reference main (d07102), with Swift 6.3 for Wasm on 20 Apr 2026 20:58:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sherlouk/meilisearch-vapor.git
Reference: main
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/Sherlouk/meilisearch-vapor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d071024 Fix Linux
Cloned https://github.com/Sherlouk/meilisearch-vapor.git
Revision (git rev-parse @):
d0710243206f7cd91ddf376eec16676308a29259
SUCCESS checkout https://github.com/Sherlouk/meilisearch-vapor.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Sherlouk/meilisearch-vapor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/meilisearch/meilisearch-swift.git
Fetching https://github.com/vapor/vapor.git
[1/7403] Fetching meilisearch-swift
[6516/84810] Fetching meilisearch-swift, vapor
Fetched https://github.com/meilisearch/meilisearch-swift.git from cache (2.41s)
Fetched https://github.com/vapor/vapor.git from cache (2.45s)
Computing version for https://github.com/meilisearch/meilisearch-swift.git
Computed https://github.com/meilisearch/meilisearch-swift.git at 0.17.0 (2.88s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.121.4 (0.69s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-service-context.git
[1/6058] Fetching swift-algorithms
[486/7334] Fetching swift-algorithms, swift-service-context
[1332/9154] Fetching swift-algorithms, swift-service-context, swift-atomics
[1635/11812] Fetching swift-algorithms, swift-service-context, swift-atomics, websocket-kit
[2709/18964] Fetching swift-algorithms, swift-service-context, swift-atomics, websocket-kit, swift-certificates
[3048/20767] Fetching swift-algorithms, swift-service-context, swift-atomics, websocket-kit, swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-service-context.git from cache (0.64s)
[16702/19491] Fetching swift-algorithms, swift-atomics, websocket-kit, swift-certificates, swift-asn1
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.70s)
Fetched https://github.com/vapor/websocket-kit.git from cache (0.70s)
[13314/15030] Fetching swift-algorithms, swift-atomics, swift-certificates
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
[15031/18217] Fetching swift-algorithms, swift-atomics, swift-certificates, swift-metrics
Fetched https://github.com/apple/swift-algorithms.git from cache (1.18s)
[9227/12159] Fetching swift-atomics, swift-certificates, swift-metrics
[9388/17923] Fetching swift-atomics, swift-certificates, swift-metrics, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-atomics.git from cache (1.19s)
[8122/16103] Fetching swift-certificates, swift-metrics, swift-distributed-tracing
Fetched https://github.com/apple/swift-certificates.git from cache (1.19s)
[1124/8951] Fetching swift-metrics, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
[3062/15586] Fetching swift-metrics, swift-distributed-tracing, swift-log
[15587/27694] Fetching swift-metrics, swift-distributed-tracing, swift-log, swift-nio-http2
[15951/34204] Fetching swift-metrics, swift-distributed-tracing, swift-log, swift-nio-http2, swift-nio-extras
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.24s)
[15108/28440] Fetching swift-metrics, swift-log, swift-nio-http2, swift-nio-extras
Fetched https://github.com/apple/swift-metrics.git from cache (1.18s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (1.17s)
[5351/18618] Fetching swift-nio-http2, swift-nio-extras
Fetching https://github.com/apple/swift-crypto.git
[7399/34037] Fetching swift-nio-http2, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.20s)
[6926/27527] Fetching swift-nio-http2, swift-nio-ssl
Fetching https://github.com/vapor/console-kit.git
[13797/44963] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto
[17876/128127] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, swift-nio
[18494/134798] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, swift-nio, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (0.93s)
[27161/128127] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, swift-nio
Fetching https://github.com/vapor/async-kit.git
[31435/130623] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, swift-nio, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.72s)
[33251/128127] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, swift-nio
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.14s)
[29224/116019] Fetching swift-nio-ssl, swift-crypto, swift-nio
Fetching https://github.com/vapor/multipart-kit.git
[40317/131722] Fetching swift-nio-ssl, swift-crypto, swift-nio, async-http-client
[52592/135386] Fetching swift-nio-ssl, swift-crypto, swift-nio, async-http-client, multipart-kit
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.65s)
[70167/119967] Fetching swift-crypto, swift-nio, async-http-client, multipart-kit
Fetched https://github.com/swift-server/async-http-client.git from cache (2.96s)
[55149/104264] Fetching swift-crypto, swift-nio, multipart-kit
Fetched https://github.com/apple/swift-crypto.git from cache (6.12s)
[50187/86828] Fetching swift-nio, multipart-kit
Fetched https://github.com/vapor/multipart-kit.git from cache (4.13s)
[55720/83164] Fetching swift-nio
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/apple/swift-nio.git from cache (12.84s)
[1/21409] Fetching routing-kit
Fetched https://github.com/vapor/routing-kit.git from cache (0.88s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (15.93s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.48s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.44s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (0.80s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.36s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.2 (0.36s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2843] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.33s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.82s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.35s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.41s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.0 (2.34s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.16.0 (0.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (0.79s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-system.git from cache (0.62s)
[1/23579] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.79s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.10.0 (2.80s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.59s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.47s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.41s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.42s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (1.87s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.27.0 (0.42s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (0.52s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
[1/1242] Fetching swift-http-structured-headers
[1243/2285] Fetching swift-http-structured-headers, swift-http-types
[1317/5030] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle
[4757/11277] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.38s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.39s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.39s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.48s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.90s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.40s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.46s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.44s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (0.44s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (3.53s)
Fetching https://github.com/apple/swift-configuration.git
[1/3222] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git from cache (2.79s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (4.96s)
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.43.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.121.4
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/meilisearch/meilisearch-swift.git
Working copy of https://github.com/meilisearch/meilisearch-swift.git resolved at 0.17.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.16.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.10.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.34.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.0
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.33.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.27.0
Building for debugging...
[0/861] Write sources
[16/861] Compiling _NumericsShims _NumericsShims.c
[17/861] Write sources
[19/861] Compiling _CWASI _CWASI.c
[20/861] Compiling CVaporBcrypt bcrypt.c
[21/861] Compiling _AtomicsShims.c
[22/861] Write sources
[28/861] Compiling CVaporBcrypt blf.c
[29/861] Write sources
[30/861] Write swift-version-24593BA9C3E375BF.txt
[31/861] Write sources
[49/954] Emitting module ServiceContextModule
[50/954] Emitting module Logging
[51/954] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/955] Emitting module MeiliSearch
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Config.swift:37:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |     host: String,
36 |     apiKey: String? = nil,
37 |     session: URLSessionProtocol? = URLSession.shared,
   |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     headers: [String: String] = [:]
39 |   ) {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:22:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |   }
 21 |
 22 |   static func errorHandler(url: URL, data: Data?, response: URLResponse?, error: Swift.Error?) throws {
    |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     // Communication Error with Meilisearch
 24 |     if let error: Swift.Error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:11:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 | public protocol URLSessionProtocol {
 10 |   /// Result for the `execute` function.
 11 |   typealias DataTask = (Data?, URLResponse?, Error?) -> Void
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |
 13 |   /// Function that will trigger the HTTP request.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:48:8: error: cannot find type 'URLRequest' in scope
 46 |     _ url: URL,
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
    |        `- error: cannot find type 'URLRequest' in scope
 49 |     var request = URLRequest(url: url)
 50 |     request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:208:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
206 | }
207 |
208 | extension URLSession: URLSessionProtocol {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
209 |   public func execute(
210 |     with request: URLRequest,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:216:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
214 | }
215 |
216 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
    | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
217 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[53/961] Compiling RealModule RelaxedArithmetic.swift
[54/961] Compiling MeiliSearch Pagination.swift
[55/961] Compiling MeiliSearch ProximityPrecision.swift
[56/963] Compiling MeiliSearch Config.swift
[57/963] Compiling MeiliSearch Constants.swift
[58/963] Compiling MeiliSearch Documents.swift
[59/963] Compiling MeiliSearch Dumps.swift
[60/963] Compiling MeiliSearch Error.swift
[61/963] Compiling RealModule Real.swift
[62/963] Compiling Logging LogHandler.swift
[63/963] Compiling RealModule Float80+Real.swift
[64/963] Compiling RealModule RealFunctions.swift
[65/963] Compiling MeiliSearch Formatter.swift
[66/963] Compiling MeiliSearch Indexes.swift
[67/963] Compiling MeiliSearch Client+async.swift
[68/963] Compiling MeiliSearch Indexes+async.swift
[71/963] Compiling MeiliSearch Client.swift
[72/963] Compiling Logging LogEvent.swift
[75/963] Compiling RealModule Float16+Real.swift
[78/964] Compiling ServiceContextModule ServiceContextKey.swift
[79/964] Compiling ServiceContextModule ServiceContext.swift
[82/965] Emitting module _NIOBase64
[83/965] Compiling _NIOBase64 Base64.swift
[83/965] Write sources
[86/966] Compiling _NIODataStructures PriorityQueue.swift
[87/966] Compiling _NIODataStructures _TinyArray.swift
[88/966] Write sources
[96/967] Emitting module _CertificateInternals
[97/967] Compiling _CertificateInternals _TinyArray.swift
[98/996] Write sources
[103/996] Compiling Instrumentation Instrument.swift
[103/996] Write sources
[104/996] Compiling CXKCPShims shims.c
[105/996] Compiling SimpleFIPS202.c
[107/996] Emitting module SwiftASN1
[108/996] Emitting module Instrumentation
[109/996] Compiling Instrumentation NoOpInstrument.swift
[109/996] Compiling KeccakSponge.c
[111/996] Compiling CoreMetrics WithMetricsFactory.swift
[112/996] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[113/996] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[114/996] Compiling Instrumentation MultiplexInstrument.swift
[115/998] Compiling InternalCollectionsUtilities _SortedCollection.swift
[116/998] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[117/998] Emitting module CoreMetrics
[118/998] Compiling InternalCollectionsUtilities Debugging.swift
[119/998] Compiling InternalCollectionsUtilities Descriptions.swift
[120/998] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[121/998] Compiling Instrumentation Locks.swift
[122/998] Compiling Instrumentation InstrumentationSystem.swift
[124/999] Compiling Logging MetadataProvider.swift
[125/999] Compiling Logging Locks.swift
[126/999] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[127/999] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[128/999] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[129/999] Compiling InternalCollectionsUtilities String+Padding.swift
[130/999] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[132/1007] Compiling _NIODataStructures Heap.swift
[133/1007] Emitting module _NIODataStructures
[134/1008] Compiling KeccakHash.c
[135/1008] Compiling CSystem shims.c
[136/1008] Compiling CNIOWindows shim.c
[138/1008] Compiling MeiliSearch DocumentsQuery.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:11:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 | public protocol URLSessionProtocol {
 10 |   /// Result for the `execute` function.
 11 |   typealias DataTask = (Data?, URLResponse?, Error?) -> Void
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |
 13 |   /// Function that will trigger the HTTP request.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:48:8: error: cannot find type 'URLRequest' in scope
 46 |     _ url: URL,
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
    |        `- error: cannot find type 'URLRequest' in scope
 49 |     var request = URLRequest(url: url)
 50 |     request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:208:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
206 | }
207 |
208 | extension URLSession: URLSessionProtocol {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
209 |   public func execute(
210 |     with request: URLRequest,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:216:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
214 | }
215 |
216 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
    | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
217 |
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:40:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 38 |   init(_ config: Config) {
 39 |     self.config = config
 40 |     self.session = config.session ?? URLSession.shared
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |     self.headers = config.headers
 42 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:49:19: error: cannot find 'URLRequest' in scope
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
 49 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 50 |     request.httpMethod = httpMethod.rawValue
 51 |     request.setValue(PackageVersion.qualifiedVersion(), forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:82:35: error: cannot infer contextual base in reference to member 'get'
 80 |         return
 81 |       }
 82 |       let request = self.request(.get, url)
    |                                   `- error: cannot infer contextual base in reference to member 'get'
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:85:72: error: argument type '_' expected to be an instance of a class or class-constrained type
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
 85 |           try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                        `- error: argument type '_' expected to be an instance of a class or class-constrained type
 86 |           completion(.success(data))
 87 |           return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:111:33: error: cannot infer contextual base in reference to member 'post'
109 |     }
110 |
111 |     let request = self.request(.post, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'post'
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:114:70: error: argument type '_' expected to be an instance of a class or class-constrained type
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
114 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
115 |         if let unwrappedData: Data = data {
116 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:137:33: error: cannot infer contextual base in reference to member 'put'
135 |       return
136 |     }
137 |     let request = self.request(.put, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'put'
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:140:70: error: argument type '_' expected to be an instance of a class or class-constrained type
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
140 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
141 |         if let unwrappedData: Data = data {
142 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:163:35: error: cannot infer contextual base in reference to member 'patch'
161 |       return
162 |     }
163 |       let request = self.request(.patch, url, data: data)
    |                                   `- error: cannot infer contextual base in reference to member 'patch'
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:166:70: error: argument type '_' expected to be an instance of a class or class-constrained type
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
166 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
167 |         if let unwrappedData: Data = data {
168 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:193:35: error: cannot infer contextual base in reference to member 'delete'
191 |       return
192 |     }
193 |       let request = self.request(.delete, url)
    |                                   `- error: cannot infer contextual base in reference to member 'delete'
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:196:70: error: argument type '_' expected to be an instance of a class or class-constrained type
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
196 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
197 |         completion(.success(data))
198 |         return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:210:19: error: cannot find type 'URLRequest' in scope
208 | extension URLSession: URLSessionProtocol {
209 |   public func execute(
210 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:34: error: cannot find type 'DataTask' in scope
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                                  `- error: cannot find type 'DataTask' in scope
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:24: error: '@escaping' only applies to function types
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                        `- error: '@escaping' only applies to function types
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[139/1008] Compiling MeiliSearch IndexesQuery.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:11:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 | public protocol URLSessionProtocol {
 10 |   /// Result for the `execute` function.
 11 |   typealias DataTask = (Data?, URLResponse?, Error?) -> Void
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |
 13 |   /// Function that will trigger the HTTP request.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:48:8: error: cannot find type 'URLRequest' in scope
 46 |     _ url: URL,
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
    |        `- error: cannot find type 'URLRequest' in scope
 49 |     var request = URLRequest(url: url)
 50 |     request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:208:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
206 | }
207 |
208 | extension URLSession: URLSessionProtocol {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
209 |   public func execute(
210 |     with request: URLRequest,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:216:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
214 | }
215 |
216 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
    | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
217 |
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:40:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 38 |   init(_ config: Config) {
 39 |     self.config = config
 40 |     self.session = config.session ?? URLSession.shared
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |     self.headers = config.headers
 42 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:49:19: error: cannot find 'URLRequest' in scope
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
 49 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 50 |     request.httpMethod = httpMethod.rawValue
 51 |     request.setValue(PackageVersion.qualifiedVersion(), forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:82:35: error: cannot infer contextual base in reference to member 'get'
 80 |         return
 81 |       }
 82 |       let request = self.request(.get, url)
    |                                   `- error: cannot infer contextual base in reference to member 'get'
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:85:72: error: argument type '_' expected to be an instance of a class or class-constrained type
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
 85 |           try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                        `- error: argument type '_' expected to be an instance of a class or class-constrained type
 86 |           completion(.success(data))
 87 |           return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:111:33: error: cannot infer contextual base in reference to member 'post'
109 |     }
110 |
111 |     let request = self.request(.post, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'post'
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:114:70: error: argument type '_' expected to be an instance of a class or class-constrained type
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
114 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
115 |         if let unwrappedData: Data = data {
116 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:137:33: error: cannot infer contextual base in reference to member 'put'
135 |       return
136 |     }
137 |     let request = self.request(.put, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'put'
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:140:70: error: argument type '_' expected to be an instance of a class or class-constrained type
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
140 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
141 |         if let unwrappedData: Data = data {
142 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:163:35: error: cannot infer contextual base in reference to member 'patch'
161 |       return
162 |     }
163 |       let request = self.request(.patch, url, data: data)
    |                                   `- error: cannot infer contextual base in reference to member 'patch'
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:166:70: error: argument type '_' expected to be an instance of a class or class-constrained type
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
166 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
167 |         if let unwrappedData: Data = data {
168 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:193:35: error: cannot infer contextual base in reference to member 'delete'
191 |       return
192 |     }
193 |       let request = self.request(.delete, url)
    |                                   `- error: cannot infer contextual base in reference to member 'delete'
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:196:70: error: argument type '_' expected to be an instance of a class or class-constrained type
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
196 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
197 |         completion(.success(data))
198 |         return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:210:19: error: cannot find type 'URLRequest' in scope
208 | extension URLSession: URLSessionProtocol {
209 |   public func execute(
210 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:34: error: cannot find type 'DataTask' in scope
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                                  `- error: cannot find type 'DataTask' in scope
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:24: error: '@escaping' only applies to function types
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                        `- error: '@escaping' only applies to function types
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[140/1008] Compiling MeiliSearch KeysQuery.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:11:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 | public protocol URLSessionProtocol {
 10 |   /// Result for the `execute` function.
 11 |   typealias DataTask = (Data?, URLResponse?, Error?) -> Void
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |
 13 |   /// Function that will trigger the HTTP request.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:48:8: error: cannot find type 'URLRequest' in scope
 46 |     _ url: URL,
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
    |        `- error: cannot find type 'URLRequest' in scope
 49 |     var request = URLRequest(url: url)
 50 |     request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:208:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
206 | }
207 |
208 | extension URLSession: URLSessionProtocol {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
209 |   public func execute(
210 |     with request: URLRequest,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:216:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
214 | }
215 |
216 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
    | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
217 |
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:40:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 38 |   init(_ config: Config) {
 39 |     self.config = config
 40 |     self.session = config.session ?? URLSession.shared
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |     self.headers = config.headers
 42 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:49:19: error: cannot find 'URLRequest' in scope
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
 49 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 50 |     request.httpMethod = httpMethod.rawValue
 51 |     request.setValue(PackageVersion.qualifiedVersion(), forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:82:35: error: cannot infer contextual base in reference to member 'get'
 80 |         return
 81 |       }
 82 |       let request = self.request(.get, url)
    |                                   `- error: cannot infer contextual base in reference to member 'get'
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:85:72: error: argument type '_' expected to be an instance of a class or class-constrained type
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
 85 |           try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                        `- error: argument type '_' expected to be an instance of a class or class-constrained type
 86 |           completion(.success(data))
 87 |           return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:111:33: error: cannot infer contextual base in reference to member 'post'
109 |     }
110 |
111 |     let request = self.request(.post, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'post'
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:114:70: error: argument type '_' expected to be an instance of a class or class-constrained type
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
114 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
115 |         if let unwrappedData: Data = data {
116 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:137:33: error: cannot infer contextual base in reference to member 'put'
135 |       return
136 |     }
137 |     let request = self.request(.put, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'put'
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:140:70: error: argument type '_' expected to be an instance of a class or class-constrained type
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
140 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
141 |         if let unwrappedData: Data = data {
142 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:163:35: error: cannot infer contextual base in reference to member 'patch'
161 |       return
162 |     }
163 |       let request = self.request(.patch, url, data: data)
    |                                   `- error: cannot infer contextual base in reference to member 'patch'
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:166:70: error: argument type '_' expected to be an instance of a class or class-constrained type
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
166 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
167 |         if let unwrappedData: Data = data {
168 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:193:35: error: cannot infer contextual base in reference to member 'delete'
191 |       return
192 |     }
193 |       let request = self.request(.delete, url)
    |                                   `- error: cannot infer contextual base in reference to member 'delete'
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:196:70: error: argument type '_' expected to be an instance of a class or class-constrained type
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
196 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
197 |         completion(.success(data))
198 |         return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:210:19: error: cannot find type 'URLRequest' in scope
208 | extension URLSession: URLSessionProtocol {
209 |   public func execute(
210 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:34: error: cannot find type 'DataTask' in scope
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                                  `- error: cannot find type 'DataTask' in scope
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:24: error: '@escaping' only applies to function types
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                        `- error: '@escaping' only applies to function types
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[141/1008] Compiling MeiliSearch Queryable.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:11:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 | public protocol URLSessionProtocol {
 10 |   /// Result for the `execute` function.
 11 |   typealias DataTask = (Data?, URLResponse?, Error?) -> Void
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |
 13 |   /// Function that will trigger the HTTP request.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:48:8: error: cannot find type 'URLRequest' in scope
 46 |     _ url: URL,
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
    |        `- error: cannot find type 'URLRequest' in scope
 49 |     var request = URLRequest(url: url)
 50 |     request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:208:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
206 | }
207 |
208 | extension URLSession: URLSessionProtocol {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
209 |   public func execute(
210 |     with request: URLRequest,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:216:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
214 | }
215 |
216 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
    | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
217 |
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:40:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 38 |   init(_ config: Config) {
 39 |     self.config = config
 40 |     self.session = config.session ?? URLSession.shared
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |     self.headers = config.headers
 42 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:49:19: error: cannot find 'URLRequest' in scope
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
 49 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 50 |     request.httpMethod = httpMethod.rawValue
 51 |     request.setValue(PackageVersion.qualifiedVersion(), forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:82:35: error: cannot infer contextual base in reference to member 'get'
 80 |         return
 81 |       }
 82 |       let request = self.request(.get, url)
    |                                   `- error: cannot infer contextual base in reference to member 'get'
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:85:72: error: argument type '_' expected to be an instance of a class or class-constrained type
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
 85 |           try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                        `- error: argument type '_' expected to be an instance of a class or class-constrained type
 86 |           completion(.success(data))
 87 |           return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:111:33: error: cannot infer contextual base in reference to member 'post'
109 |     }
110 |
111 |     let request = self.request(.post, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'post'
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:114:70: error: argument type '_' expected to be an instance of a class or class-constrained type
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
114 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
115 |         if let unwrappedData: Data = data {
116 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:137:33: error: cannot infer contextual base in reference to member 'put'
135 |       return
136 |     }
137 |     let request = self.request(.put, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'put'
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:140:70: error: argument type '_' expected to be an instance of a class or class-constrained type
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
140 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
141 |         if let unwrappedData: Data = data {
142 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:163:35: error: cannot infer contextual base in reference to member 'patch'
161 |       return
162 |     }
163 |       let request = self.request(.patch, url, data: data)
    |                                   `- error: cannot infer contextual base in reference to member 'patch'
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:166:70: error: argument type '_' expected to be an instance of a class or class-constrained type
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
166 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
167 |         if let unwrappedData: Data = data {
168 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:193:35: error: cannot infer contextual base in reference to member 'delete'
191 |       return
192 |     }
193 |       let request = self.request(.delete, url)
    |                                   `- error: cannot infer contextual base in reference to member 'delete'
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:196:70: error: argument type '_' expected to be an instance of a class or class-constrained type
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
196 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
197 |         completion(.success(data))
198 |         return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:210:19: error: cannot find type 'URLRequest' in scope
208 | extension URLSession: URLSessionProtocol {
209 |   public func execute(
210 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:34: error: cannot find type 'DataTask' in scope
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                                  `- error: cannot find type 'DataTask' in scope
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:24: error: '@escaping' only applies to function types
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                        `- error: '@escaping' only applies to function types
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[142/1008] Compiling MeiliSearch TasksQuery.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:11:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 | public protocol URLSessionProtocol {
 10 |   /// Result for the `execute` function.
 11 |   typealias DataTask = (Data?, URLResponse?, Error?) -> Void
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |
 13 |   /// Function that will trigger the HTTP request.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:48:8: error: cannot find type 'URLRequest' in scope
 46 |     _ url: URL,
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
    |        `- error: cannot find type 'URLRequest' in scope
 49 |     var request = URLRequest(url: url)
 50 |     request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:208:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
206 | }
207 |
208 | extension URLSession: URLSessionProtocol {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
209 |   public func execute(
210 |     with request: URLRequest,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:216:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
214 | }
215 |
216 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
    | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
217 |
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:40:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 38 |   init(_ config: Config) {
 39 |     self.config = config
 40 |     self.session = config.session ?? URLSession.shared
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |     self.headers = config.headers
 42 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:49:19: error: cannot find 'URLRequest' in scope
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
 49 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 50 |     request.httpMethod = httpMethod.rawValue
 51 |     request.setValue(PackageVersion.qualifiedVersion(), forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:82:35: error: cannot infer contextual base in reference to member 'get'
 80 |         return
 81 |       }
 82 |       let request = self.request(.get, url)
    |                                   `- error: cannot infer contextual base in reference to member 'get'
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:85:72: error: argument type '_' expected to be an instance of a class or class-constrained type
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
 85 |           try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                        `- error: argument type '_' expected to be an instance of a class or class-constrained type
 86 |           completion(.success(data))
 87 |           return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:111:33: error: cannot infer contextual base in reference to member 'post'
109 |     }
110 |
111 |     let request = self.request(.post, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'post'
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:114:70: error: argument type '_' expected to be an instance of a class or class-constrained type
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
114 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
115 |         if let unwrappedData: Data = data {
116 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:137:33: error: cannot infer contextual base in reference to member 'put'
135 |       return
136 |     }
137 |     let request = self.request(.put, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'put'
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:140:70: error: argument type '_' expected to be an instance of a class or class-constrained type
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
140 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
141 |         if let unwrappedData: Data = data {
142 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:163:35: error: cannot infer contextual base in reference to member 'patch'
161 |       return
162 |     }
163 |       let request = self.request(.patch, url, data: data)
    |                                   `- error: cannot infer contextual base in reference to member 'patch'
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:166:70: error: argument type '_' expected to be an instance of a class or class-constrained type
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
166 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
167 |         if let unwrappedData: Data = data {
168 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:193:35: error: cannot infer contextual base in reference to member 'delete'
191 |       return
192 |     }
193 |       let request = self.request(.delete, url)
    |                                   `- error: cannot infer contextual base in reference to member 'delete'
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:196:70: error: argument type '_' expected to be an instance of a class or class-constrained type
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
196 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
197 |         completion(.success(data))
198 |         return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:210:19: error: cannot find type 'URLRequest' in scope
208 | extension URLSession: URLSessionProtocol {
209 |   public func execute(
210 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:34: error: cannot find type 'DataTask' in scope
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                                  `- error: cannot find type 'DataTask' in scope
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:24: error: '@escaping' only applies to function types
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                        `- error: '@escaping' only applies to function types
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[143/1008] Compiling MeiliSearch Request.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:11:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 | public protocol URLSessionProtocol {
 10 |   /// Result for the `execute` function.
 11 |   typealias DataTask = (Data?, URLResponse?, Error?) -> Void
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |
 13 |   /// Function that will trigger the HTTP request.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:48:8: error: cannot find type 'URLRequest' in scope
 46 |     _ url: URL,
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
    |        `- error: cannot find type 'URLRequest' in scope
 49 |     var request = URLRequest(url: url)
 50 |     request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:208:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
206 | }
207 |
208 | extension URLSession: URLSessionProtocol {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
209 |   public func execute(
210 |     with request: URLRequest,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:216:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
214 | }
215 |
216 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
    | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
217 |
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:40:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 38 |   init(_ config: Config) {
 39 |     self.config = config
 40 |     self.session = config.session ?? URLSession.shared
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |     self.headers = config.headers
 42 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:49:19: error: cannot find 'URLRequest' in scope
 47 |     data: Data? = nil
 48 |   ) -> URLRequest {
 49 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 50 |     request.httpMethod = httpMethod.rawValue
 51 |     request.setValue(PackageVersion.qualifiedVersion(), forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:82:35: error: cannot infer contextual base in reference to member 'get'
 80 |         return
 81 |       }
 82 |       let request = self.request(.get, url)
    |                                   `- error: cannot infer contextual base in reference to member 'get'
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:85:72: error: argument type '_' expected to be an instance of a class or class-constrained type
 83 |       let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
 84 |         do {
 85 |           try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                        `- error: argument type '_' expected to be an instance of a class or class-constrained type
 86 |           completion(.success(data))
 87 |           return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:111:33: error: cannot infer contextual base in reference to member 'post'
109 |     }
110 |
111 |     let request = self.request(.post, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'post'
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:114:70: error: argument type '_' expected to be an instance of a class or class-constrained type
112 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
113 |       do {
114 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
115 |         if let unwrappedData: Data = data {
116 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:137:33: error: cannot infer contextual base in reference to member 'put'
135 |       return
136 |     }
137 |     let request = self.request(.put, url, data: data)
    |                                 `- error: cannot infer contextual base in reference to member 'put'
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:140:70: error: argument type '_' expected to be an instance of a class or class-constrained type
138 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
139 |       do {
140 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
141 |         if let unwrappedData: Data = data {
142 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:163:35: error: cannot infer contextual base in reference to member 'patch'
161 |       return
162 |     }
163 |       let request = self.request(.patch, url, data: data)
    |                                   `- error: cannot infer contextual base in reference to member 'patch'
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:166:70: error: argument type '_' expected to be an instance of a class or class-constrained type
164 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
165 |       do {
166 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
167 |         if let unwrappedData: Data = data {
168 |           completion(.success(unwrappedData))
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:193:35: error: cannot infer contextual base in reference to member 'delete'
191 |       return
192 |     }
193 |       let request = self.request(.delete, url)
    |                                   `- error: cannot infer contextual base in reference to member 'delete'
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:196:70: error: argument type '_' expected to be an instance of a class or class-constrained type
194 |     let task: URLSessionDataTaskProtocol = session.execute(with: request) { data, response, error in
195 |       do {
196 |         try MeiliSearch.errorHandler(url: url, data: data, response: response, error: error)
    |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
197 |         completion(.success(data))
198 |         return
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:210:19: error: cannot find type 'URLRequest' in scope
208 | extension URLSession: URLSessionProtocol {
209 |   public func execute(
210 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:34: error: cannot find type 'DataTask' in scope
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                                  `- error: cannot find type 'DataTask' in scope
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:211:24: error: '@escaping' only applies to function types
209 |   public func execute(
210 |     with request: URLRequest,
211 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
    |                        `- error: '@escaping' only applies to function types
212 |     self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
213 |   }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[144/1008] Compiling MeiliSearch TypoTolerance.swift
[145/1008] Compiling MeiliSearch TypoToleranceResult.swift
[146/1008] Compiling MeiliSearch Version.swift
[147/1008] Compiling MeiliSearch WaitOptions.swift
[148/1008] Compiling MeiliSearch CancelTasksQuery.swift
[149/1008] Compiling MeiliSearch DeleteTasksQuery.swift
[150/1008] Compiling MeiliSearch Stat.swift
[151/1008] Compiling MeiliSearch Task.swift
[152/1008] Compiling MeiliSearch TaskDetails.swift
[153/1008] Compiling MeiliSearch TaskInfo.swift
[154/1008] Compiling MeiliSearch TaskStatus.swift
[155/1008] Compiling MeiliSearch TaskType.swift
[156/1008] Compiling MeiliSearch TasksResults.swift
[157/1008] Compiling MeiliSearch Search.swift
[158/1008] Compiling MeiliSearch Settings.swift
[159/1008] Compiling MeiliSearch Snapshots.swift
[160/1008] Compiling MeiliSearch Stats.swift
[161/1008] Compiling MeiliSearch System.swift
[162/1008] Compiling MeiliSearch Tasks.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Config.swift:37:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |     host: String,
36 |     apiKey: String? = nil,
37 |     session: URLSessionProtocol? = URLSession.shared,
   |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     headers: [String: String] = [:]
39 |   ) {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Config.swift:37:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |     host: String,
36 |     apiKey: String? = nil,
37 |     session: URLSessionProtocol? = URLSession.shared,
   |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     headers: [String: String] = [:]
39 |   ) {
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Config.swift:37:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |     host: String,
36 |     apiKey: String? = nil,
37 |     session: URLSessionProtocol? = URLSession.shared,
   |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     headers: [String: String] = [:]
39 |   ) {
[166/1008] Compiling InternalCollectionsUtilities LifetimeOverride.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Config.swift:37:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |     host: String,
36 |     apiKey: String? = nil,
37 |     session: URLSessionProtocol? = URLSession.shared,
   |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     headers: [String: String] = [:]
39 |   ) {
[167/1008] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Config.swift:37:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |     host: String,
36 |     apiKey: String? = nil,
37 |     session: URLSessionProtocol? = URLSession.shared,
   |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     headers: [String: String] = [:]
39 |   ) {
[168/1008] Compiling InternalCollectionsUtilities Span+Extras.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Config.swift:37:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |     host: String,
36 |     apiKey: String? = nil,
37 |     session: URLSessionProtocol? = URLSession.shared,
   |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     headers: [String: String] = [:]
39 |   ) {
[169/1008] Compiling InternalCollectionsUtilities Integer rank.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Request.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |   /// Function that will trigger the HTTP request.
 14 |   func execute(
 15 |     with request: URLRequest,
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |     completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol
 17 | }
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Config.swift:37:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |     host: String,
36 |     apiKey: String? = nil,
37 |     session: URLSessionProtocol? = URLSession.shared,
   |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     headers: [String: String] = [:]
39 |   ) {
[170/1008] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:22:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |   }
 21 |
 22 |   static func errorHandler(url: URL, data: Data?, response: URLResponse?, error: Swift.Error?) throws {
    |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     // Communication Error with Meilisearch
 24 |     if let error: Swift.Error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:31:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }
 30 |
 31 |     guard let response = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       fatalError("Correct handles invalid response, please create a custom error type")
 33 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:45:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 43 |           link: res.link
 44 |         ),
 45 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 46 |         url: url.absoluteString
 47 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:51:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 49 |
 50 |     // HTTP error with Meilisearch
 51 |     if 400 ... 599 ~= response.statusCode {
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:34: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                  `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:55:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 56 |         url: url.absoluteString
 57 |       )
[171/1008] Compiling InternalCollectionsUtilities UInt+reversed.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:22:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |   }
 21 |
 22 |   static func errorHandler(url: URL, data: Data?, response: URLResponse?, error: Swift.Error?) throws {
    |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     // Communication Error with Meilisearch
 24 |     if let error: Swift.Error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:31:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }
 30 |
 31 |     guard let response = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       fatalError("Correct handles invalid response, please create a custom error type")
 33 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:45:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 43 |           link: res.link
 44 |         ),
 45 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 46 |         url: url.absoluteString
 47 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:51:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 49 |
 50 |     // HTTP error with Meilisearch
 51 |     if 400 ... 599 ~= response.statusCode {
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:34: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                  `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:55:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 56 |         url: url.absoluteString
 57 |       )
[172/1008] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:22:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |   }
 21 |
 22 |   static func errorHandler(url: URL, data: Data?, response: URLResponse?, error: Swift.Error?) throws {
    |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     // Communication Error with Meilisearch
 24 |     if let error: Swift.Error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:31:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }
 30 |
 31 |     guard let response = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       fatalError("Correct handles invalid response, please create a custom error type")
 33 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:45:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 43 |           link: res.link
 44 |         ),
 45 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 46 |         url: url.absoluteString
 47 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:51:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 49 |
 50 |     // HTTP error with Meilisearch
 51 |     if 400 ... 599 ~= response.statusCode {
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:34: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                  `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:55:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 56 |         url: url.absoluteString
 57 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:22:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |   }
 21 |
 22 |   static func errorHandler(url: URL, data: Data?, response: URLResponse?, error: Swift.Error?) throws {
    |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     // Communication Error with Meilisearch
 24 |     if let error: Swift.Error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:31:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }
 30 |
 31 |     guard let response = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       fatalError("Correct handles invalid response, please create a custom error type")
 33 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:45:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 43 |           link: res.link
 44 |         ),
 45 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 46 |         url: url.absoluteString
 47 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:51:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 49 |
 50 |     // HTTP error with Meilisearch
 51 |     if 400 ... 599 ~= response.statusCode {
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:34: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                  `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:55:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 56 |         url: url.absoluteString
 57 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:22:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |   }
 21 |
 22 |   static func errorHandler(url: URL, data: Data?, response: URLResponse?, error: Swift.Error?) throws {
    |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     // Communication Error with Meilisearch
 24 |     if let error: Swift.Error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:31:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }
 30 |
 31 |     guard let response = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       fatalError("Correct handles invalid response, please create a custom error type")
 33 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:45:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 43 |           link: res.link
 44 |         ),
 45 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 46 |         url: url.absoluteString
 47 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:51:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 49 |
 50 |     // HTTP error with Meilisearch
 51 |     if 400 ... 599 ~= response.statusCode {
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:34: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                  `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:55:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 56 |         url: url.absoluteString
 57 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:22:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |   }
 21 |
 22 |   static func errorHandler(url: URL, data: Data?, response: URLResponse?, error: Swift.Error?) throws {
    |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     // Communication Error with Meilisearch
 24 |     if let error: Swift.Error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:31:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }
 30 |
 31 |     guard let response = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       fatalError("Correct handles invalid response, please create a custom error type")
 33 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:45:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 43 |           link: res.link
 44 |         ),
 45 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 46 |         url: url.absoluteString
 47 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:51:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 49 |
 50 |     // HTTP error with Meilisearch
 51 |     if 400 ... 599 ~= response.statusCode {
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:34: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                  `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:55:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 56 |         url: url.absoluteString
 57 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:22:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |   }
 21 |
 22 |   static func errorHandler(url: URL, data: Data?, response: URLResponse?, error: Swift.Error?) throws {
    |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     // Communication Error with Meilisearch
 24 |     if let error: Swift.Error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has 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/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:31:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }
 30 |
 31 |     guard let response = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       fatalError("Correct handles invalid response, please create a custom error type")
 33 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:45:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 43 |           link: res.link
 44 |         ),
 45 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 46 |         url: url.absoluteString
 47 |       )
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:51:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 49 |
 50 |     // HTTP error with Meilisearch
 51 |     if 400 ... 599 ~= response.statusCode {
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:34: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                  `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:53:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |     if 400 ... 599 ~= response.statusCode {
 52 |       throw MeiliSearch.Error.meiliSearchApiError(
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
    |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
/host/spi-builder-workspace/.build/checkouts/meilisearch-swift/Sources/MeiliSearch/Error.swift:55:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 53 |         message: HTTPURLResponse.localizedString(forStatusCode: response.statusCode),
 54 |         msErrorResponse: nil,
 55 |         statusCode: response.statusCode,
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 56 |         url: url.absoluteString
 57 |       )
[177/1008] Emitting module InternalCollectionsUtilities
[178/1008] Compiling MeiliSearch Index.swift
[179/1008] Compiling MeiliSearch IndexesResults.swift
[180/1008] Compiling MeiliSearch Key.swift
[181/1008] Compiling MeiliSearch KeyAction.swift
[182/1008] Compiling MeiliSearch KeyParams.swift
[183/1008] Compiling MeiliSearch KeysResults.swift
[184/1008] Compiling MeiliSearch PackageVersion.swift
[190/1008] Compiling MeiliSearch Setting.swift
[191/1008] Compiling MeiliSearch SettingResult.swift
[192/1039] Compiling Tracing NoOpTracer.swift
[193/1039] Compiling Tracing InstrumentationSystem+Tracing.swift
[193/1039] Compiling KeccakP-1600-opt64.c
[194/1039] Compiling SystemPackage FilePermissions.swift
[195/1039] Compiling SystemPackage IOCompletion.swift
[196/1039] Compiling SystemPackage FilePathComponentView.swift
[197/1039] Compiling SystemPackage FilePathComponents.swift
[198/1039] Compiling SystemPackage FilePathParsing.swift
[199/1039] Compiling SystemPackage FileHelpers.swift
[200/1039] Compiling SystemPackage FileOperations.swift
[201/1039] Compiling SystemPackage FilePath.swift
[202/1039] Compiling CoreMetrics Locks.swift
BUILD FAILURE 6.3 wasm