Build Information
Successful build of meilisearch-swift, reference 0.17.0 (4b7078
), with Swift 6.0 for Linux on 9 Jan 2025 17:53:04 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
86 | try await withCheckedThrowingContinuation { continuation in
87 | self.waitForTask(task: task, options: options) { result in
88 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
89 | }
90 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:99:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
97 | try await withCheckedThrowingContinuation { continuation in
98 | self.getTask(taskUid: taskUid) { result in
99 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 | }
101 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:110:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
108 | try await withCheckedThrowingContinuation { continuation in
109 | self.getTasks(params: params) { result in
110 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
111 | }
112 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:121:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
119 | try await withCheckedThrowingContinuation { continuation in
120 | self.cancelTasks(filter: filter) { result in
121 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
122 | }
123 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:132:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
130 | try await withCheckedThrowingContinuation { continuation in
131 | self.deleteTasks(filter: filter) { result in
132 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
133 | }
134 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:143:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
141 | try await withCheckedThrowingContinuation { continuation in
142 | self.getKeys(params: params) { result in
143 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
144 | }
145 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:154:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
152 | try await withCheckedThrowingContinuation { continuation in
153 | self.getKey(keyOrUid: keyOrUid) { result in
154 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
155 | }
156 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:165:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
163 | try await withCheckedThrowingContinuation { continuation in
164 | self.createKey(keyParams) { result in
165 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
166 | }
167 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:176:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
174 | try await withCheckedThrowingContinuation { continuation in
175 | self.updateKey(keyOrUid: keyOrUid, keyParams: keyParams) { result in
176 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
177 | }
178 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:198:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
196 | try await withCheckedThrowingContinuation { continuation in
197 | self.allStats { result in
198 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
199 | }
200 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:209:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
207 | try await withCheckedThrowingContinuation { continuation in
208 | self.health { result in
209 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
210 | }
211 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:231:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
229 | try await withCheckedThrowingContinuation { continuation in
230 | self.version { result in
231 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
232 | }
233 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:242:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
240 | try await withCheckedThrowingContinuation { continuation in
241 | self.createDump { result in
242 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
243 | }
244 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:253:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
251 | try await withCheckedThrowingContinuation { continuation in
252 | self.createSnapshot { result in
253 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
254 | }
255 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:11:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
9 | try await withCheckedThrowingContinuation { continuation in
10 | self.get { result in
11 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
12 | }
13 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:22:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
20 | try await withCheckedThrowingContinuation { continuation in
21 | self.update(primaryKey: primaryKey) { result in
22 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:33:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
31 | try await withCheckedThrowingContinuation { continuation in
32 | self.delete { result in
33 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
34 | }
35 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:44:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
42 | try await withCheckedThrowingContinuation { continuation in
43 | self.addDocuments(documents: documents, encoder: encoder, primaryKey: primaryKey) { result in
44 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
45 | }
46 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:55:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
53 | try await withCheckedThrowingContinuation { continuation in
54 | self.addDocuments(documents: documents, primaryKey: primaryKey) { result in
55 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | }
57 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:66:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.updateDocuments(documents: documents, encoder: encoder, primaryKey: primaryKey) { result in
66 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
67 | }
68 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:77:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
75 | try await withCheckedThrowingContinuation { continuation in
76 | self.updateDocuments(documents: documents, primaryKey: primaryKey) { result in
77 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
78 | }
79 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:88:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
86 | try await withCheckedThrowingContinuation { continuation in
87 | self.getDocument(identifier, fields: fields) { result in
88 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
89 | }
90 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:99:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
97 | try await withCheckedThrowingContinuation { continuation in
98 | self.getDocument(identifier, fields: fields) { result in
99 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 | }
101 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:110:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
108 | try await withCheckedThrowingContinuation { continuation in
109 | self.getDocuments(params: params) { result in
110 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
111 | }
112 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:121:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
119 | try await withCheckedThrowingContinuation { continuation in
120 | self.deleteDocument(documentId) { result in
121 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
122 | }
123 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:132:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
130 | try await withCheckedThrowingContinuation { continuation in
131 | self.deleteAllDocuments { result in
132 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
133 | }
134 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:143:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
141 | try await withCheckedThrowingContinuation { continuation in
142 | self.deleteBatchDocuments(documentIds) { result in
143 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
144 | }
145 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:154:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
152 | try await withCheckedThrowingContinuation { continuation in
153 | self.search(searchParameters) { result in
154 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
155 | }
156 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:165:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
163 | try await withCheckedThrowingContinuation { continuation in
164 | self.getTask(taskUid: taskUid) { result in
165 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
166 | }
167 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:176:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
174 | try await withCheckedThrowingContinuation { continuation in
175 | self.getTasks(params: params) { result in
176 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
177 | }
178 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:187:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
185 | try await withCheckedThrowingContinuation { continuation in
186 | self.getSettings { result in
187 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
188 | }
189 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:198:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
196 | try await withCheckedThrowingContinuation { continuation in
197 | self.updateSettings(setting) { result in
198 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
199 | }
200 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:209:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
207 | try await withCheckedThrowingContinuation { continuation in
208 | self.resetSettings { result in
209 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
210 | }
211 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:231:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
229 | try await withCheckedThrowingContinuation { continuation in
230 | self.updateSynonyms(synonyms) { result in
231 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
232 | }
233 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:242:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
240 | try await withCheckedThrowingContinuation { continuation in
241 | self.resetSynonyms { result in
242 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
243 | }
244 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:264:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
262 | try await withCheckedThrowingContinuation { continuation in
263 | self.updateStopWords(stopWords) { result in
264 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
265 | }
266 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:275:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
273 | try await withCheckedThrowingContinuation { continuation in
274 | self.resetStopWords { result in
275 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
276 | }
277 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:297:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
295 | try await withCheckedThrowingContinuation { continuation in
296 | self.updateRankingRules(rankingRules) { result in
297 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
298 | }
299 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:308:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
306 | try await withCheckedThrowingContinuation { continuation in
307 | self.resetRankingRules { result in
308 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
309 | }
310 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:330:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
328 | try await withCheckedThrowingContinuation { continuation in
329 | self.updateDistinctAttribute(distinctAttribute) { result in
330 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
331 | }
332 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:341:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
339 | try await withCheckedThrowingContinuation { continuation in
340 | self.resetDistinctAttribute { result in
341 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
342 | }
343 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:363:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
361 | try await withCheckedThrowingContinuation { continuation in
362 | self.updateSearchableAttributes(searchableAttribute) { result in
363 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
364 | }
365 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:374:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
372 | try await withCheckedThrowingContinuation { continuation in
373 | self.resetSearchableAttributes { result in
374 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
375 | }
376 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:396:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
394 | try await withCheckedThrowingContinuation { continuation in
395 | self.updateDisplayedAttributes(displayedAttribute) { result in
396 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
397 | }
398 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:407:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
405 | try await withCheckedThrowingContinuation { continuation in
406 | self.resetDisplayedAttributes { result in
407 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
408 | }
409 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:429:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
427 | try await withCheckedThrowingContinuation { continuation in
428 | self.updateFilterableAttributes(attributes) { result in
429 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
430 | }
431 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:440:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
438 | try await withCheckedThrowingContinuation { continuation in
439 | self.resetFilterableAttributes { result in
440 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
441 | }
442 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:462:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
460 | try await withCheckedThrowingContinuation { continuation in
461 | self.updateSortableAttributes(attributes) { result in
462 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
463 | }
464 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:473:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
471 | try await withCheckedThrowingContinuation { continuation in
472 | self.resetSortableAttributes { result in
473 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
474 | }
475 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:495:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
493 | try await withCheckedThrowingContinuation { continuation in
494 | self.updateSeparatorTokens(attributes) { result in
495 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
496 | }
497 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:506:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
504 | try await withCheckedThrowingContinuation { continuation in
505 | self.resetSeparatorTokens { result in
506 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
507 | }
508 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:528:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
526 | try await withCheckedThrowingContinuation { continuation in
527 | self.updateNonSeparatorTokens(attributes) { result in
528 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
529 | }
530 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:539:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
537 | try await withCheckedThrowingContinuation { continuation in
538 | self.resetNonSeparatorTokens { result in
539 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
540 | }
541 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:561:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
559 | try await withCheckedThrowingContinuation { continuation in
560 | self.updateDictionary(attributes) { result in
561 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
562 | }
563 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:572:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
570 | try await withCheckedThrowingContinuation { continuation in
571 | self.resetDictionary { result in
572 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
573 | }
574 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:583:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
581 | try await withCheckedThrowingContinuation { continuation in
582 | self.getPaginationSettings { result in
583 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
584 | }
585 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:594:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
592 | try await withCheckedThrowingContinuation { continuation in
593 | self.updatePaginationSettings(settings) { result in
594 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
595 | }
596 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:605:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
603 | try await withCheckedThrowingContinuation { continuation in
604 | self.resetPaginationSettings { result in
605 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
606 | }
607 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:616:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
614 | try await withCheckedThrowingContinuation { continuation in
615 | self.getTypoTolerance { result in
616 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
617 | }
618 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:627:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
625 | try await withCheckedThrowingContinuation { continuation in
626 | self.updateTypoTolerance(typoTolerance) { result in
627 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
628 | }
629 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:638:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
636 | try await withCheckedThrowingContinuation { continuation in
637 | self.resetTypoTolerance { result in
638 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
639 | }
640 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:649:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
647 | try await withCheckedThrowingContinuation { continuation in
648 | self.getProximityPrecision { result in
649 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
650 | }
651 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:660:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
658 | try await withCheckedThrowingContinuation { continuation in
659 | self.updateProximityPrecision(proximityPrecision) { result in
660 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
661 | }
662 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:671:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
669 | try await withCheckedThrowingContinuation { continuation in
670 | self.resetProximityPrecision { result in
671 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
672 | }
673 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:693:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
691 | try await withCheckedThrowingContinuation { continuation in
692 | self.updateSearchCutoffMs(newValue) { result in
693 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
694 | }
695 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:704:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
702 | try await withCheckedThrowingContinuation { continuation in
703 | self.resetSearchCutoffMs { result in
704 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
705 | }
706 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:715:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
713 | try await withCheckedThrowingContinuation { continuation in
714 | self.stats { result in
715 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
716 | }
717 | }
[28/56] Compiling MeiliSearch Constants.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:11:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
9 | try await withCheckedThrowingContinuation { continuation in
10 | self.createIndex(uid: uid, primaryKey: primaryKey) { result in
11 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
12 | }
13 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:22:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
20 | try await withCheckedThrowingContinuation { continuation in
21 | self.getIndex(uid) { result in
22 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:33:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
31 | try await withCheckedThrowingContinuation { continuation in
32 | self.getIndexes(params: params) { result in
33 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
34 | }
35 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:44:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
42 | try await withCheckedThrowingContinuation { continuation in
43 | self.updateIndex(uid: uid, primaryKey: primaryKey) { result in
44 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
45 | }
46 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:55:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
53 | try await withCheckedThrowingContinuation { continuation in
54 | self.deleteIndex(uid) { result in
55 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | }
57 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:66:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.swapIndexes(pairs) { result in
66 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
67 | }
68 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:77:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
75 | try await withCheckedThrowingContinuation { continuation in
76 | self.waitForTask(taskUid: taskUid, options: options) { result in
77 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
78 | }
79 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:88:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
86 | try await withCheckedThrowingContinuation { continuation in
87 | self.waitForTask(task: task, options: options) { result in
88 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
89 | }
90 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:99:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
97 | try await withCheckedThrowingContinuation { continuation in
98 | self.getTask(taskUid: taskUid) { result in
99 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 | }
101 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:110:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
108 | try await withCheckedThrowingContinuation { continuation in
109 | self.getTasks(params: params) { result in
110 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
111 | }
112 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:121:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
119 | try await withCheckedThrowingContinuation { continuation in
120 | self.cancelTasks(filter: filter) { result in
121 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
122 | }
123 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:132:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
130 | try await withCheckedThrowingContinuation { continuation in
131 | self.deleteTasks(filter: filter) { result in
132 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
133 | }
134 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:143:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
141 | try await withCheckedThrowingContinuation { continuation in
142 | self.getKeys(params: params) { result in
143 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
144 | }
145 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:154:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
152 | try await withCheckedThrowingContinuation { continuation in
153 | self.getKey(keyOrUid: keyOrUid) { result in
154 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
155 | }
156 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:165:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
163 | try await withCheckedThrowingContinuation { continuation in
164 | self.createKey(keyParams) { result in
165 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
166 | }
167 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:176:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
174 | try await withCheckedThrowingContinuation { continuation in
175 | self.updateKey(keyOrUid: keyOrUid, keyParams: keyParams) { result in
176 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
177 | }
178 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:198:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
196 | try await withCheckedThrowingContinuation { continuation in
197 | self.allStats { result in
198 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
199 | }
200 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:209:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
207 | try await withCheckedThrowingContinuation { continuation in
208 | self.health { result in
209 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
210 | }
211 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:231:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
229 | try await withCheckedThrowingContinuation { continuation in
230 | self.version { result in
231 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
232 | }
233 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:242:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
240 | try await withCheckedThrowingContinuation { continuation in
241 | self.createDump { result in
242 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
243 | }
244 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:253:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
251 | try await withCheckedThrowingContinuation { continuation in
252 | self.createSnapshot { result in
253 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
254 | }
255 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:11:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
9 | try await withCheckedThrowingContinuation { continuation in
10 | self.get { result in
11 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
12 | }
13 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:22:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
20 | try await withCheckedThrowingContinuation { continuation in
21 | self.update(primaryKey: primaryKey) { result in
22 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:33:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
31 | try await withCheckedThrowingContinuation { continuation in
32 | self.delete { result in
33 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
34 | }
35 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:44:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
42 | try await withCheckedThrowingContinuation { continuation in
43 | self.addDocuments(documents: documents, encoder: encoder, primaryKey: primaryKey) { result in
44 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
45 | }
46 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:55:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
53 | try await withCheckedThrowingContinuation { continuation in
54 | self.addDocuments(documents: documents, primaryKey: primaryKey) { result in
55 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | }
57 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:66:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.updateDocuments(documents: documents, encoder: encoder, primaryKey: primaryKey) { result in
66 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
67 | }
68 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:77:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
75 | try await withCheckedThrowingContinuation { continuation in
76 | self.updateDocuments(documents: documents, primaryKey: primaryKey) { result in
77 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
78 | }
79 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:88:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
86 | try await withCheckedThrowingContinuation { continuation in
87 | self.getDocument(identifier, fields: fields) { result in
88 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
89 | }
90 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:99:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
97 | try await withCheckedThrowingContinuation { continuation in
98 | self.getDocument(identifier, fields: fields) { result in
99 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 | }
101 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:110:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
108 | try await withCheckedThrowingContinuation { continuation in
109 | self.getDocuments(params: params) { result in
110 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
111 | }
112 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:121:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
119 | try await withCheckedThrowingContinuation { continuation in
120 | self.deleteDocument(documentId) { result in
121 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
122 | }
123 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:132:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
130 | try await withCheckedThrowingContinuation { continuation in
131 | self.deleteAllDocuments { result in
132 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
133 | }
134 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:143:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
141 | try await withCheckedThrowingContinuation { continuation in
142 | self.deleteBatchDocuments(documentIds) { result in
143 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
144 | }
145 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:154:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
152 | try await withCheckedThrowingContinuation { continuation in
153 | self.search(searchParameters) { result in
154 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
155 | }
156 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:165:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
163 | try await withCheckedThrowingContinuation { continuation in
164 | self.getTask(taskUid: taskUid) { result in
165 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
166 | }
167 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:176:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
174 | try await withCheckedThrowingContinuation { continuation in
175 | self.getTasks(params: params) { result in
176 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
177 | }
178 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:187:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
185 | try await withCheckedThrowingContinuation { continuation in
186 | self.getSettings { result in
187 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
188 | }
189 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:198:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
196 | try await withCheckedThrowingContinuation { continuation in
197 | self.updateSettings(setting) { result in
198 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
199 | }
200 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:209:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
207 | try await withCheckedThrowingContinuation { continuation in
208 | self.resetSettings { result in
209 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
210 | }
211 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:231:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
229 | try await withCheckedThrowingContinuation { continuation in
230 | self.updateSynonyms(synonyms) { result in
231 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
232 | }
233 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:242:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
240 | try await withCheckedThrowingContinuation { continuation in
241 | self.resetSynonyms { result in
242 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
243 | }
244 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:264:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
262 | try await withCheckedThrowingContinuation { continuation in
263 | self.updateStopWords(stopWords) { result in
264 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
265 | }
266 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:275:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
273 | try await withCheckedThrowingContinuation { continuation in
274 | self.resetStopWords { result in
275 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
276 | }
277 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:297:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
295 | try await withCheckedThrowingContinuation { continuation in
296 | self.updateRankingRules(rankingRules) { result in
297 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
298 | }
299 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:308:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
306 | try await withCheckedThrowingContinuation { continuation in
307 | self.resetRankingRules { result in
308 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
309 | }
310 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:330:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
328 | try await withCheckedThrowingContinuation { continuation in
329 | self.updateDistinctAttribute(distinctAttribute) { result in
330 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
331 | }
332 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:341:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
339 | try await withCheckedThrowingContinuation { continuation in
340 | self.resetDistinctAttribute { result in
341 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
342 | }
343 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:363:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
361 | try await withCheckedThrowingContinuation { continuation in
362 | self.updateSearchableAttributes(searchableAttribute) { result in
363 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
364 | }
365 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:374:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
372 | try await withCheckedThrowingContinuation { continuation in
373 | self.resetSearchableAttributes { result in
374 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
375 | }
376 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:396:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
394 | try await withCheckedThrowingContinuation { continuation in
395 | self.updateDisplayedAttributes(displayedAttribute) { result in
396 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
397 | }
398 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:407:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
405 | try await withCheckedThrowingContinuation { continuation in
406 | self.resetDisplayedAttributes { result in
407 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
408 | }
409 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:429:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
427 | try await withCheckedThrowingContinuation { continuation in
428 | self.updateFilterableAttributes(attributes) { result in
429 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
430 | }
431 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:440:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
438 | try await withCheckedThrowingContinuation { continuation in
439 | self.resetFilterableAttributes { result in
440 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
441 | }
442 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:462:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
460 | try await withCheckedThrowingContinuation { continuation in
461 | self.updateSortableAttributes(attributes) { result in
462 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
463 | }
464 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:473:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
471 | try await withCheckedThrowingContinuation { continuation in
472 | self.resetSortableAttributes { result in
473 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
474 | }
475 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:495:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
493 | try await withCheckedThrowingContinuation { continuation in
494 | self.updateSeparatorTokens(attributes) { result in
495 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
496 | }
497 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:506:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
504 | try await withCheckedThrowingContinuation { continuation in
505 | self.resetSeparatorTokens { result in
506 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
507 | }
508 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:528:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
526 | try await withCheckedThrowingContinuation { continuation in
527 | self.updateNonSeparatorTokens(attributes) { result in
528 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
529 | }
530 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:539:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
537 | try await withCheckedThrowingContinuation { continuation in
538 | self.resetNonSeparatorTokens { result in
539 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
540 | }
541 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:561:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
559 | try await withCheckedThrowingContinuation { continuation in
560 | self.updateDictionary(attributes) { result in
561 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
562 | }
563 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:572:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
570 | try await withCheckedThrowingContinuation { continuation in
571 | self.resetDictionary { result in
572 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
573 | }
574 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:583:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
581 | try await withCheckedThrowingContinuation { continuation in
582 | self.getPaginationSettings { result in
583 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
584 | }
585 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:594:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
592 | try await withCheckedThrowingContinuation { continuation in
593 | self.updatePaginationSettings(settings) { result in
594 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
595 | }
596 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:605:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
603 | try await withCheckedThrowingContinuation { continuation in
604 | self.resetPaginationSettings { result in
605 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
606 | }
607 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:616:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
614 | try await withCheckedThrowingContinuation { continuation in
615 | self.getTypoTolerance { result in
616 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
617 | }
618 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:627:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
625 | try await withCheckedThrowingContinuation { continuation in
626 | self.updateTypoTolerance(typoTolerance) { result in
627 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
628 | }
629 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:638:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
636 | try await withCheckedThrowingContinuation { continuation in
637 | self.resetTypoTolerance { result in
638 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
639 | }
640 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:649:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
647 | try await withCheckedThrowingContinuation { continuation in
648 | self.getProximityPrecision { result in
649 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
650 | }
651 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:660:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
658 | try await withCheckedThrowingContinuation { continuation in
659 | self.updateProximityPrecision(proximityPrecision) { result in
660 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
661 | }
662 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:671:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
669 | try await withCheckedThrowingContinuation { continuation in
670 | self.resetProximityPrecision { result in
671 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
672 | }
673 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:693:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
691 | try await withCheckedThrowingContinuation { continuation in
692 | self.updateSearchCutoffMs(newValue) { result in
693 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
694 | }
695 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:704:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
702 | try await withCheckedThrowingContinuation { continuation in
703 | self.resetSearchCutoffMs { result in
704 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
705 | }
706 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:715:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
713 | try await withCheckedThrowingContinuation { continuation in
714 | self.stats { result in
715 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
716 | }
717 | }
[29/56] Compiling MeiliSearch Documents.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:11:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
9 | try await withCheckedThrowingContinuation { continuation in
10 | self.createIndex(uid: uid, primaryKey: primaryKey) { result in
11 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
12 | }
13 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:22:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
20 | try await withCheckedThrowingContinuation { continuation in
21 | self.getIndex(uid) { result in
22 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:33:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
31 | try await withCheckedThrowingContinuation { continuation in
32 | self.getIndexes(params: params) { result in
33 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
34 | }
35 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:44:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
42 | try await withCheckedThrowingContinuation { continuation in
43 | self.updateIndex(uid: uid, primaryKey: primaryKey) { result in
44 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
45 | }
46 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:55:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
53 | try await withCheckedThrowingContinuation { continuation in
54 | self.deleteIndex(uid) { result in
55 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | }
57 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:66:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.swapIndexes(pairs) { result in
66 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
67 | }
68 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:77:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
75 | try await withCheckedThrowingContinuation { continuation in
76 | self.waitForTask(taskUid: taskUid, options: options) { result in
77 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
78 | }
79 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:88:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
86 | try await withCheckedThrowingContinuation { continuation in
87 | self.waitForTask(task: task, options: options) { result in
88 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
89 | }
90 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:99:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
97 | try await withCheckedThrowingContinuation { continuation in
98 | self.getTask(taskUid: taskUid) { result in
99 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 | }
101 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:110:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
108 | try await withCheckedThrowingContinuation { continuation in
109 | self.getTasks(params: params) { result in
110 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
111 | }
112 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:121:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
119 | try await withCheckedThrowingContinuation { continuation in
120 | self.cancelTasks(filter: filter) { result in
121 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
122 | }
123 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:132:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
130 | try await withCheckedThrowingContinuation { continuation in
131 | self.deleteTasks(filter: filter) { result in
132 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
133 | }
134 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:143:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
141 | try await withCheckedThrowingContinuation { continuation in
142 | self.getKeys(params: params) { result in
143 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
144 | }
145 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:154:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
152 | try await withCheckedThrowingContinuation { continuation in
153 | self.getKey(keyOrUid: keyOrUid) { result in
154 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
155 | }
156 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:165:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
163 | try await withCheckedThrowingContinuation { continuation in
164 | self.createKey(keyParams) { result in
165 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
166 | }
167 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:176:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
174 | try await withCheckedThrowingContinuation { continuation in
175 | self.updateKey(keyOrUid: keyOrUid, keyParams: keyParams) { result in
176 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
177 | }
178 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:198:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
196 | try await withCheckedThrowingContinuation { continuation in
197 | self.allStats { result in
198 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
199 | }
200 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:209:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
207 | try await withCheckedThrowingContinuation { continuation in
208 | self.health { result in
209 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
210 | }
211 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:231:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
229 | try await withCheckedThrowingContinuation { continuation in
230 | self.version { result in
231 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
232 | }
233 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:242:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
240 | try await withCheckedThrowingContinuation { continuation in
241 | self.createDump { result in
242 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
243 | }
244 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:253:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
251 | try await withCheckedThrowingContinuation { continuation in
252 | self.createSnapshot { result in
253 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
254 | }
255 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:11:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
9 | try await withCheckedThrowingContinuation { continuation in
10 | self.get { result in
11 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
12 | }
13 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:22:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
20 | try await withCheckedThrowingContinuation { continuation in
21 | self.update(primaryKey: primaryKey) { result in
22 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:33:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
31 | try await withCheckedThrowingContinuation { continuation in
32 | self.delete { result in
33 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
34 | }
35 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:44:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
42 | try await withCheckedThrowingContinuation { continuation in
43 | self.addDocuments(documents: documents, encoder: encoder, primaryKey: primaryKey) { result in
44 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
45 | }
46 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:55:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
53 | try await withCheckedThrowingContinuation { continuation in
54 | self.addDocuments(documents: documents, primaryKey: primaryKey) { result in
55 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | }
57 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:66:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.updateDocuments(documents: documents, encoder: encoder, primaryKey: primaryKey) { result in
66 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
67 | }
68 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:77:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
75 | try await withCheckedThrowingContinuation { continuation in
76 | self.updateDocuments(documents: documents, primaryKey: primaryKey) { result in
77 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
78 | }
79 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:88:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
86 | try await withCheckedThrowingContinuation { continuation in
87 | self.getDocument(identifier, fields: fields) { result in
88 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
89 | }
90 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:99:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
97 | try await withCheckedThrowingContinuation { continuation in
98 | self.getDocument(identifier, fields: fields) { result in
99 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 | }
101 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:110:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
108 | try await withCheckedThrowingContinuation { continuation in
109 | self.getDocuments(params: params) { result in
110 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
111 | }
112 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:121:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
119 | try await withCheckedThrowingContinuation { continuation in
120 | self.deleteDocument(documentId) { result in
121 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
122 | }
123 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:132:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
130 | try await withCheckedThrowingContinuation { continuation in
131 | self.deleteAllDocuments { result in
132 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
133 | }
134 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:143:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
141 | try await withCheckedThrowingContinuation { continuation in
142 | self.deleteBatchDocuments(documentIds) { result in
143 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
144 | }
145 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:154:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
152 | try await withCheckedThrowingContinuation { continuation in
153 | self.search(searchParameters) { result in
154 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
155 | }
156 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:165:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
163 | try await withCheckedThrowingContinuation { continuation in
164 | self.getTask(taskUid: taskUid) { result in
165 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
166 | }
167 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:176:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
174 | try await withCheckedThrowingContinuation { continuation in
175 | self.getTasks(params: params) { result in
176 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
177 | }
178 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:187:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
185 | try await withCheckedThrowingContinuation { continuation in
186 | self.getSettings { result in
187 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
188 | }
189 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:198:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
196 | try await withCheckedThrowingContinuation { continuation in
197 | self.updateSettings(setting) { result in
198 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
199 | }
200 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:209:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
207 | try await withCheckedThrowingContinuation { continuation in
208 | self.resetSettings { result in
209 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
210 | }
211 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:231:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
229 | try await withCheckedThrowingContinuation { continuation in
230 | self.updateSynonyms(synonyms) { result in
231 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
232 | }
233 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:242:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
240 | try await withCheckedThrowingContinuation { continuation in
241 | self.resetSynonyms { result in
242 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
243 | }
244 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:264:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
262 | try await withCheckedThrowingContinuation { continuation in
263 | self.updateStopWords(stopWords) { result in
264 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
265 | }
266 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:275:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
273 | try await withCheckedThrowingContinuation { continuation in
274 | self.resetStopWords { result in
275 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
276 | }
277 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:297:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
295 | try await withCheckedThrowingContinuation { continuation in
296 | self.updateRankingRules(rankingRules) { result in
297 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
298 | }
299 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:308:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
306 | try await withCheckedThrowingContinuation { continuation in
307 | self.resetRankingRules { result in
308 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
309 | }
310 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:330:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
328 | try await withCheckedThrowingContinuation { continuation in
329 | self.updateDistinctAttribute(distinctAttribute) { result in
330 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
331 | }
332 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:341:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
339 | try await withCheckedThrowingContinuation { continuation in
340 | self.resetDistinctAttribute { result in
341 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
342 | }
343 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:363:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
361 | try await withCheckedThrowingContinuation { continuation in
362 | self.updateSearchableAttributes(searchableAttribute) { result in
363 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
364 | }
365 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:374:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
372 | try await withCheckedThrowingContinuation { continuation in
373 | self.resetSearchableAttributes { result in
374 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
375 | }
376 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:396:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
394 | try await withCheckedThrowingContinuation { continuation in
395 | self.updateDisplayedAttributes(displayedAttribute) { result in
396 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
397 | }
398 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:407:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
405 | try await withCheckedThrowingContinuation { continuation in
406 | self.resetDisplayedAttributes { result in
407 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
408 | }
409 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:429:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
427 | try await withCheckedThrowingContinuation { continuation in
428 | self.updateFilterableAttributes(attributes) { result in
429 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
430 | }
431 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:440:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
438 | try await withCheckedThrowingContinuation { continuation in
439 | self.resetFilterableAttributes { result in
440 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
441 | }
442 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:462:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
460 | try await withCheckedThrowingContinuation { continuation in
461 | self.updateSortableAttributes(attributes) { result in
462 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
463 | }
464 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:473:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
471 | try await withCheckedThrowingContinuation { continuation in
472 | self.resetSortableAttributes { result in
473 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
474 | }
475 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:495:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
493 | try await withCheckedThrowingContinuation { continuation in
494 | self.updateSeparatorTokens(attributes) { result in
495 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
496 | }
497 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:506:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
504 | try await withCheckedThrowingContinuation { continuation in
505 | self.resetSeparatorTokens { result in
506 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
507 | }
508 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:528:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
526 | try await withCheckedThrowingContinuation { continuation in
527 | self.updateNonSeparatorTokens(attributes) { result in
528 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
529 | }
530 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:539:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
537 | try await withCheckedThrowingContinuation { continuation in
538 | self.resetNonSeparatorTokens { result in
539 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
540 | }
541 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:561:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
559 | try await withCheckedThrowingContinuation { continuation in
560 | self.updateDictionary(attributes) { result in
561 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
562 | }
563 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:572:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
570 | try await withCheckedThrowingContinuation { continuation in
571 | self.resetDictionary { result in
572 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
573 | }
574 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:583:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
581 | try await withCheckedThrowingContinuation { continuation in
582 | self.getPaginationSettings { result in
583 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
584 | }
585 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:594:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
592 | try await withCheckedThrowingContinuation { continuation in
593 | self.updatePaginationSettings(settings) { result in
594 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
595 | }
596 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:605:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
603 | try await withCheckedThrowingContinuation { continuation in
604 | self.resetPaginationSettings { result in
605 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
606 | }
607 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:616:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
614 | try await withCheckedThrowingContinuation { continuation in
615 | self.getTypoTolerance { result in
616 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
617 | }
618 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:627:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
625 | try await withCheckedThrowingContinuation { continuation in
626 | self.updateTypoTolerance(typoTolerance) { result in
627 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
628 | }
629 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:638:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
636 | try await withCheckedThrowingContinuation { continuation in
637 | self.resetTypoTolerance { result in
638 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
639 | }
640 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:649:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
647 | try await withCheckedThrowingContinuation { continuation in
648 | self.getProximityPrecision { result in
649 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
650 | }
651 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:660:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
658 | try await withCheckedThrowingContinuation { continuation in
659 | self.updateProximityPrecision(proximityPrecision) { result in
660 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
661 | }
662 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:671:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
669 | try await withCheckedThrowingContinuation { continuation in
670 | self.resetProximityPrecision { result in
671 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
672 | }
673 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:693:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
691 | try await withCheckedThrowingContinuation { continuation in
692 | self.updateSearchCutoffMs(newValue) { result in
693 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
694 | }
695 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:704:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
702 | try await withCheckedThrowingContinuation { continuation in
703 | self.resetSearchCutoffMs { result in
704 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
705 | }
706 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:715:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
713 | try await withCheckedThrowingContinuation { continuation in
714 | self.stats { result in
715 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
716 | }
717 | }
[30/56] Compiling MeiliSearch Dumps.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:11:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
9 | try await withCheckedThrowingContinuation { continuation in
10 | self.createIndex(uid: uid, primaryKey: primaryKey) { result in
11 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
12 | }
13 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:22:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
20 | try await withCheckedThrowingContinuation { continuation in
21 | self.getIndex(uid) { result in
22 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:33:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
31 | try await withCheckedThrowingContinuation { continuation in
32 | self.getIndexes(params: params) { result in
33 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
34 | }
35 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:44:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
42 | try await withCheckedThrowingContinuation { continuation in
43 | self.updateIndex(uid: uid, primaryKey: primaryKey) { result in
44 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
45 | }
46 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:55:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
53 | try await withCheckedThrowingContinuation { continuation in
54 | self.deleteIndex(uid) { result in
55 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | }
57 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:66:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.swapIndexes(pairs) { result in
66 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
67 | }
68 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:77:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
75 | try await withCheckedThrowingContinuation { continuation in
76 | self.waitForTask(taskUid: taskUid, options: options) { result in
77 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
78 | }
79 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:88:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
86 | try await withCheckedThrowingContinuation { continuation in
87 | self.waitForTask(task: task, options: options) { result in
88 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
89 | }
90 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:99:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
97 | try await withCheckedThrowingContinuation { continuation in
98 | self.getTask(taskUid: taskUid) { result in
99 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 | }
101 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:110:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
108 | try await withCheckedThrowingContinuation { continuation in
109 | self.getTasks(params: params) { result in
110 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
111 | }
112 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:121:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
119 | try await withCheckedThrowingContinuation { continuation in
120 | self.cancelTasks(filter: filter) { result in
121 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
122 | }
123 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:132:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
130 | try await withCheckedThrowingContinuation { continuation in
131 | self.deleteTasks(filter: filter) { result in
132 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
133 | }
134 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:143:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
141 | try await withCheckedThrowingContinuation { continuation in
142 | self.getKeys(params: params) { result in
143 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
144 | }
145 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:154:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
152 | try await withCheckedThrowingContinuation { continuation in
153 | self.getKey(keyOrUid: keyOrUid) { result in
154 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
155 | }
156 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:165:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
163 | try await withCheckedThrowingContinuation { continuation in
164 | self.createKey(keyParams) { result in
165 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
166 | }
167 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:176:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
174 | try await withCheckedThrowingContinuation { continuation in
175 | self.updateKey(keyOrUid: keyOrUid, keyParams: keyParams) { result in
176 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
177 | }
178 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:198:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
196 | try await withCheckedThrowingContinuation { continuation in
197 | self.allStats { result in
198 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
199 | }
200 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:209:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
207 | try await withCheckedThrowingContinuation { continuation in
208 | self.health { result in
209 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
210 | }
211 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:231:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
229 | try await withCheckedThrowingContinuation { continuation in
230 | self.version { result in
231 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
232 | }
233 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:242:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
240 | try await withCheckedThrowingContinuation { continuation in
241 | self.createDump { result in
242 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
243 | }
244 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Client+async.swift:253:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
251 | try await withCheckedThrowingContinuation { continuation in
252 | self.createSnapshot { result in
253 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
254 | }
255 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:11:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
9 | try await withCheckedThrowingContinuation { continuation in
10 | self.get { result in
11 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
12 | }
13 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:22:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
20 | try await withCheckedThrowingContinuation { continuation in
21 | self.update(primaryKey: primaryKey) { result in
22 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:33:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
31 | try await withCheckedThrowingContinuation { continuation in
32 | self.delete { result in
33 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
34 | }
35 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:44:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
42 | try await withCheckedThrowingContinuation { continuation in
43 | self.addDocuments(documents: documents, encoder: encoder, primaryKey: primaryKey) { result in
44 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
45 | }
46 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:55:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
53 | try await withCheckedThrowingContinuation { continuation in
54 | self.addDocuments(documents: documents, primaryKey: primaryKey) { result in
55 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | }
57 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:66:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.updateDocuments(documents: documents, encoder: encoder, primaryKey: primaryKey) { result in
66 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
67 | }
68 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:77:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
75 | try await withCheckedThrowingContinuation { continuation in
76 | self.updateDocuments(documents: documents, primaryKey: primaryKey) { result in
77 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
78 | }
79 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:88:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
86 | try await withCheckedThrowingContinuation { continuation in
87 | self.getDocument(identifier, fields: fields) { result in
88 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
89 | }
90 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:99:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
97 | try await withCheckedThrowingContinuation { continuation in
98 | self.getDocument(identifier, fields: fields) { result in
99 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 | }
101 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:110:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
108 | try await withCheckedThrowingContinuation { continuation in
109 | self.getDocuments(params: params) { result in
110 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
111 | }
112 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:121:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
119 | try await withCheckedThrowingContinuation { continuation in
120 | self.deleteDocument(documentId) { result in
121 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
122 | }
123 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:132:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
130 | try await withCheckedThrowingContinuation { continuation in
131 | self.deleteAllDocuments { result in
132 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
133 | }
134 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:143:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
141 | try await withCheckedThrowingContinuation { continuation in
142 | self.deleteBatchDocuments(documentIds) { result in
143 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
144 | }
145 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:154:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
152 | try await withCheckedThrowingContinuation { continuation in
153 | self.search(searchParameters) { result in
154 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
155 | }
156 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:165:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
163 | try await withCheckedThrowingContinuation { continuation in
164 | self.getTask(taskUid: taskUid) { result in
165 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
166 | }
167 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:176:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
174 | try await withCheckedThrowingContinuation { continuation in
175 | self.getTasks(params: params) { result in
176 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
177 | }
178 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:187:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
185 | try await withCheckedThrowingContinuation { continuation in
186 | self.getSettings { result in
187 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
188 | }
189 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:198:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
196 | try await withCheckedThrowingContinuation { continuation in
197 | self.updateSettings(setting) { result in
198 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
199 | }
200 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:209:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
207 | try await withCheckedThrowingContinuation { continuation in
208 | self.resetSettings { result in
209 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
210 | }
211 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:231:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
229 | try await withCheckedThrowingContinuation { continuation in
230 | self.updateSynonyms(synonyms) { result in
231 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
232 | }
233 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:242:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
240 | try await withCheckedThrowingContinuation { continuation in
241 | self.resetSynonyms { result in
242 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
243 | }
244 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:264:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
262 | try await withCheckedThrowingContinuation { continuation in
263 | self.updateStopWords(stopWords) { result in
264 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
265 | }
266 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:275:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
273 | try await withCheckedThrowingContinuation { continuation in
274 | self.resetStopWords { result in
275 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
276 | }
277 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:297:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
295 | try await withCheckedThrowingContinuation { continuation in
296 | self.updateRankingRules(rankingRules) { result in
297 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
298 | }
299 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:308:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
306 | try await withCheckedThrowingContinuation { continuation in
307 | self.resetRankingRules { result in
308 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
309 | }
310 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:330:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
328 | try await withCheckedThrowingContinuation { continuation in
329 | self.updateDistinctAttribute(distinctAttribute) { result in
330 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
331 | }
332 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:341:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
339 | try await withCheckedThrowingContinuation { continuation in
340 | self.resetDistinctAttribute { result in
341 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
342 | }
343 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:363:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
361 | try await withCheckedThrowingContinuation { continuation in
362 | self.updateSearchableAttributes(searchableAttribute) { result in
363 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
364 | }
365 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:374:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
372 | try await withCheckedThrowingContinuation { continuation in
373 | self.resetSearchableAttributes { result in
374 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
375 | }
376 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:396:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
394 | try await withCheckedThrowingContinuation { continuation in
395 | self.updateDisplayedAttributes(displayedAttribute) { result in
396 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
397 | }
398 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:407:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
405 | try await withCheckedThrowingContinuation { continuation in
406 | self.resetDisplayedAttributes { result in
407 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
408 | }
409 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:429:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
427 | try await withCheckedThrowingContinuation { continuation in
428 | self.updateFilterableAttributes(attributes) { result in
429 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
430 | }
431 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:440:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
438 | try await withCheckedThrowingContinuation { continuation in
439 | self.resetFilterableAttributes { result in
440 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
441 | }
442 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:462:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
460 | try await withCheckedThrowingContinuation { continuation in
461 | self.updateSortableAttributes(attributes) { result in
462 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
463 | }
464 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:473:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
471 | try await withCheckedThrowingContinuation { continuation in
472 | self.resetSortableAttributes { result in
473 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
474 | }
475 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:495:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
493 | try await withCheckedThrowingContinuation { continuation in
494 | self.updateSeparatorTokens(attributes) { result in
495 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
496 | }
497 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:506:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
504 | try await withCheckedThrowingContinuation { continuation in
505 | self.resetSeparatorTokens { result in
506 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
507 | }
508 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:528:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
526 | try await withCheckedThrowingContinuation { continuation in
527 | self.updateNonSeparatorTokens(attributes) { result in
528 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
529 | }
530 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:539:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
537 | try await withCheckedThrowingContinuation { continuation in
538 | self.resetNonSeparatorTokens { result in
539 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
540 | }
541 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:561:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
559 | try await withCheckedThrowingContinuation { continuation in
560 | self.updateDictionary(attributes) { result in
561 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
562 | }
563 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:572:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
570 | try await withCheckedThrowingContinuation { continuation in
571 | self.resetDictionary { result in
572 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
573 | }
574 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:583:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
581 | try await withCheckedThrowingContinuation { continuation in
582 | self.getPaginationSettings { result in
583 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
584 | }
585 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:594:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
592 | try await withCheckedThrowingContinuation { continuation in
593 | self.updatePaginationSettings(settings) { result in
594 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
595 | }
596 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:605:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
603 | try await withCheckedThrowingContinuation { continuation in
604 | self.resetPaginationSettings { result in
605 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
606 | }
607 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:616:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
614 | try await withCheckedThrowingContinuation { continuation in
615 | self.getTypoTolerance { result in
616 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
617 | }
618 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:627:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
625 | try await withCheckedThrowingContinuation { continuation in
626 | self.updateTypoTolerance(typoTolerance) { result in
627 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
628 | }
629 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:638:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
636 | try await withCheckedThrowingContinuation { continuation in
637 | self.resetTypoTolerance { result in
638 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
639 | }
640 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:649:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
647 | try await withCheckedThrowingContinuation { continuation in
648 | self.getProximityPrecision { result in
649 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
650 | }
651 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:660:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
658 | try await withCheckedThrowingContinuation { continuation in
659 | self.updateProximityPrecision(proximityPrecision) { result in
660 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
661 | }
662 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:671:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
669 | try await withCheckedThrowingContinuation { continuation in
670 | self.resetProximityPrecision { result in
671 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
672 | }
673 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:693:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
691 | try await withCheckedThrowingContinuation { continuation in
692 | self.updateSearchCutoffMs(newValue) { result in
693 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
694 | }
695 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:704:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
702 | try await withCheckedThrowingContinuation { continuation in
703 | self.resetSearchCutoffMs { result in
704 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
705 | }
706 | }
/host/spi-builder-workspace/Sources/MeiliSearch/Async/Indexes+async.swift:715:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
713 | try await withCheckedThrowingContinuation { continuation in
714 | self.stats { result in
715 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
716 | }
717 | }
[31/56] Compiling MeiliSearch Stat.swift
[32/56] Compiling MeiliSearch Task.swift
[33/56] Compiling MeiliSearch TaskDetails.swift
[34/56] Compiling MeiliSearch TaskInfo.swift
[35/56] Compiling MeiliSearch TaskStatus.swift
[36/56] Compiling MeiliSearch TaskType.swift
[37/56] Compiling MeiliSearch TasksResults.swift
[38/56] Compiling MeiliSearch DocumentsQuery.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
213 | }
214 | }
[39/56] Compiling MeiliSearch IndexesQuery.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
213 | }
214 | }
[40/56] Compiling MeiliSearch KeysQuery.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
213 | }
214 | }
[41/56] Compiling MeiliSearch Queryable.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
213 | }
214 | }
[42/56] Compiling MeiliSearch TasksQuery.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
213 | }
214 | }
[43/56] Compiling MeiliSearch Request.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
213 | }
214 | }
[44/56] Compiling MeiliSearch TypoTolerance.swift
[45/56] Compiling MeiliSearch TypoToleranceResult.swift
[46/56] Compiling MeiliSearch Version.swift
[47/56] Compiling MeiliSearch WaitOptions.swift
[48/56] Compiling MeiliSearch CancelTasksQuery.swift
[49/56] Compiling MeiliSearch DeleteTasksQuery.swift
[50/56] Compiling MeiliSearch Pagination.swift
[51/56] Compiling MeiliSearch ProximityPrecision.swift
[52/56] Compiling MeiliSearch SearchParameters.swift
[53/56] Compiling MeiliSearch SearchResult.swift
[54/56] Compiling MeiliSearch SearchScoreRankingDetails.swift
[55/56] Compiling MeiliSearch Setting.swift
[56/56] Compiling MeiliSearch SettingResult.swift
Build complete! (12.72s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "meilisearch-swift",
"name" : "meilisearch-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MeiliSearch",
"targets" : [
"MeiliSearch"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MeiliSearchUnitTests",
"module_type" : "SwiftTarget",
"name" : "MeiliSearchUnitTests",
"path" : "Tests/MeiliSearchUnitTests",
"sources" : [
"ClientTests.swift",
"DocumentsTests.swift",
"DumpsTests.swift",
"FormatterTests.swift",
"IndexesTests.swift",
"KeyParamsTests.swift",
"KeysTests.swift",
"MockURLSession.swift",
"PackageVersionTests.swift",
"QueryParameters/DocumentsQueryTests.swift",
"QueryParameters/IndexesQueryTests.swift",
"QueryParameters/KeysQueryTests.swift",
"QueryParameters/TasksQueryTests.swift",
"SearchTests.swift",
"SettingsTests.swift",
"SnapshotsTests.swift",
"StatsTests.swift",
"SystemTests.swift",
"TasksTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"MeiliSearch"
],
"type" : "test"
},
{
"c99name" : "MeiliSearchIntegrationTests",
"module_type" : "SwiftTarget",
"name" : "MeiliSearchIntegrationTests",
"path" : "Tests/MeiliSearchIntegrationTests",
"sources" : [
"DocumentsTests.swift",
"DumpsTests.swift",
"IndexesTests.swift",
"KeysTests.swift",
"SearchTests.swift",
"SettingsTests.swift",
"SnapshotsTests.swift",
"Support/Book.swift",
"Support/Movie.swift",
"Support/NestedBook.swift",
"TaskTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"MeiliSearch"
],
"type" : "test"
},
{
"c99name" : "MeiliSearch",
"module_type" : "SwiftTarget",
"name" : "MeiliSearch",
"path" : "Sources/MeiliSearch",
"product_memberships" : [
"MeiliSearch"
],
"sources" : [
"Async/Client+async.swift",
"Async/Indexes+async.swift",
"Client.swift",
"Config.swift",
"Constants.swift",
"Documents.swift",
"Dumps.swift",
"Error.swift",
"Formatter.swift",
"Indexes.swift",
"Keys.swift",
"Model/DocumentsResults.swift",
"Model/FacetStats.swift",
"Model/Health.swift",
"Model/Index.swift",
"Model/IndexesResults.swift",
"Model/Key.swift",
"Model/KeyAction.swift",
"Model/KeyParams.swift",
"Model/KeysResults.swift",
"Model/PackageVersion.swift",
"Model/Pagination.swift",
"Model/ProximityPrecision.swift",
"Model/SearchParameters.swift",
"Model/SearchResult.swift",
"Model/SearchScoreRankingDetails.swift",
"Model/Setting.swift",
"Model/SettingResult.swift",
"Model/Stat.swift",
"Model/Task/Task.swift",
"Model/Task/TaskDetails.swift",
"Model/Task/TaskInfo.swift",
"Model/Task/TaskStatus.swift",
"Model/Task/TaskType.swift",
"Model/Task/TasksResults.swift",
"Model/TypoTolerance.swift",
"Model/TypoToleranceResult.swift",
"Model/Version.swift",
"Model/WaitOptions.swift",
"QueryParameters/CancelTasksQuery.swift",
"QueryParameters/DeleteTasksQuery.swift",
"QueryParameters/DocumentsQuery.swift",
"QueryParameters/IndexesQuery.swift",
"QueryParameters/KeysQuery.swift",
"QueryParameters/Queryable.swift",
"QueryParameters/TasksQuery.swift",
"Request.swift",
"Search.swift",
"Settings.swift",
"Snapshots.swift",
"Stats.swift",
"System.swift",
"Tasks.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.