git: ac664812bc58 - main - textproc/meilisearch: Fix build with rust 1.92.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Dec 2025 12:13:18 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ac664812bc588ce5d7b10a45472ca8fffb3bda15
commit ac664812bc588ce5d7b10a45472ca8fffb3bda15
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2025-12-16 12:03:19 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-12-16 12:12:03 +0000
textproc/meilisearch: Fix build with rust 1.92.0
error:
error: this function depends on never type fallback being `()`
--> index-scheduler/src/batch.rs:631:5
|
631 | #[tracing::instrument(level = "trace", skip(self, batch), target = "indexing::scheduler", fields(batch=batch.to_string()))]
PR: 291582, 291685
Approved by: portmgr (build fix blanket)
---
textproc/meilisearch/files/patch-rust-1.92.0 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/textproc/meilisearch/files/patch-rust-1.92.0 b/textproc/meilisearch/files/patch-rust-1.92.0
new file mode 100644
index 000000000000..6c6b7cf69763
--- /dev/null
+++ b/textproc/meilisearch/files/patch-rust-1.92.0
@@ -0,0 +1,10 @@
+--- index-scheduler/src/batch.rs.orig 2025-12-16 13:02:05 UTC
++++ index-scheduler/src/batch.rs
+@@ -628,6 +628,7 @@ impl IndexScheduler {
+ /// The list of tasks that were processed. The metadata of each task in the returned
+ /// list is updated accordingly, with the exception of the its date fields
+ /// [`finished_at`](meilisearch_types::tasks::Task::finished_at) and [`started_at`](meilisearch_types::tasks::Task::started_at).
++ #[allow(dependency_on_unit_never_type_fallback)]
+ #[tracing::instrument(level = "trace", skip(self, batch), target = "indexing::scheduler", fields(batch=batch.to_string()))]
+ pub(crate) fn process_batch(&self, batch: Batch) -> Result<Vec<Task>> {
+ #[cfg(test)]