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