Checking app v0.1.0 (D:\develop\sqlitevector\src-tauri)
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures`
--> src\mcp.rs:7:5
|
7 | use futures::stream::{self, Stream};
| ^^^^^^^ use of unresolved module or unlinked crate `futures`
|
= help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml`
error[E0432]: unresolved import `futures`
--> src\mcp.rs:7:5
|
7 | use futures::stream::{self, Stream};
| ^^^^^^^ use of unresolved module or unlinked crate `futures`
|
= help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml`
warning: unused import: `std::path::Path`
--> src\db.rs:3:5
|
3 | use std::path::Path;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `Mutex`
--> src\mcp.rs:10:22
|
10 | use std::sync::{Arc, Mutex};
| ^^^^^
warning: unused import: `crate::llama::LlamaClient`
--> src\mcp.rs:12:5
|
12 | use crate::llama::LlamaClient;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `items::Entity as ItemsEntity`
--> src\mcp.rs:13:30
|
13 | use crate::entities::{items, items::Entity as ItemsEntity};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
warning: `app` (lib) generated 4 warnings
error: could not compile `app` (lib) due to 2 previous errors; 4 warnings emitted