Build Information
Successful build of meilisearch-swift, reference main (0cde8d
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 19:32:24 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
45 | }
46 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[12/56] Compiling MeiliSearch Config.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[13/56] Compiling MeiliSearch Constants.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[14/56] Compiling MeiliSearch Documents.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[15/56] Compiling MeiliSearch Stat.swift
[16/56] Compiling MeiliSearch Task.swift
[17/56] Compiling MeiliSearch TaskDetails.swift
[18/56] Compiling MeiliSearch TaskInfo.swift
[19/56] Compiling MeiliSearch TaskStatus.swift
[20/56] Compiling MeiliSearch Settings.swift
[21/56] Compiling MeiliSearch Snapshots.swift
[22/56] Compiling MeiliSearch Stats.swift
[23/56] Compiling MeiliSearch System.swift
[24/56] Compiling MeiliSearch Tasks.swift
[25/56] Compiling MeiliSearch SearchParameters.swift
[26/56] Compiling MeiliSearch SearchResult.swift
[27/56] Compiling MeiliSearch SearchScoreRankingDetails.swift
[28/56] Compiling MeiliSearch Setting.swift
[29/56] Compiling MeiliSearch SettingResult.swift
[30/56] Compiling MeiliSearch Dumps.swift
/Users/admin/builder/spi-builder-workspace/Sources/MeiliSearch/Error.swift:83:10: warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
9 | public extension MeiliSearch {
10 | // MARK: Error
11 | struct MSErrorResponse: Decodable, Encodable, Equatable {
| `- note: consider making struct 'MSErrorResponse' conform to the 'Sendable' protocol
12 | /// A human-readable description of the error
13 | public let message: String
:
81 | /// Error originating from Meilisearch API.
82 | /// case meiliSearchApiError(message: String, code: String, type: String, link: String? = "http://docs.meilisearch.com/errors", underlying: Swift.Error)
83 | case meiliSearchApiError(message: String, msErrorResponse: MSErrorResponse?, statusCode: Int = 0, url: String = "")
| `- warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
84 |
85 | /// Error communicating with Meilisearch API.
[31/56] Compiling MeiliSearch Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/MeiliSearch/Error.swift:83:10: warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
9 | public extension MeiliSearch {
10 | // MARK: Error
11 | struct MSErrorResponse: Decodable, Encodable, Equatable {
| `- note: consider making struct 'MSErrorResponse' conform to the 'Sendable' protocol
12 | /// A human-readable description of the error
13 | public let message: String
:
81 | /// Error originating from Meilisearch API.
82 | /// case meiliSearchApiError(message: String, code: String, type: String, link: String? = "http://docs.meilisearch.com/errors", underlying: Swift.Error)
83 | case meiliSearchApiError(message: String, msErrorResponse: MSErrorResponse?, statusCode: Int = 0, url: String = "")
| `- warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
84 |
85 | /// Error communicating with Meilisearch API.
[32/56] Compiling MeiliSearch Formatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/MeiliSearch/Error.swift:83:10: warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
9 | public extension MeiliSearch {
10 | // MARK: Error
11 | struct MSErrorResponse: Decodable, Encodable, Equatable {
| `- note: consider making struct 'MSErrorResponse' conform to the 'Sendable' protocol
12 | /// A human-readable description of the error
13 | public let message: String
:
81 | /// Error originating from Meilisearch API.
82 | /// case meiliSearchApiError(message: String, code: String, type: String, link: String? = "http://docs.meilisearch.com/errors", underlying: Swift.Error)
83 | case meiliSearchApiError(message: String, msErrorResponse: MSErrorResponse?, statusCode: Int = 0, url: String = "")
| `- warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
84 |
85 | /// Error communicating with Meilisearch API.
[33/56] Compiling MeiliSearch Indexes.swift
/Users/admin/builder/spi-builder-workspace/Sources/MeiliSearch/Error.swift:83:10: warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
9 | public extension MeiliSearch {
10 | // MARK: Error
11 | struct MSErrorResponse: Decodable, Encodable, Equatable {
| `- note: consider making struct 'MSErrorResponse' conform to the 'Sendable' protocol
12 | /// A human-readable description of the error
13 | public let message: String
:
81 | /// Error originating from Meilisearch API.
82 | /// case meiliSearchApiError(message: String, code: String, type: String, link: String? = "http://docs.meilisearch.com/errors", underlying: Swift.Error)
83 | case meiliSearchApiError(message: String, msErrorResponse: MSErrorResponse?, statusCode: Int = 0, url: String = "")
| `- warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
84 |
85 | /// Error communicating with Meilisearch API.
[34/56] Compiling MeiliSearch Keys.swift
/Users/admin/builder/spi-builder-workspace/Sources/MeiliSearch/Error.swift:83:10: warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
9 | public extension MeiliSearch {
10 | // MARK: Error
11 | struct MSErrorResponse: Decodable, Encodable, Equatable {
| `- note: consider making struct 'MSErrorResponse' conform to the 'Sendable' protocol
12 | /// A human-readable description of the error
13 | public let message: String
:
81 | /// Error originating from Meilisearch API.
82 | /// case meiliSearchApiError(message: String, code: String, type: String, link: String? = "http://docs.meilisearch.com/errors", underlying: Swift.Error)
83 | case meiliSearchApiError(message: String, msErrorResponse: MSErrorResponse?, statusCode: Int = 0, url: String = "")
| `- warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
84 |
85 | /// Error communicating with Meilisearch API.
[35/56] Compiling MeiliSearch DocumentsResults.swift
/Users/admin/builder/spi-builder-workspace/Sources/MeiliSearch/Error.swift:83:10: warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
9 | public extension MeiliSearch {
10 | // MARK: Error
11 | struct MSErrorResponse: Decodable, Encodable, Equatable {
| `- note: consider making struct 'MSErrorResponse' conform to the 'Sendable' protocol
12 | /// A human-readable description of the error
13 | public let message: String
:
81 | /// Error originating from Meilisearch API.
82 | /// case meiliSearchApiError(message: String, code: String, type: String, link: String? = "http://docs.meilisearch.com/errors", underlying: Swift.Error)
83 | case meiliSearchApiError(message: String, msErrorResponse: MSErrorResponse?, statusCode: Int = 0, url: String = "")
| `- warning: associated value 'meiliSearchApiError(message:msErrorResponse:statusCode:url:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MeiliSearch.MSErrorResponse'; this is an error in the Swift 6 language mode
84 |
85 | /// Error communicating with Meilisearch API.
[36/56] Compiling MeiliSearch KeysQuery.swift
/Users/admin/builder/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 | }
[37/56] Compiling MeiliSearch Queryable.swift
/Users/admin/builder/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 | }
[38/56] Compiling MeiliSearch TasksQuery.swift
/Users/admin/builder/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 Request.swift
/Users/admin/builder/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 Search.swift
/Users/admin/builder/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 FacetStats.swift
[42/56] Compiling MeiliSearch Health.swift
[43/56] Compiling MeiliSearch Index.swift
[44/56] Compiling MeiliSearch IndexesResults.swift
[45/56] Compiling MeiliSearch Key.swift
[46/56] Compiling MeiliSearch KeyAction.swift
[47/56] Compiling MeiliSearch WaitOptions.swift
[48/56] Compiling MeiliSearch CancelTasksQuery.swift
[49/56] Compiling MeiliSearch DeleteTasksQuery.swift
[50/56] Compiling MeiliSearch DocumentsQuery.swift
[51/56] Compiling MeiliSearch IndexesQuery.swift
[52/56] Compiling MeiliSearch KeyParams.swift
[53/56] Compiling MeiliSearch KeysResults.swift
[54/56] Compiling MeiliSearch PackageVersion.swift
[55/56] Compiling MeiliSearch Pagination.swift
[56/56] Compiling MeiliSearch ProximityPrecision.swift
Build complete! (6.09s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "meilisearch-swift",
"name" : "meilisearch-swift",
"path" : "/Users/admin/builder/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"
}
Done.