Checking telos-db v0.2.0 (D:\develop\TelosDB\src-backend) warning: unused import: `Emitter` --> src\lib.rs:16:13 | 16 | use tauri::{Emitter, Manager}; | ^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default error[E0597]: `clean_ext_path` does not live long enough --> src\db.rs:19:20 | 10 | let clean_ext_path = extension_path | -------------- binding `clean_ext_path` declared here ... 17 | let options = SqliteConnectOptions::from_str(&db_url)? | ___________________- 18 | | .create_if_missing(true) 19 | | .extension(&clean_ext_path); | |____________________^^^^^^^^^^^^^^^- argument requires that `clean_ext_path` is borrowed for `'static` | | | borrowed value does not live long enough ... 107 | } | - `clean_ext_path` dropped here while still borrowed | note: requirement that the value outlives `'static` introduced here --> C:\Users\bythe\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-sqlite-0.8.6\src\options\mod.rs:487:53 | 487 | pub fn extension(mut self, extension_name: impl Into>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^ warning: variable does not need to be mutable --> src\lib.rs:380:9 | 380 | let mut model_path = base_dir.join("models").join("embeddinggemma-300m-q4_0.gguf"); | ----^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default For more information about this error, try `rustc --explain E0597`. warning: `telos-db` (lib) generated 2 warnings error: could not compile `telos-db` (lib) due to 1 previous error; 2 warnings emitted