[INFO] cloning repository https://github.com/Bluewraith04/vector_search [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bluewraith04/vector_search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBluewraith04%2Fvector_search", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBluewraith04%2Fvector_search'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74dd8f07867d4830a286328f7713b7eb72359dbe [INFO] checking Bluewraith04/vector_search against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBluewraith04%2Fvector_search" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Bluewraith04/vector_search [INFO] finished tweaking git repo https://github.com/Bluewraith04/vector_search [INFO] tweaked toml for git repo https://github.com/Bluewraith04/vector_search written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Bluewraith04/vector_search 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/Bluewraith04/vector_search 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-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b3cd3d263016c18aa64e79d49e9b87480630f1ba68c19f8a89f51663e2936a2e [INFO] running `Command { std: "docker" "start" "b3cd3d263016c18aa64e79d49e9b87480630f1ba68c19f8a89f51663e2936a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3cd3d263016c18aa64e79d49e9b87480630f1ba68c19f8a89f51663e2936a2e", 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" "b3cd3d263016c18aa64e79d49e9b87480630f1ba68c19f8a89f51663e2936a2e" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3cd3d263016c18aa64e79d49e9b87480630f1ba68c19f8a89f51663e2936a2e", 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" "b3cd3d263016c18aa64e79d49e9b87480630f1ba68c19f8a89f51663e2936a2e" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.4 [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling pyo3-build-config v0.27.2 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling pyo3-macros-backend v0.27.2 [INFO] [stderr] Compiling pyo3-ffi v0.27.2 [INFO] [stderr] Compiling pyo3 v0.27.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling pyo3-macros v0.27.2 [INFO] [stderr] Checking vector_search v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> src/core/index.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | fn add(&mut self, vector: Vec) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | fn add_from_file(&mut self, path: String) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | fn add(&mut self, vector: Vec) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | fn add_from_file(&mut self, path: String) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:161:59 [INFO] [stdout] | [INFO] [stdout] 161 | fn add_parallel(&mut self, vectors: Vec>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:208:51 [INFO] [stdout] | [INFO] [stdout] 208 | fn search(&self, query: Vec, k:usize) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:224:59 [INFO] [stdout] | [INFO] [stdout] 224 | fn search_graph(&self, query: Vec, ef: usize) -> PyResult<(usize, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:235:37 [INFO] [stdout] | [INFO] [stdout] 235 | fn save(&self, path: String) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:247:30 [INFO] [stdout] | [INFO] [stdout] 247 | fn load(path: String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:161:59 [INFO] [stdout] | [INFO] [stdout] 161 | fn add_parallel(&mut self, vectors: Vec>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:208:51 [INFO] [stdout] | [INFO] [stdout] 208 | fn search(&self, query: Vec, k:usize) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:224:59 [INFO] [stdout] | [INFO] [stdout] 224 | fn search_graph(&self, query: Vec, ef: usize) -> PyResult<(usize, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:235:37 [INFO] [stdout] | [INFO] [stdout] 235 | fn save(&self, path: String) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] --> src/core/index.rs:247:30 [INFO] [stdout] | [INFO] [stdout] 247 | fn load(path: String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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 `vector_search` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vector_search` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "b3cd3d263016c18aa64e79d49e9b87480630f1ba68c19f8a89f51663e2936a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3cd3d263016c18aa64e79d49e9b87480630f1ba68c19f8a89f51663e2936a2e", kill_on_drop: false }` [INFO] [stdout] b3cd3d263016c18aa64e79d49e9b87480630f1ba68c19f8a89f51663e2936a2e