[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] building prasetyowira/IC-RAG-Vector against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasetyowira%2FIC-RAG-Vector" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/prasetyowira/IC-RAG-Vector on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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 deranged v0.4.1
[INFO] [stderr]   Downloaded ic0 v0.23.0
[INFO] [stderr]   Downloaded safe_arch v0.7.4
[INFO] [stderr]   Downloaded binread_derive v2.1.0
[INFO] [stderr]   Downloaded ic-cdk v0.17.1
[INFO] [stderr]   Downloaded half v2.5.0
[INFO] [stderr]   Downloaded candid v0.10.13
[INFO] [stderr]   Downloaded ic-stable-structures v0.6.8
[INFO] [stderr]   Downloaded rangemap v1.5.1
[INFO] [stderr]   Downloaded pretty v0.12.4
[INFO] [stderr]   Downloaded binread v2.2.0
[INFO] [stderr]   Downloaded psm v0.1.25
[INFO] [stderr]   Downloaded stacker v0.1.20
[INFO] [stderr]   Downloaded serde_tokenstream v0.2.2
[INFO] [stderr]   Downloaded iana-time-zone v0.1.62
[INFO] [stderr]   Downloaded wide v0.7.32
[INFO] [stderr]   Downloaded candid_derive v0.6.6
[INFO] [stderr]   Downloaded leb128 v0.2.5
[INFO] [stderr]   Downloaded ic-cdk-macros v0.17.1
[INFO] [stderr]   Downloaded ic_principal v0.1.1
[INFO] [stderr]   Downloaded lopdf v0.34.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0987254a3277a89d5e8fe5872ab04ca3c4aef15d26622360405c23d6520e072b
[INFO] running `Command { std: "docker" "start" "-a" "0987254a3277a89d5e8fe5872ab04ca3c4aef15d26622360405c23d6520e072b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0987254a3277a89d5e8fe5872ab04ca3c4aef15d26622360405c23d6520e072b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0987254a3277a89d5e8fe5872ab04ca3c4aef15d26622360405c23d6520e072b", kill_on_drop: false }`
[INFO] [stdout] 0987254a3277a89d5e8fe5872ab04ca3c4aef15d26622360405c23d6520e072b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d444ae656203054502611e7075c6ce0fd7fb939066b27f4a5c0bfdd0b365bf4
[INFO] running `Command { std: "docker" "start" "-a" "4d444ae656203054502611e7075c6ce0fd7fb939066b27f4a5c0bfdd0b365bf4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling psm v0.1.25
[INFO] [stderr]    Compiling stacker v0.1.20
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling zerocopy v0.8.24
[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 crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling bytemuck v1.22.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling deranged v0.4.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling pretty v0.12.4
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling half v2.5.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.62
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling flate2 v1.1.0
[INFO] [stderr]    Compiling wide v0.7.32
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rangemap v1.5.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling ic0 v0.23.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling ordered-float v4.6.0
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling 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 thiserror v1.0.69
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling serde_bytes v0.11.17
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling serde-big-array v0.5.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]    Compiling ic-stable-structures v0.6.8
[INFO] [stderr]    Compiling instant-distance v0.6.1 (https://github.com/elna-ai/instant-distance#f65c8986)
[INFO] [stderr]    Compiling simba v0.8.1
[INFO] [stderr]    Compiling candid v0.10.13
[INFO] [stderr]    Compiling ic-cdk-macros v0.17.1
[INFO] [stderr]    Compiling ic-cdk v0.17.1
[INFO] [stderr]    Compiling nalgebra v0.32.6
[INFO] [stderr]    Compiling 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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.90s
[INFO] running `Command { std: "docker" "inspect" "4d444ae656203054502611e7075c6ce0fd7fb939066b27f4a5c0bfdd0b365bf4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d444ae656203054502611e7075c6ce0fd7fb939066b27f4a5c0bfdd0b365bf4", kill_on_drop: false }`
[INFO] [stdout] 4d444ae656203054502611e7075c6ce0fd7fb939066b27f4a5c0bfdd0b365bf4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3fc9e12326e115553f8ec43a56fc67d4caea92a12301b6d30a9e29b6ed541acb
[INFO] running `Command { std: "docker" "start" "-a" "3fc9e12326e115553f8ec43a56fc67d4caea92a12301b6d30a9e29b6ed541acb", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 2.16s
[INFO] running `Command { std: "docker" "inspect" "3fc9e12326e115553f8ec43a56fc67d4caea92a12301b6d30a9e29b6ed541acb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fc9e12326e115553f8ec43a56fc67d4caea92a12301b6d30a9e29b6ed541acb", kill_on_drop: false }`
[INFO] [stdout] 3fc9e12326e115553f8ec43a56fc67d4caea92a12301b6d30a9e29b6ed541acb
