Skip to content

feat: Add support for Sqlite vector store #289

feat: Add support for Sqlite vector store

feat: Add support for Sqlite vector store #289

Re-run triggered November 25, 2024 19:09
Status Failure
Total duration 3m 37s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
redundant closure: rig-sqlite/src/lib.rs#L38
error: redundant closure --> rig-sqlite/src/lib.rs:38:22 | 38 | .map_err(|e| tokio_rusqlite::Error::from(e)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure = note: `-D clippy::redundant-closure` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
redundant closure: rig-sqlite/src/lib.rs#L71
error: redundant closure --> rig-sqlite/src/lib.rs:71:30 | 71 | .map_err(|e| tokio_rusqlite::Error::from(e))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
redundant closure: rig-sqlite/src/lib.rs#L80
error: redundant closure --> rig-sqlite/src/lib.rs:80:30 | 80 | .map_err(|e| tokio_rusqlite::Error::from(e))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
the borrowed expression implements the required traits: rig-sqlite/src/lib.rs#L78
error: the borrowed expression implements the required traits --> rig-sqlite/src/lib.rs:78:25 | 78 | &[&doc.id, &doc.document.to_string()], | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `[&doc.id, &doc.document.to_string()]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`
redundant closure: rig-sqlite/src/lib.rs#L87
error: redundant closure --> rig-sqlite/src/lib.rs:87:34 | 87 | .map_err(|e| tokio_rusqlite::Error::from(e))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
redundant closure: rig-sqlite/src/lib.rs#L98
error: redundant closure --> rig-sqlite/src/lib.rs:98:38 | 98 | ... .map_err(|e| tokio_rusqlite::Error::from(e))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
redundant closure: rig-sqlite/src/lib.rs#L102
error: redundant closure --> rig-sqlite/src/lib.rs:102:37 | 102 | tx.commit().map_err(|e| tokio_rusqlite::Error::from(e))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
redundant closure: rig-sqlite/src/lib.rs#L126
error: redundant closure --> rig-sqlite/src/lib.rs:126:26 | 126 | .map_err(|e| tokio_rusqlite::Error::from(e)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
stable / clippy
Clippy has exited with exit code 101
stable / test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 100