Skip to content

feat: Add support for Sqlite vector store #324

feat: Add support for Sqlite vector store

feat: Add support for Sqlite vector store #324

Re-run triggered December 1, 2024 05:56
Status Failure
Total duration 1m 47s
Artifacts

ci.yaml

on: pull_request
stable / fmt
21s
stable / fmt
stable / clippy
54s
stable / clippy
stable / test
1m 38s
stable / test
stable / doc
46s
stable / doc
Fit to window
Zoom out
Zoom in

Annotations

4 errors
calling `push_str()` using a single-character string literal: rig-sqlite/src/lib.rs#L106
error: calling `push_str()` using a single-character string literal --> rig-sqlite/src/lib.rs:106:17 | 106 | create_table.push_str(","); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `create_table.push(',')` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str = note: `-D clippy::single-char-add-str` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::single_char_add_str)]`
this expression creates a reference which is immediately dereferenced by the compiler: rig-sqlite/src/lib.rs#L202
error: this expression creates a reference which is immediately dereferenced by the compiler --> rig-sqlite/src/lib.rs:202:47 | 202 | let vec = serialize_embedding(&embedding); | ^^^^^^^^^^ help: change this to: `embedding` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
stable / clippy
Clippy has exited with exit code 101
stable / test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 100