[INFO] cloning repository https://github.com/prasetyowira/IC-RAG-Vector
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prasetyowira/IC-RAG-Vector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasetyowira%2FIC-RAG-Vector", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasetyowira%2FIC-RAG-Vector'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b67f61aefd8cb88fe372186b2e9b48733c2f651
[INFO] checking prasetyowira/IC-RAG-Vector against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasetyowira%2FIC-RAG-Vector" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/prasetyowira/IC-RAG-Vector
[INFO] finished tweaking git repo https://github.com/prasetyowira/IC-RAG-Vector
[INFO] tweaked toml for git repo https://github.com/prasetyowira/IC-RAG-Vector written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/prasetyowira/IC-RAG-Vector on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/prasetyowira/IC-RAG-Vector already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/elna-ai/instant-distance`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f182b55d198e7ec4fbca66c6e11d17ae2c26e914053437fe25ca7cc30fe32736
[INFO] running `Command { std: "docker" "start" "-a" "f182b55d198e7ec4fbca66c6e11d17ae2c26e914053437fe25ca7cc30fe32736", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f182b55d198e7ec4fbca66c6e11d17ae2c26e914053437fe25ca7cc30fe32736", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f182b55d198e7ec4fbca66c6e11d17ae2c26e914053437fe25ca7cc30fe32736", kill_on_drop: false }`
[INFO] [stdout] f182b55d198e7ec4fbca66c6e11d17ae2c26e914053437fe25ca7cc30fe32736
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b4cc77b3b4785054633c94fa8a6077baa3c82ab39104efde93c2d15b94a49ca
[INFO] running `Command { std: "docker" "start" "-a" "2b4cc77b3b4785054633c94fa8a6077baa3c82ab39104efde93c2d15b94a49ca", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling psm v0.1.25
[INFO] [stderr]    Compiling stacker v0.1.20
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling data-encoding v2.8.0
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]    Compiling pretty v0.12.4
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking deranged v0.4.1
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking wide v0.7.32
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking half v2.5.0
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking iana-time-zone v0.1.62
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking time-core v0.1.4
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking flate2 v1.1.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking ic0 v0.23.0
[INFO] [stderr]     Checking rangemap v1.5.1
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]     Checking lopdf v0.34.0
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]     Checking ic_principal v0.1.1
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking serde-big-array v0.5.1
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking instant-distance v0.6.1 (https://github.com/elna-ai/instant-distance#f65c8986)
[INFO] [stderr]     Checking ic-stable-structures v0.6.8
[INFO] [stderr]     Checking simba v0.8.1
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]     Checking candid v0.10.13
[INFO] [stderr]    Compiling ic-cdk-macros v0.17.1
[INFO] [stderr]     Checking ic-cdk v0.17.1
[INFO] [stderr]     Checking nalgebra v0.32.6
[INFO] [stderr]     Checking backend v0.1.0 (/opt/rustwide/workdir/backend)
[INFO] [stdout] warning: unused import: `std::env::args`
[INFO] [stdout]  --> backend/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::args;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vdb::error::Error`
[INFO] [stdout]   --> backend/client.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::vdb::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `ipv4-support`
[INFO] [stdout]   --> backend/client.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let support = cfg!(feature = "ipv4-support");
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `ipv4-support` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ic_stable_structures::Storable`
[INFO] [stdout]  --> backend/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ic_stable_structures::Storable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::args`
[INFO] [stdout]  --> backend/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::args;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vdb::error::Error`
[INFO] [stdout]   --> backend/client.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::vdb::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `ipv4-support`
[INFO] [stdout]   --> backend/client.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let support = cfg!(feature = "ipv4-support");
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `ipv4-support` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ic_stable_structures::Storable`
[INFO] [stdout]  --> backend/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ic_stable_structures::Storable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title`, `file_name`, `file_type`, `date_from`, and `date_to` are never read
[INFO] [stdout]   --> backend/vdb/collection.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct CollectionQuery {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 38 |     pub title: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 39 |     pub file_name: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 40 |     pub file_type: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 41 |     pub date_from: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 42 |     pub date_to: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CollectionQuery` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find` and `query` are never used
[INFO] [stdout]    --> backend/vdb/collection.rs:76:12
[INFO] [stdout]     |
[INFO] [stdout] 60  | impl Collection {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76  |     pub fn find(&self, query: CollectionQuery) -> Vec<&DocMetadata> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn query(&self, key: &Vector, search: &mut Search, limit: i32) -> Vec<(f32, String)> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `query`, `delete_collection`, `get_all_collections`, and `get_docs_by_query` are never used
[INFO] [stdout]    --> backend/vdb/db.rs:69:12
[INFO] [stdout]     |
[INFO] [stdout] 17  | impl Database {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69  |     pub fn query(
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91  |     pub fn delete_collection(&mut self, name: &String) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99  |     pub fn get_all_collections(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn get_docs_by_query(&mut self, name: &String, query: CollectionQuery) -> Result<Vec<&DocMetadata>, Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cos_sim` is never used
[INFO] [stdout]   --> backend/vdb/index.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Vector {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 38 |     pub fn cos_sim(&self, other: &Vector) -> f32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STABLE_BTREE` is never used
[INFO] [stdout]   --> backend/vdb/memory.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const STABLE_BTREE: MemoryId = MemoryId::new(1);
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_owner` is never used
[INFO] [stdout]   --> backend/vdb/memory.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn set_owner(owner: Principal) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_stable_btree_memory` is never used
[INFO] [stdout]   --> backend/vdb/memory.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn get_stable_btree_memory() -> Memory {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> backend/client.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl CanisterHttpRequest {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn get(self, url: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> backend/vdb/collection.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> backend/vdb/db.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         collection.remove(file_name);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let _ = collection.remove(file_name);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `query` is never used
[INFO] [stdout]    --> backend/vdb/collection.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 60  | impl Collection {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn query(&self, key: &Vector, search: &mut Search, limit: i32) -> Vec<(f32, String)> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `query` and `get_all_collections` are never used
[INFO] [stdout]   --> backend/vdb/db.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Database {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn query(
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub fn get_all_collections(&self) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cos_sim` is never used
[INFO] [stdout]   --> backend/vdb/index.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Vector {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 38 |     pub fn cos_sim(&self, other: &Vector) -> f32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STABLE_BTREE` is never used
[INFO] [stdout]   --> backend/vdb/memory.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const STABLE_BTREE: MemoryId = MemoryId::new(1);
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_owner` is never used
[INFO] [stdout]   --> backend/vdb/memory.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn set_owner(owner: Principal) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_stable_btree_memory` is never used
[INFO] [stdout]   --> backend/vdb/memory.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn get_stable_btree_memory() -> Memory {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> backend/client.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl CanisterHttpRequest {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn get(self, url: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> backend/vdb/collection.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> backend/vdb/db.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         collection.remove(file_name);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let _ = collection.remove(file_name);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s
[INFO] running `Command { std: "docker" "inspect" "2b4cc77b3b4785054633c94fa8a6077baa3c82ab39104efde93c2d15b94a49ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b4cc77b3b4785054633c94fa8a6077baa3c82ab39104efde93c2d15b94a49ca", kill_on_drop: false }`
[INFO] [stdout] 2b4cc77b3b4785054633c94fa8a6077baa3c82ab39104efde93c2d15b94a49ca
