[INFO] cloning repository https://github.com/SuleymanSuleymanzade/vector_database
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuleymanSuleymanzade/vector_database" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuleymanSuleymanzade%2Fvector_database", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuleymanSuleymanzade%2Fvector_database'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c923debcff8470a6d40d80835c75ca79961d5a9e
[INFO] testing SuleymanSuleymanzade/vector_database against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuleymanSuleymanzade%2Fvector_database" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SuleymanSuleymanzade/vector_database
[INFO] finished tweaking git repo https://github.com/SuleymanSuleymanzade/vector_database
[INFO] tweaked toml for git repo https://github.com/SuleymanSuleymanzade/vector_database written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SuleymanSuleymanzade/vector_database on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SuleymanSuleymanzade/vector_database 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pyo3-macros v0.21.2
[INFO] [stderr]   Downloaded unindent v0.2.3
[INFO] [stderr]   Downloaded pyo3-build-config v0.21.2
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.21.2
[INFO] [stderr]   Downloaded pyo3-ffi v0.21.2
[INFO] [stderr]   Downloaded serde_json v1.0.120
[INFO] [stderr]   Downloaded numpy v0.21.0
[INFO] [stderr]   Downloaded syn v2.0.68
[INFO] [stderr]   Downloaded pyo3 v0.21.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aea39003e7c93e070dce11e52399462c73c91fde9c07addff17cf0a26253b4fe
[INFO] running `Command { std: "docker" "start" "-a" "aea39003e7c93e070dce11e52399462c73c91fde9c07addff17cf0a26253b4fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aea39003e7c93e070dce11e52399462c73c91fde9c07addff17cf0a26253b4fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aea39003e7c93e070dce11e52399462c73c91fde9c07addff17cf0a26253b4fe", kill_on_drop: false }`
[INFO] [stdout] aea39003e7c93e070dce11e52399462c73c91fde9c07addff17cf0a26253b4fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6954729cc01071bc8eb1c971cff50ab2fc3503f6b172d4a32c678a7a3727683
[INFO] running `Command { std: "docker" "start" "-a" "f6954729cc01071bc8eb1c971cff50ab2fc3503f6b172d4a32c678a7a3727683", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling target-lexicon v0.12.14
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling portable-atomic v1.6.0
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling unindent v0.2.3
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling pyo3-build-config v0.21.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling pyo3-ffi v0.21.2
[INFO] [stderr]    Compiling pyo3 v0.21.2
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling pyo3-macros-backend v0.21.2
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling ndarray-rand v0.14.0
[INFO] [stderr]    Compiling pyo3-macros v0.21.2
[INFO] [stderr]    Compiling numpy v0.21.0
[INFO] [stderr]    Compiling vector_database v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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::algorithms::fast_search as fast_search`
[INFO] [stdout]  --> src/algorithms/kdtree.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::algorithms::fast_search as fast_search;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/algorithms/kdtree.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Serialize, Deserialize, Deserializer};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SeqAccess` and `Visitor`
[INFO] [stdout]  --> src/algorithms/locality_sensitive_hashing.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::de::{Visitor, SeqAccess};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/algorithms/locality_sensitive_hashing.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Error as SerdeError`
[INFO] [stdout]  --> src/state_manager/local_saver.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Error as SerdeError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::locality_sensitive_hashing::HashGenerator`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use algorithms::locality_sensitive_hashing::HashGenerator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1` and `Array2`
[INFO] [stdout]  --> src/main.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ndarray::{Array1, Array2, arr1};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `state_manager::local_saver::LocalSaver`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use state_manager::local_saver::LocalSaver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::kdtree as kdtree`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use algorithms::kdtree as kdtree;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::algorithms::fast_search::FastSearch`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::algorithms::fast_search::FastSearch; 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pyo3::methods`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pyo3::methods;
[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: `pyo3::wrap_pyfunction`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use pyo3::wrap_pyfunction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::algorithms::fast_search as fast_search`
[INFO] [stdout]  --> src/algorithms/kdtree.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::algorithms::fast_search as fast_search;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/algorithms/kdtree.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Serialize, Deserialize, Deserializer};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SeqAccess` and `Visitor`
[INFO] [stdout]  --> src/algorithms/locality_sensitive_hashing.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::de::{Visitor, SeqAccess};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/algorithms/locality_sensitive_hashing.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::kdtree as kdtree`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use algorithms::kdtree as kdtree;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::algorithms::fast_search::FastSearch`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::algorithms::fast_search::FastSearch; 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1` and `Array2`
[INFO] [stdout]   --> src/lib.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ndarray::{Array1, Array2};
[INFO] [stdout]    |               ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::locality_sensitive_hashing::HashGenerator`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use algorithms::locality_sensitive_hashing::HashGenerator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `numpy::ToPyArray::to_pyarray`: will be replaced by `ToPyArray::to_pyarray_bound` in the future
[INFO] [stdout]   --> src/lib.rs:50:39
[INFO] [stdout]    |
[INFO] [stdout] 50 |         nearest.into_iter().map(|v| v.to_pyarray(py).to_owned()).collect()
[INFO] [stdout]    |                                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `numpy::PyArray::<T, D>::to_owned`: use Bound::unbind() instead
[INFO] [stdout]   --> src/lib.rs:50:54
[INFO] [stdout]    |
[INFO] [stdout] 50 |         nearest.into_iter().map(|v| v.to_pyarray(py).to_owned()).collect()
[INFO] [stdout]    |                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stdout]   --> src/lib.rs:42:50
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn insert(&mut self, py: Python, inp_vector: &PyArray1<f64>) {
[INFO] [stdout]    |                                                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stdout]   --> src/lib.rs:47:47
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn nearest(&self, py: Python, inp_vector: &PyArray1<f64>) -> Vec<Py<PyArray1<f64>>> {
[INFO] [stdout]    |                                               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stdout]   --> src/lib.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn vectordb(_py: Python, m: &PyModule) -> PyResult<()> {
[INFO] [stdout]    |                          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/algorithms/locality_sensitive_hashing.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for i in 0..num_tables{
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `build`, `nearest`, `insert_recursive`, and `insert` are never used
[INFO] [stdout]    --> src/algorithms/kdtree.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl KDTree{
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  30 |
[INFO] [stdout]  31 |     pub fn new(points: Vec<vector_db::Vector>, state: HashMap<String, usize>) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn build(points: Vec<vector_db::Vector>, depth: usize) -> KDTreeNode {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn nearest<'b>(
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     fn insert_recursive(&self, node: KDTreeNode, point: vector_db::Vector, depth: usize) -> KDTreeNode {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn insert(&mut self, point: vector_db::Vector) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_vector`, `get_vector`, `find_closest`, and `euclidean_distance` are never used
[INFO] [stdout]   --> src/algorithms/vector_db.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl VectorDB {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |    pub fn add_vector(&mut self, vector: Vector) {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |    pub fn get_vector(&self, index: usize) -> Option<&Vector> {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn find_closest(&self, query: Vector) -> Option<&Vector> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn euclidean_distance(l_obj: &Vector, r_obj: &Vector) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FastSearch` is never used
[INFO] [stdout]  --> src/algorithms/fast_search.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait FastSearch{ 
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LocalSaver` is never constructed
[INFO] [stdout]  --> src/state_manager/local_saver.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct LocalSaver;
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `save_state` and `load_state` are never used
[INFO] [stdout]   --> src/state_manager/local_saver.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl LocalSaver {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 10 |     pub fn save_state<T>(fast_search: &T, file_path: &str) -> Result<(), io::Error>
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn load_state<T>(fast_search: &mut T, file_path: &str) -> Result<(), io::Error>
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/algorithms/locality_sensitive_hashing.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for i in 0..num_tables{
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]   --> src/lib.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn insert(&mut self, py: Python, inp_vector: &PyArray1<f64>) {
[INFO] [stdout]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `build`, `nearest`, `insert_recursive`, and `insert` are never used
[INFO] [stdout]    --> src/algorithms/kdtree.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl KDTree{
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  30 |
[INFO] [stdout]  31 |     pub fn new(points: Vec<vector_db::Vector>, state: HashMap<String, usize>) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn build(points: Vec<vector_db::Vector>, depth: usize) -> KDTreeNode {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn nearest<'b>(
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     fn insert_recursive(&self, node: KDTreeNode, point: vector_db::Vector, depth: usize) -> KDTreeNode {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn insert(&mut self, point: vector_db::Vector) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_vector`, `get_vector`, `find_closest`, and `euclidean_distance` are never used
[INFO] [stdout]   --> src/algorithms/vector_db.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl VectorDB {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |    pub fn add_vector(&mut self, vector: Vector) {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |    pub fn get_vector(&self, index: usize) -> Option<&Vector> {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn find_closest(&self, query: Vector) -> Option<&Vector> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn euclidean_distance(l_obj: &Vector, r_obj: &Vector) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FastSearch` is never used
[INFO] [stdout]  --> src/algorithms/fast_search.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait FastSearch{ 
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.59s
[INFO] running `Command { std: "docker" "inspect" "f6954729cc01071bc8eb1c971cff50ab2fc3503f6b172d4a32c678a7a3727683", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6954729cc01071bc8eb1c971cff50ab2fc3503f6b172d4a32c678a7a3727683", kill_on_drop: false }`
[INFO] [stdout] f6954729cc01071bc8eb1c971cff50ab2fc3503f6b172d4a32c678a7a3727683
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c6c6813ccb0527f850c4703613604219272c216d1f538de07f27582aae468b26
[INFO] running `Command { std: "docker" "start" "-a" "c6c6813ccb0527f850c4703613604219272c216d1f538de07f27582aae468b26", kill_on_drop: false }`
[INFO] [stderr]    Compiling vector_database v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `pyo3::methods`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pyo3::methods;
[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: `pyo3::wrap_pyfunction`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use pyo3::wrap_pyfunction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::algorithms::fast_search as fast_search`
[INFO] [stdout]  --> src/algorithms/kdtree.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::algorithms::fast_search as fast_search;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/algorithms/kdtree.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Serialize, Deserialize, Deserializer};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SeqAccess` and `Visitor`
[INFO] [stdout]  --> src/algorithms/locality_sensitive_hashing.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::de::{Visitor, SeqAccess};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/algorithms/locality_sensitive_hashing.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1` and `Array2`
[INFO] [stdout]    --> src/algorithms/locality_sensitive_hashing.rs:146:23
[INFO] [stdout]     |
[INFO] [stdout] 146 |         use ndarray::{Array1, Array2, arr1};
[INFO] [stdout]     |                       ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::kdtree as kdtree`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use algorithms::kdtree as kdtree;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::algorithms::fast_search::FastSearch`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::algorithms::fast_search::FastSearch; 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1` and `Array2`
[INFO] [stdout]   --> src/lib.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ndarray::{Array1, Array2};
[INFO] [stdout]    |               ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::locality_sensitive_hashing::HashGenerator`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use algorithms::locality_sensitive_hashing::HashGenerator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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::algorithms::fast_search as fast_search`
[INFO] [stdout]  --> src/algorithms/kdtree.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::algorithms::fast_search as fast_search;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/algorithms/kdtree.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Serialize, Deserialize, Deserializer};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SeqAccess` and `Visitor`
[INFO] [stdout]  --> src/algorithms/locality_sensitive_hashing.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::de::{Visitor, SeqAccess};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/algorithms/locality_sensitive_hashing.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1` and `Array2`
[INFO] [stdout]    --> src/algorithms/locality_sensitive_hashing.rs:146:23
[INFO] [stdout]     |
[INFO] [stdout] 146 |         use ndarray::{Array1, Array2, arr1};
[INFO] [stdout]     |                       ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Error as SerdeError`
[INFO] [stdout]  --> src/state_manager/local_saver.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Error as SerdeError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::locality_sensitive_hashing::HashGenerator`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use algorithms::locality_sensitive_hashing::HashGenerator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1` and `Array2`
[INFO] [stdout]  --> src/main.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ndarray::{Array1, Array2, arr1};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `state_manager::local_saver::LocalSaver`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use state_manager::local_saver::LocalSaver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::kdtree as kdtree`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use algorithms::kdtree as kdtree;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::algorithms::fast_search::FastSearch`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::algorithms::fast_search::FastSearch; 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `numpy::ToPyArray::to_pyarray`: will be replaced by `ToPyArray::to_pyarray_bound` in the future
[INFO] [stdout]   --> src/lib.rs:50:39
[INFO] [stdout]    |
[INFO] [stdout] 50 |         nearest.into_iter().map(|v| v.to_pyarray(py).to_owned()).collect()
[INFO] [stdout]    |                                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `numpy::PyArray::<T, D>::to_owned`: use Bound::unbind() instead
[INFO] [stdout]   --> src/lib.rs:50:54
[INFO] [stdout]    |
[INFO] [stdout] 50 |         nearest.into_iter().map(|v| v.to_pyarray(py).to_owned()).collect()
[INFO] [stdout]    |                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stdout]   --> src/lib.rs:42:50
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn insert(&mut self, py: Python, inp_vector: &PyArray1<f64>) {
[INFO] [stdout]    |                                                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stdout]   --> src/lib.rs:47:47
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn nearest(&self, py: Python, inp_vector: &PyArray1<f64>) -> Vec<Py<PyArray1<f64>>> {
[INFO] [stdout]    |                                               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stdout]   --> src/lib.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn vectordb(_py: Python, m: &PyModule) -> PyResult<()> {
[INFO] [stdout]    |                          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/algorithms/locality_sensitive_hashing.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for i in 0..num_tables{
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]   --> src/lib.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn insert(&mut self, py: Python, inp_vector: &PyArray1<f64>) {
[INFO] [stdout]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/algorithms/locality_sensitive_hashing.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for i in 0..num_tables{
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `build`, `nearest`, `insert_recursive`, and `insert` are never used
[INFO] [stdout]    --> src/algorithms/kdtree.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl KDTree{
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  30 |
[INFO] [stdout]  31 |     pub fn new(points: Vec<vector_db::Vector>, state: HashMap<String, usize>) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn build(points: Vec<vector_db::Vector>, depth: usize) -> KDTreeNode {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn nearest<'b>(
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     fn insert_recursive(&self, node: KDTreeNode, point: vector_db::Vector, depth: usize) -> KDTreeNode {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn insert(&mut self, point: vector_db::Vector) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_vector`, `get_vector`, `find_closest`, and `euclidean_distance` are never used
[INFO] [stdout]   --> src/algorithms/vector_db.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl VectorDB {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |    pub fn add_vector(&mut self, vector: Vector) {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |    pub fn get_vector(&self, index: usize) -> Option<&Vector> {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn find_closest(&self, query: Vector) -> Option<&Vector> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn euclidean_distance(l_obj: &Vector, r_obj: &Vector) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FastSearch` is never used
[INFO] [stdout]  --> src/algorithms/fast_search.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait FastSearch{ 
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `build`, `nearest`, `insert_recursive`, and `insert` are never used
[INFO] [stdout]    --> src/algorithms/kdtree.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl KDTree{
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  30 |
[INFO] [stdout]  31 |     pub fn new(points: Vec<vector_db::Vector>, state: HashMap<String, usize>) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn build(points: Vec<vector_db::Vector>, depth: usize) -> KDTreeNode {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn nearest<'b>(
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     fn insert_recursive(&self, node: KDTreeNode, point: vector_db::Vector, depth: usize) -> KDTreeNode {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn insert(&mut self, point: vector_db::Vector) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_vector`, `get_vector`, `find_closest`, and `euclidean_distance` are never used
[INFO] [stdout]   --> src/algorithms/vector_db.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl VectorDB {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |    pub fn add_vector(&mut self, vector: Vector) {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |    pub fn get_vector(&self, index: usize) -> Option<&Vector> {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn find_closest(&self, query: Vector) -> Option<&Vector> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn euclidean_distance(l_obj: &Vector, r_obj: &Vector) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FastSearch` is never used
[INFO] [stdout]  --> src/algorithms/fast_search.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait FastSearch{ 
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LocalSaver` is never constructed
[INFO] [stdout]  --> src/state_manager/local_saver.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct LocalSaver;
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `save_state` and `load_state` are never used
[INFO] [stdout]   --> src/state_manager/local_saver.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl LocalSaver {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 10 |     pub fn save_state<T>(fast_search: &T, file_path: &str) -> Result<(), io::Error>
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn load_state<T>(fast_search: &mut T, file_path: &str) -> Result<(), io::Error>
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s
[INFO] running `Command { std: "docker" "inspect" "c6c6813ccb0527f850c4703613604219272c216d1f538de07f27582aae468b26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6c6813ccb0527f850c4703613604219272c216d1f538de07f27582aae468b26", kill_on_drop: false }`
[INFO] [stdout] c6c6813ccb0527f850c4703613604219272c216d1f538de07f27582aae468b26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f1f6c3a7d506f2c7855baedfb7041166742760082f4ff10af486f92f6fa01669
[INFO] running `Command { std: "docker" "start" "-a" "f1f6c3a7d506f2c7855baedfb7041166742760082f4ff10af486f92f6fa01669", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `pyo3::methods`
[INFO] [stderr]  --> src/lib.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use pyo3::methods;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `pyo3::wrap_pyfunction`
[INFO] [stderr]  --> src/lib.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use pyo3::wrap_pyfunction;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/lib.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::algorithms::fast_search as fast_search`
[INFO] [stderr]  --> src/algorithms/kdtree.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::algorithms::fast_search as fast_search;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Deserializer`
[INFO] [stderr]  --> src/algorithms/kdtree.rs:5:37
[INFO] [stderr]   |
[INFO] [stderr] 5 | use serde::{Serialize, Deserialize, Deserializer};
[INFO] [stderr]   |                                     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `SeqAccess` and `Visitor`
[INFO] [stderr]  --> src/algorithms/locality_sensitive_hashing.rs:6:17
[INFO] [stderr]   |
[INFO] [stderr] 6 | use serde::de::{Visitor, SeqAccess};
[INFO] [stderr]   |                 ^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json`
[INFO] [stderr]  --> src/algorithms/locality_sensitive_hashing.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use serde_json;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Array1` and `Array2`
[INFO] [stderr]    --> src/algorithms/locality_sensitive_hashing.rs:146:23
[INFO] [stderr]     |
[INFO] [stderr] 146 |         use ndarray::{Array1, Array2, arr1};
[INFO] [stderr]     |                       ^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `algorithms::kdtree as kdtree`
[INFO] [stderr]   --> src/lib.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use algorithms::kdtree as kdtree;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::algorithms::fast_search::FastSearch`
[INFO] [stderr]   --> src/lib.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use crate::algorithms::fast_search::FastSearch; 
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Array1` and `Array2`
[INFO] [stderr]   --> src/lib.rs:15:15
[INFO] [stderr]    |
[INFO] [stderr] 15 | use ndarray::{Array1, Array2};
[INFO] [stderr]    |               ^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `algorithms::locality_sensitive_hashing::HashGenerator`
[INFO] [stderr]   --> src/lib.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use algorithms::locality_sensitive_hashing::HashGenerator;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `numpy::ToPyArray::to_pyarray`: will be replaced by `ToPyArray::to_pyarray_bound` in the future
[INFO] [stderr]   --> src/lib.rs:50:39
[INFO] [stderr]    |
[INFO] [stderr] 50 |         nearest.into_iter().map(|v| v.to_pyarray(py).to_owned()).collect()
[INFO] [stderr]    |                                       ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `numpy::PyArray::<T, D>::to_owned`: use Bound::unbind() instead
[INFO] [stderr]   --> src/lib.rs:50:54
[INFO] [stderr]    |
[INFO] [stderr] 50 |         nearest.into_iter().map(|v| v.to_pyarray(py).to_owned()).collect()
[INFO] [stderr]    |                                                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stderr]   --> src/lib.rs:42:50
[INFO] [stderr]    |
[INFO] [stderr] 42 |     fn insert(&mut self, py: Python, inp_vector: &PyArray1<f64>) {
[INFO] [stderr]    |                                                  ^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stderr]   --> src/lib.rs:47:47
[INFO] [stderr]    |
[INFO] [stderr] 47 |     fn nearest(&self, py: Python, inp_vector: &PyArray1<f64>) -> Vec<Py<PyArray1<f64>>> {
[INFO] [stderr]    |                                               ^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stderr]   --> src/lib.rs:55:26
[INFO] [stderr]    |
[INFO] [stderr] 55 | fn vectordb(_py: Python, m: &PyModule) -> PyResult<()> {
[INFO] [stderr]    |                          ^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/algorithms/locality_sensitive_hashing.rs:108:13
[INFO] [stderr]     |
[INFO] [stderr] 108 |         for i in 0..num_tables{
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `py`
[INFO] [stderr]   --> src/lib.rs:42:26
[INFO] [stderr]    |
[INFO] [stderr] 42 |     fn insert(&mut self, py: Python, inp_vector: &PyArray1<f64>) {
[INFO] [stderr]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `build`, `nearest`, `insert_recursive`, and `insert` are never used
[INFO] [stderr]    --> src/algorithms/kdtree.rs:31:12
[INFO] [stderr]     |
[INFO] [stderr]  29 | impl KDTree{
[INFO] [stderr]     | ----------- associated items in this implementation
[INFO] [stderr]  30 |
[INFO] [stderr]  31 |     pub fn new(points: Vec<vector_db::Vector>, state: HashMap<String, usize>) -> Self{
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  43 |     pub fn build(points: Vec<vector_db::Vector>, depth: usize) -> KDTreeNode {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  68 |     pub fn nearest<'b>(
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  97 |     fn insert_recursive(&self, node: KDTreeNode, point: vector_db::Vector, depth: usize) -> KDTreeNode {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 123 |     pub fn insert(&mut self, point: vector_db::Vector) {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `add_vector`, `get_vector`, `find_closest`, and `euclidean_distance` are never used
[INFO] [stderr]   --> src/algorithms/vector_db.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl VectorDB {
[INFO] [stderr]    | ------------- associated items in this implementation
[INFO] [stderr] 10 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 14 |    pub fn add_vector(&mut self, vector: Vector) {
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |    pub fn get_vector(&self, index: usize) -> Option<&Vector> {
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub fn find_closest(&self, query: Vector) -> Option<&Vector> {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub fn euclidean_distance(l_obj: &Vector, r_obj: &Vector) -> f32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `FastSearch` is never used
[INFO] [stderr]  --> src/algorithms/fast_search.rs:3:11
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub trait FastSearch{ 
[INFO] [stderr]   |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Error as SerdeError`
[INFO] [stderr]  --> src/state_manager/local_saver.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use serde_json::Error as SerdeError;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `algorithms::locality_sensitive_hashing::HashGenerator`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use algorithms::locality_sensitive_hashing::HashGenerator;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Array1` and `Array2`
[INFO] [stderr]  --> src/main.rs:9:15
[INFO] [stderr]   |
[INFO] [stderr] 9 | use ndarray::{Array1, Array2, arr1};
[INFO] [stderr]   |               ^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `state_manager::local_saver::LocalSaver`
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use state_manager::local_saver::LocalSaver;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `algorithms::kdtree as kdtree`
[INFO] [stderr]   --> src/main.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use algorithms::kdtree as kdtree;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::algorithms::fast_search::FastSearch`
[INFO] [stderr]   --> src/main.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use crate::algorithms::fast_search::FastSearch; 
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LocalSaver` is never constructed
[INFO] [stderr]  --> src/state_manager/local_saver.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct LocalSaver;
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `save_state` and `load_state` are never used
[INFO] [stderr]   --> src/state_manager/local_saver.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl LocalSaver {
[INFO] [stderr]    | --------------- associated functions in this implementation
[INFO] [stderr] 10 |     pub fn save_state<T>(fast_search: &T, file_path: &str) -> Result<(), io::Error>
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub fn load_state<T>(fast_search: &mut T, file_path: &str) -> Result<(), io::Error>
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `vector_database` (lib test) generated 22 warnings (run `cargo fix --lib -p vector_database --tests` to apply 14 suggestions)
[INFO] [stderr] warning: `vector_database` (bin "vector_database" test) generated 18 warnings (9 duplicates) (run `cargo fix --bin "vector_database" -p vector_database --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vector_database-876d48b578469f98)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test algorithms::locality_sensitive_hashing::tests::check_lsg ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vector_database-08deea569e3f98cc)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test algorithms::locality_sensitive_hashing::tests::check_lsg ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- algorithms::locality_sensitive_hashing::tests::check_lsg stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'algorithms::locality_sensitive_hashing::tests::check_lsg' (26) panicked at src/algorithms/locality_sensitive_hashing.rs:160:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: [1.0, 2.0, 3.0, 4.0, 5.0], shape=[5], strides=[1], layout=CFcf (0xf), const ndim=1
[INFO] [stdout]  right: [3.0, 4.0, 5.0, 6.0, 7.0], shape=[5], strides=[1], layout=CFcf (0xf), const ndim=1
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x64cd6415dce2 - std::backtrace_rs::backtrace::libunwind::trace::hff358a60abf734fc
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x64cd6415dce2 - std::backtrace_rs::backtrace::trace_unsynchronized::h3b121f916dd95ec6
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x64cd6415dce2 - std::sys::backtrace::_print_fmt::hde0a62ded68798e9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x64cd6415dce2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h93773fc827e3113d
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x64cd6416e85a - core::fmt::rt::Argument::fmt::h01eff69902dad97f
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x64cd6416e85a - core::fmt::write::hed7b5c73d82ecb7c
[INFO] [stdout]    6:     0x64cd6412c916 - std::io::default_write_fmt::h2f696ff5b8bbaa4b
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x64cd6412c916 - std::io::Write::write_fmt::h5e66814db8a9cfce
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x64cd6413d119 - std::sys::backtrace::BacktraceLock::print::h8b1d6fcc5a56d1a3
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x64cd6413d119 - std::panicking::default_hook::{{closure}}::h2be84df4f189ae36
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x64cd6413cfb1 - std::panicking::default_hook::hf0ea8939246f43a9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x64cd640c3a3e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h02d35e3888986252
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x64cd640c3a3e - test::test_main_with_exit_callback::{{closure}}::h939640a27d647173
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x64cd6413d392 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hc9df09ff391af3e7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x64cd6413d392 - std::panicking::panic_with_hook::hb4bd9ac1123582a0
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x64cd6413d1d8 - std::panicking::panic_handler::{{closure}}::hde00dd15f5637fe2
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x64cd64138709 - std::sys::backtrace::__rust_end_short_backtrace::hb72197fa777c1785
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x64cd6412174d - __rustc[4425a7e20b4c8619]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x64cd64175cac - core::panicking::panic_fmt::ha59b517dd231f4da
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x64cd64175b63 - core::panicking::assert_failed_inner::h3c3301979dc81b81
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x64cd640914e4 - core::panicking::assert_failed::h0055bf9806f2b9c7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x64cd64080031 - vector_database::algorithms::locality_sensitive_hashing::tests::check_lsg::h62614ff602f7cc8c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/algorithms/locality_sensitive_hashing.rs:160:9
[INFO] [stdout]   22:     0x64cd640800c7 - vector_database::algorithms::locality_sensitive_hashing::tests::check_lsg::{{closure}}::h96f924d917dee062
[INFO] [stdout]                                at /opt/rustwide/workdir/src/algorithms/locality_sensitive_hashing.rs:144:19
[INFO] [stdout]   23:     0x64cd64090426 - core::ops::function::FnOnce::call_once::h00aea77fbbe0ab90
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x64cd640c37fb - core::ops::function::FnOnce::call_once::hddb3cd395c36bfbb
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x64cd640c37fb - test::__rust_begin_short_backtrace::h0b6a7601d9750bfa
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x64cd640d720a - test::run_test_in_process::{{closure}}::h444209903f00b347
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x64cd640d720a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hfb3ba8f46e537649
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x64cd640d720a - std::panicking::catch_unwind::do_call::h1672a45911fcf9dc
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x64cd640d720a - std::panicking::catch_unwind::h0fadaee22787a6dd
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x64cd640d720a - std::panic::catch_unwind::hc47ad190f2c8e188
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x64cd640d720a - test::run_test_in_process::hcd7faaf934f29999
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x64cd640d720a - test::run_test::{{closure}}::hddc4550da4871867
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x64cd640b1664 - test::run_test::{{closure}}::h98ae26689f13ed94
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x64cd640b1664 - std::sys::backtrace::__rust_begin_short_backtrace::h3ec4d1f21ad44588
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x64cd640b5002 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd8bf2c73d479939f
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x64cd640b5002 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3b4248f358af2491
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x64cd640b5002 - std::panicking::catch_unwind::do_call::hda10a64f4b8daebe
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x64cd640b5002 - std::panicking::catch_unwind::h659e5ee8336ec8c7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x64cd640b5002 - std::panic::catch_unwind::h9d4d66a538912c18
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x64cd640b5002 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h7557906bb51d79f1
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x64cd640b5002 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9e460d1d7fc83d35
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x64cd6413399f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h61282da819d64ea9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x64cd6413399f - std::sys::thread::unix::Thread::new::thread_start::h982f9ea829d1b5fb
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/thread/unix.rs:127:17
[INFO] [stdout]   44:     0x75f107edfaa4 - <unknown>
[INFO] [stdout]   45:     0x75f107f6ca64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     algorithms::locality_sensitive_hashing::tests::check_lsg
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin vector_database`
[INFO] running `Command { std: "docker" "inspect" "f1f6c3a7d506f2c7855baedfb7041166742760082f4ff10af486f92f6fa01669", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1f6c3a7d506f2c7855baedfb7041166742760082f4ff10af486f92f6fa01669", kill_on_drop: false }`
[INFO] [stdout] f1f6c3a7d506f2c7855baedfb7041166742760082f4ff10af486f92f6fa01669
