Feat(vector store): lancedb #83
Annotations
6 errors
Run clippy action:
rig-lancedb/src/lib.rs#L1
error: unused import: `std::sync::Arc`
--> rig-lancedb/src/lib.rs:1:5
|
1 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
Run clippy action:
rig-lancedb/src/lib.rs#L4
error: unused imports: `DataType`, `Field`, `Fields`, and `Schema`
--> rig-lancedb/src/lib.rs:4:27
|
4 | arrow::arrow_schema::{DataType, Field, Fields, Schema},
| ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^
|
Run clippy action:
rig-lancedb/src/lib.rs#L183
error: unused variable: `query`
--> rig-lancedb/src/lib.rs:183:9
|
183 | query: &str,
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
Run clippy action:
rig-lancedb/src/lib.rs#L184
error: unused variable: `n`
--> rig-lancedb/src/lib.rs:184:9
|
184 | n: usize,
| ^ help: if this is intentional, prefix it with an underscore: `_n`
|
Run clippy action:
rig-lancedb/src/utils/mod.rs#L102
error: method `insert` is never used
--> rig-lancedb/src/utils/mod.rs:102:14
|
101 | pub trait Insert<T> {
| ------ method in this trait
102 | async fn insert(&self, data: T, schema: Schema) -> Result<(), lancedb::Error>;
| ^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
Run clippy action
Clippy has exited with exit code 101
|
Loading