[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#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[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 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "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" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/elna-ai/instant-distance`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-complex v0.4.6
[INFO] [stderr]   Downloaded matrixmultiply v0.3.9
[INFO] [stderr]   Downloaded serde-big-array v0.5.1
[INFO] [stderr]   Downloaded libm v0.2.11
[INFO] [stderr]   Downloaded simba v0.8.1
[INFO] [stderr]   Downloaded ic0 v0.23.0
[INFO] [stderr]   Downloaded ciborium-io v0.2.2
[INFO] [stderr]   Downloaded ic_principal v0.1.1
[INFO] [stderr]   Downloaded ic-cdk-macros v0.17.1
[INFO] [stderr]   Downloaded leb128 v0.2.5
[INFO] [stderr]   Downloaded ciborium-ll v0.2.2
[INFO] [stderr]   Downloaded data-encoding v2.8.0
[INFO] [stderr]   Downloaded serde_tokenstream v0.2.2
[INFO] [stderr]   Downloaded stacker v0.1.20
[INFO] [stderr]   Downloaded typed-arena v2.0.2
[INFO] [stderr]   Downloaded binread_derive v2.1.0
[INFO] [stderr]   Downloaded psm v0.1.25
[INFO] [stderr]   Downloaded pretty v0.12.4
[INFO] [stderr]   Downloaded candid_derive v0.6.6
[INFO] [stderr]   Downloaded deranged v0.4.1
[INFO] [stderr]   Downloaded iana-time-zone v0.1.62
[INFO] [stderr]   Downloaded binread v2.2.0
[INFO] [stderr]   Downloaded ciborium v0.2.2
[INFO] [stderr]   Downloaded ic-cdk v0.17.1
[INFO] [stderr]   Downloaded candid v0.10.13
[INFO] [stderr]   Downloaded anyhow v1.0.97
[INFO] [stderr]   Downloaded half v2.5.0
[INFO] [stderr]   Downloaded rangemap v1.5.1
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.24
[INFO] [stderr]   Downloaded ic-stable-structures v0.6.8
[INFO] [stderr]   Downloaded cc v1.2.17
[INFO] [stderr]   Downloaded flate2 v1.1.0
[INFO] [stderr]   Downloaded zerocopy v0.8.24
[INFO] [stderr]   Downloaded nalgebra v0.32.6
[INFO] [stderr]   Downloaded lopdf v0.34.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fd58df632b71603e656727845eb277e7821dc3a88e91f62b358dc894811909a1
[INFO] running `Command { std: "docker" "start" "fd58df632b71603e656727845eb277e7821dc3a88e91f62b358dc894811909a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd58df632b71603e656727845eb277e7821dc3a88e91f62b358dc894811909a1" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd58df632b71603e656727845eb277e7821dc3a88e91f62b358dc894811909a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd58df632b71603e656727845eb277e7821dc3a88e91f62b358dc894811909a1" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling data-encoding v2.8.0
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling pretty v0.12.4
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]     Checking deranged v0.4.1
[INFO] [stderr]     Checking wide v0.7.32
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking half v2.5.0
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]     Checking iana-time-zone v0.1.62
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking time-core v0.1.4
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking flate2 v1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking rangemap v1.5.1
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking ic0 v0.23.0
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling psm v0.1.25
[INFO] [stderr]    Compiling stacker v0.1.20
[INFO] [stderr]     Checking lopdf v0.34.0
[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]    Compiling binread v2.2.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling serde_bytes v0.11.17
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[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 ic-stable-structures v0.6.8
[INFO] [stderr]     Checking instant-distance v0.6.1 (https://github.com/elna-ai/instant-distance#f65c8986)
[INFO] [stderr]     Checking simba v0.8.1
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CollectionQuery` is never constructed
[INFO] [stdout]   --> backend/vdb/collection.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct CollectionQuery {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 56.76s
[INFO] running `Command { std: "docker" "inspect" "fd58df632b71603e656727845eb277e7821dc3a88e91f62b358dc894811909a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd58df632b71603e656727845eb277e7821dc3a88e91f62b358dc894811909a1", kill_on_drop: false }`
[INFO] [stdout] fd58df632b71603e656727845eb277e7821dc3a88e91f62b358dc894811909a1
