[INFO] cloning repository https://github.com/Alekkk777/MiniVecDb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alekkk777/MiniVecDb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlekkk777%2FMiniVecDb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlekkk777%2FMiniVecDb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cce2f66b9a72852829247ea102827de2536c2988
[INFO] checking Alekkk777/MiniVecDb against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlekkk777%2FMiniVecDb" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/Alekkk777/MiniVecDb
[INFO] finished tweaking git repo https://github.com/Alekkk777/MiniVecDb
[INFO] tweaked toml for git repo https://github.com/Alekkk777/MiniVecDb written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alekkk777/MiniVecDb on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Alekkk777/MiniVecDb 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e840ac38a5a9a64521f63397a884956556fe80b4b271fc5ba07530c7a9b7e7e2
[INFO] running `Command { std: "docker" "start" "e840ac38a5a9a64521f63397a884956556fe80b4b271fc5ba07530c7a9b7e7e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e840ac38a5a9a64521f63397a884956556fe80b4b271fc5ba07530c7a9b7e7e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e840ac38a5a9a64521f63397a884956556fe80b4b271fc5ba07530c7a9b7e7e2" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e840ac38a5a9a64521f63397a884956556fe80b4b271fc5ba07530c7a9b7e7e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e840ac38a5a9a64521f63397a884956556fe80b4b271fc5ba07530c7a9b7e7e2" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.118
[INFO] [stderr]    Compiling bumpalo v3.20.2
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking libm v0.2.16
[INFO] [stderr]     Checking unindent v0.2.4
[INFO] [stderr]    Compiling pyo3-build-config v0.22.6
[INFO] [stderr]    Compiling wasm-bindgen v0.2.118
[INFO] [stderr]     Checking memoffset v0.9.1
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking lol_alloc v0.4.1
[INFO] [stderr]     Checking microvecdb-core v0.1.0 (/opt/rustwide/workdir/crates/microvecdb-core)
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.118
[INFO] [stdout] warning: value assigned to `cur_dist` is never read
[INFO] [stdout]    --> crates/microvecdb-core/src/hnsw/graph.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |                 cur_dist = best.distance;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_M` is never used
[INFO] [stdout]   --> crates/microvecdb-core/src/hnsw/graph.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub const DEFAULT_M: usize = 16;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_M_MAX0` is never used
[INFO] [stdout]   --> crates/microvecdb-core/src/hnsw/graph.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const DEFAULT_M_MAX0: usize = DEFAULT_M * 2;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_EF_CONSTRUCTION` is never used
[INFO] [stdout]   --> crates/microvecdb-core/src/hnsw/graph.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub const DEFAULT_EF_CONSTRUCTION: usize = 200;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `peek`, `len`, and `is_empty` are never used
[INFO] [stdout]   --> crates/microvecdb-core/src/hnsw/search.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl MinHeap {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 58 |     pub fn new() -> Self { Self(Vec::new()) }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn peek(&self) -> Option<&Candidate> { self.0.first() }
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 76 |     pub fn len(&self) -> usize { self.0.len() }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 77 |     pub fn is_empty(&self) -> bool { self.0.is_empty() }
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]    --> crates/microvecdb-core/src/hnsw/search.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl MaxHeap {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn is_empty(&self) -> bool { self.0.is_empty() }
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cur_dist` is never read
[INFO] [stdout]    --> crates/microvecdb-core/src/hnsw/graph.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |                 cur_dist = best.distance;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_M_MAX0` is never used
[INFO] [stdout]   --> crates/microvecdb-core/src/hnsw/graph.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const DEFAULT_M_MAX0: usize = DEFAULT_M * 2;
[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`, `peek`, `len`, and `is_empty` are never used
[INFO] [stdout]   --> crates/microvecdb-core/src/hnsw/search.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl MinHeap {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 58 |     pub fn new() -> Self { Self(Vec::new()) }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn peek(&self) -> Option<&Candidate> { self.0.first() }
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 76 |     pub fn len(&self) -> usize { self.0.len() }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 77 |     pub fn is_empty(&self) -> bool { self.0.is_empty() }
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]    --> crates/microvecdb-core/src/hnsw/search.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl MaxHeap {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn is_empty(&self) -> bool { self.0.is_empty() }
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cur_dist` is never read
[INFO] [stdout]    --> crates/microvecdb-core/src/hnsw/graph.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |                 cur_dist = best.distance;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_M` is never used
[INFO] [stdout]   --> crates/microvecdb-core/src/hnsw/graph.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub const DEFAULT_M: usize = 16;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_M_MAX0` is never used
[INFO] [stdout]   --> crates/microvecdb-core/src/hnsw/graph.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const DEFAULT_M_MAX0: usize = DEFAULT_M * 2;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_EF_CONSTRUCTION` is never used
[INFO] [stdout]   --> crates/microvecdb-core/src/hnsw/graph.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub const DEFAULT_EF_CONSTRUCTION: usize = 200;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `peek`, `len`, and `is_empty` are never used
[INFO] [stdout]   --> crates/microvecdb-core/src/hnsw/search.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl MinHeap {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 58 |     pub fn new() -> Self { Self(Vec::new()) }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn peek(&self) -> Option<&Candidate> { self.0.first() }
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 76 |     pub fn len(&self) -> usize { self.0.len() }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 77 |     pub fn is_empty(&self) -> bool { self.0.is_empty() }
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]    --> crates/microvecdb-core/src/hnsw/search.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl MaxHeap {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn is_empty(&self) -> bool { self.0.is_empty() }
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pyo3-ffi v0.22.6
[INFO] [stderr]    Compiling pyo3-macros-backend v0.22.6
[INFO] [stderr]    Compiling pyo3 v0.22.6
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.118
[INFO] [stderr]    Compiling pyo3-macros v0.22.6
[INFO] [stderr]     Checking js-sys v0.3.95
[INFO] [stderr]     Checking console_error_panic_hook v0.1.7
[INFO] [stderr]     Checking microvecdb-python v1.1.0 (/opt/rustwide/workdir/crates/microvecdb-python)
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]   --> crates/microvecdb-python/src/lib.rs:63:56
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn insert(&mut self, id: u32, vector: Vec<f32>) -> PyResult<u32> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]    --> crates/microvecdb-python/src/lib.rs:133:10
[INFO] [stdout]     |
[INFO] [stdout] 133 |     ) -> PyResult<Vec<(u32, f32)>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]    --> crates/microvecdb-python/src/lib.rs:159:57
[INFO] [stdout]     |
[INFO] [stdout] 159 |     fn search_scan(&self, query: Vec<f32>, k: usize) -> PyResult<Vec<(u32, f32)>> {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]    --> crates/microvecdb-python/src/lib.rs:216:36
[INFO] [stdout]     |
[INFO] [stdout] 216 |     fn deserialize(data: &[u8]) -> PyResult<Self> {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `microvecdb-python` (lib) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]   --> crates/microvecdb-python/src/lib.rs:63:56
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn insert(&mut self, id: u32, vector: Vec<f32>) -> PyResult<u32> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]    --> crates/microvecdb-python/src/lib.rs:133:10
[INFO] [stdout]     |
[INFO] [stdout] 133 |     ) -> PyResult<Vec<(u32, f32)>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]    --> crates/microvecdb-python/src/lib.rs:159:57
[INFO] [stdout]     |
[INFO] [stdout] 159 |     fn search_scan(&self, query: Vec<f32>, k: usize) -> PyResult<Vec<(u32, f32)>> {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]    --> crates/microvecdb-python/src/lib.rs:216:36
[INFO] [stdout]     |
[INFO] [stdout] 216 |     fn deserialize(data: &[u8]) -> PyResult<Self> {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `microvecdb-python` (lib test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "e840ac38a5a9a64521f63397a884956556fe80b4b271fc5ba07530c7a9b7e7e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e840ac38a5a9a64521f63397a884956556fe80b4b271fc5ba07530c7a9b7e7e2", kill_on_drop: false }`
[INFO] [stdout] e840ac38a5a9a64521f63397a884956556fe80b4b271fc5ba07530c7a9b7e7e2
