[INFO] cloning repository https://github.com/prithivirajmurugan/vector-search-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prithivirajmurugan/vector-search-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprithivirajmurugan%2Fvector-search-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprithivirajmurugan%2Fvector-search-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fd743548912a7ded0ee63533b90f20272e2b60e [INFO] checking prithivirajmurugan/vector-search-rs against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprithivirajmurugan%2Fvector-search-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prithivirajmurugan/vector-search-rs on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prithivirajmurugan/vector-search-rs [INFO] finished tweaking git repo https://github.com/prithivirajmurugan/vector-search-rs [INFO] tweaked toml for git repo https://github.com/prithivirajmurugan/vector-search-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/prithivirajmurugan/vector-search-rs 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" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking prithivirajmurugan/vector-search-rs against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprithivirajmurugan%2Fvector-search-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prithivirajmurugan/vector-search-rs on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prithivirajmurugan/vector-search-rs [INFO] finished tweaking git repo https://github.com/prithivirajmurugan/vector-search-rs [INFO] tweaked toml for git repo https://github.com/prithivirajmurugan/vector-search-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prithivirajmurugan/vector-search-rs 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" "+2c70eb47850052381670935f807d41647a7dc992" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.52.3 [INFO] [stderr] Downloaded anstream v0.6.12 [INFO] [stderr] Downloaded clap v4.5.1 [INFO] [stderr] Downloaded json v0.12.4 [INFO] [stderr] Downloaded rayon v1.8.1 [INFO] [stderr] Downloaded clap_builder v4.5.1 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.3 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.3 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.3 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0af3fa14dfcbbd4f7f783d2d6d132bff52a8556d077695c7dfa9aae9b73c60ae [INFO] running `Command { std: "docker" "start" "-a" "0af3fa14dfcbbd4f7f783d2d6d132bff52a8556d077695c7dfa9aae9b73c60ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0af3fa14dfcbbd4f7f783d2d6d132bff52a8556d077695c7dfa9aae9b73c60ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0af3fa14dfcbbd4f7f783d2d6d132bff52a8556d077695c7dfa9aae9b73c60ae", kill_on_drop: false }` [INFO] [stdout] 0af3fa14dfcbbd4f7f783d2d6d132bff52a8556d077695c7dfa9aae9b73c60ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b8ca83edbe14cbb84faeeb8a7da137b92db0879e68e5d61df44e9280c4c0142 [INFO] running `Command { std: "docker" "start" "-a" "6b8ca83edbe14cbb84faeeb8a7da137b92db0879e68e5d61df44e9280c4c0142", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking vector-search v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `HashKey` is defined multiple times [INFO] [stdout] --> src/search.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HashKey([u32;N]); [INFO] [stdout] | ------------------------------------------- previous definition of the type `HashKey` here [INFO] [stdout] ... [INFO] [stdout] 22 | pub struct HashKey([u32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HashKey` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `HashKey` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `HashKey` is defined multiple times [INFO] [stdout] --> src/search.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HashKey([u32;N]); [INFO] [stdout] | ------------------------------------------- previous definition of the type `HashKey` here [INFO] [stdout] ... [INFO] [stdout] 22 | pub struct HashKey([u32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HashKey` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `HashKey` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap::App` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{App, Arg}; [INFO] [stdout] | ^^^ no `App` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap::App` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{App, Arg}; [INFO] [stdout] | ^^^ no `App` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `StructuralPartialEq` for type `search::HashKey<_>` [INFO] [stdout] --> src/search.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq,Hash)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 21 | #[derive(Eq,PartialEq,Hash)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `search::HashKey<_>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `StructuralPartialEq` for type `search::HashKey<_>` [INFO] [stdout] --> src/search.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq,Hash)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 21 | #[derive(Eq,PartialEq,Hash)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `search::HashKey<_>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `PartialEq` for type `search::HashKey<_>` [INFO] [stdout] --> src/search.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq,Hash)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 21 | #[derive(Eq,PartialEq,Hash)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `search::HashKey<_>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `PartialEq` for type `search::HashKey<_>` [INFO] [stdout] --> src/search.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq,Hash)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 21 | #[derive(Eq,PartialEq,Hash)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `search::HashKey<_>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Eq` for type `search::HashKey<_>` [INFO] [stdout] --> src/search.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq,Hash)] [INFO] [stdout] | -- first implementation here [INFO] [stdout] ... [INFO] [stdout] 21 | #[derive(Eq,PartialEq,Hash)] [INFO] [stdout] | ^^ conflicting implementation for `search::HashKey<_>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Eq` for type `search::HashKey<_>` [INFO] [stdout] --> src/search.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq,Hash)] [INFO] [stdout] | -- first implementation here [INFO] [stdout] ... [INFO] [stdout] 21 | #[derive(Eq,PartialEq,Hash)] [INFO] [stdout] | ^^ conflicting implementation for `search::HashKey<_>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Hash` for type `search::HashKey<_>` [INFO] [stdout] --> src/search.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq,Hash)] [INFO] [stdout] | ---- first implementation here [INFO] [stdout] ... [INFO] [stdout] 21 | #[derive(Eq,PartialEq,Hash)] [INFO] [stdout] | ^^^^ conflicting implementation for `search::HashKey<_>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Hash` for type `search::HashKey<_>` [INFO] [stdout] --> src/search.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq,Hash)] [INFO] [stdout] | ---- first implementation here [INFO] [stdout] ... [INFO] [stdout] 21 | #[derive(Eq,PartialEq,Hash)] [INFO] [stdout] | ^^^^ conflicting implementation for `search::HashKey<_>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields [INFO] [stdout] --> src/search.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | for i in 1.vectors.len(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields [INFO] [stdout] --> src/search.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | for i in 1.vectors.len(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/search.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | let trees:Vec<_> = (0..num_trees).into_par_iter().map(|_| Self::build_a_tree(max_size, &all_indexes, &unique_vecs)); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<_>`, found `Map, ...>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<_>` [INFO] [stdout] found struct `rayon::iter::Map, {closure@src/search.rs:125:63: 125:66}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/search.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | let trees:Vec<_> = (0..num_trees).into_par_iter().map(|_| Self::build_a_tree(max_size, &all_indexes, &unique_vecs)); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<_>`, found `Map, ...>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<_>` [INFO] [stdout] found struct `rayon::iter::Map, {closure@src/search.rs:125:63: 125:66}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/main.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | Arg::with_name("data-dir").takes_value(true).required(true); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.1/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/main.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | Arg::with_name("data-dir").takes_value(true).required(true); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.1/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/main.rs:231:14 [INFO] [stdout] | [INFO] [stdout] 231 | Arg::with_name("input-vec").takes_value(true).required(true); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.1/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/main.rs:231:14 [INFO] [stdout] | [INFO] [stdout] 231 | Arg::with_name("input-vec").takes_value(true).required(true); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.1/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main` [INFO] [stdout] --> src/search.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | let (main,backup) = match above { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_main` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main` [INFO] [stdout] --> src/search.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | let (main,backup) = match above { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_main` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `query` [INFO] [stdout] --> src/search.rs:150:47 [INFO] [stdout] | [INFO] [stdout] 132 | fn tree_result(query:Vector,n:i32,tree:&Node,candidates:&DashSet)->i32{ [INFO] [stdout] | ----- move occurs because `query` has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 148 | match Self::tree_result(query, n, tree, candidates) { [INFO] [stdout] | ----- value moved here [INFO] [stdout] 149 | k if k < n => { [INFO] [stdout] 150 | k + Self::tree_result(query, n - k, backup, candidates) [INFO] [stdout] | ^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `tree_result` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/search.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | fn tree_result(query:Vector,n:i32,tree:&Node,candidates:&DashSet)->i32{ [INFO] [stdout] | ----------- ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this method [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 148 | match Self::tree_result(query, n, tree, candidates) { [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `query` [INFO] [stdout] --> src/search.rs:150:47 [INFO] [stdout] | [INFO] [stdout] 132 | fn tree_result(query:Vector,n:i32,tree:&Node,candidates:&DashSet)->i32{ [INFO] [stdout] | ----- move occurs because `query` has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 148 | match Self::tree_result(query, n, tree, candidates) { [INFO] [stdout] | ----- value moved here [INFO] [stdout] 149 | k if k < n => { [INFO] [stdout] 150 | k + Self::tree_result(query, n - k, backup, candidates) [INFO] [stdout] | ^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `tree_result` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/search.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | fn tree_result(query:Vector,n:i32,tree:&Node,candidates:&DashSet)->i32{ [INFO] [stdout] | ----------- ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this method [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 148 | match Self::tree_result(query, n, tree, candidates) { [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `query`, a captured variable in an `Fn` closure [INFO] [stdout] --> src/search.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn search_approximate(&self,query:Vector,top_k:i32)->Vec<(i32,f32)>{ [INFO] [stdout] | ----- captured outer variable [INFO] [stdout] 158 | let candidates = DashSet::new(); [INFO] [stdout] 159 | self.trees.par_iter().for_each(|tree|{ [INFO] [stdout] | ------ captured by this `Fn` closure [INFO] [stdout] 160 | Self::tree_result(query, top_k, tree, &candidates); [INFO] [stdout] | ^^^^^ move occurs because `query` has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 160 | Self::tree_result(query, top_k, tree, &candidates); [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `query`, a captured variable in an `Fn` closure [INFO] [stdout] --> src/search.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn search_approximate(&self,query:Vector,top_k:i32)->Vec<(i32,f32)>{ [INFO] [stdout] | ----- captured outer variable [INFO] [stdout] 158 | let candidates = DashSet::new(); [INFO] [stdout] 159 | self.trees.par_iter().for_each(|tree|{ [INFO] [stdout] | ------ captured by this `Fn` closure [INFO] [stdout] 160 | Self::tree_result(query, top_k, tree, &candidates); [INFO] [stdout] | ^^^^^ move occurs because `query` has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 160 | Self::tree_result(query, top_k, tree, &candidates); [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `query` [INFO] [stdout] --> src/search.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn search_approximate(&self,query:Vector,top_k:i32)->Vec<(i32,f32)>{ [INFO] [stdout] | ----- move occurs because `query` has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] 158 | let candidates = DashSet::new(); [INFO] [stdout] 159 | self.trees.par_iter().for_each(|tree|{ [INFO] [stdout] | ------ value moved into closure here [INFO] [stdout] 160 | Self::tree_result(query, top_k, tree, &candidates); [INFO] [stdout] | ----- variable moved due to use in closure [INFO] [stdout] ... [INFO] [stdout] 164 | .map(|idx| (idx,self.values[idx].sq_euc_dis(&query))) [INFO] [stdout] | ^^^^^ value borrowed here after move ----- borrow occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `tree_result` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/search.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | fn tree_result(query:Vector,n:i32,tree:&Node,candidates:&DashSet)->i32{ [INFO] [stdout] | ----------- ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this method [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 160 | Self::tree_result(query, top_k, tree, &candidates); [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `query` [INFO] [stdout] --> src/search.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn search_approximate(&self,query:Vector,top_k:i32)->Vec<(i32,f32)>{ [INFO] [stdout] | ----- move occurs because `query` has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] 158 | let candidates = DashSet::new(); [INFO] [stdout] 159 | self.trees.par_iter().for_each(|tree|{ [INFO] [stdout] | ------ value moved into closure here [INFO] [stdout] 160 | Self::tree_result(query, top_k, tree, &candidates); [INFO] [stdout] | ----- variable moved due to use in closure [INFO] [stdout] ... [INFO] [stdout] 164 | .map(|idx| (idx,self.values[idx].sq_euc_dis(&query))) [INFO] [stdout] | ^^^^^ value borrowed here after move ----- borrow occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `tree_result` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/search.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | fn tree_result(query:Vector,n:i32,tree:&Node,candidates:&DashSet)->i32{ [INFO] [stdout] | ----------- ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this method [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 160 | Self::tree_result(query, top_k, tree, &candidates); [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/main.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | .map(|&vector| search_approximate_as_hashset(&index, vector, top_k)) [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `vector` has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 145 - .map(|&vector| search_approximate_as_hashset(&index, vector, top_k)) [INFO] [stdout] 145 + .map(|vector| search_approximate_as_hashset(&index, vector, top_k)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/main.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | .map(|&vector| search_approximate_as_hashset(&index, vector, top_k)) [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `vector` has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 145 - .map(|&vector| search_approximate_as_hashset(&index, vector, top_k)) [INFO] [stdout] 145 + .map(|vector| search_approximate_as_hashset(&index, vector, top_k)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>` [INFO] [stdout] --> src/main.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | search_vectors.push(my_input_data[idx as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | search_vectors.push(my_input_data[idx as usize]); [INFO] [stdout] | --------------------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>` [INFO] [stdout] --> src/main.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | index.search_approximate(search_vectors[i], top_k); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move occurs because value has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | index.search_approximate(search_vectors[i], top_k); [INFO] [stdout] | ----------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>` [INFO] [stdout] --> src/main.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let embedding = my_input_data[word_index]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let embedding = my_input_data[word_index]; [INFO] [stdout] | ------------------------- you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 116 | let embedding = &my_input_data[word_index]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>` [INFO] [stdout] --> src/main.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | subset.push(my_input_data[idx as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | subset.push(my_input_data[idx as usize]); [INFO] [stdout] | --------------------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>` [INFO] [stdout] --> src/main.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | search_vectors.push(my_input_data[idx as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | search_vectors.push(my_input_data[idx as usize]); [INFO] [stdout] | --------------------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>` [INFO] [stdout] --> src/main.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | index.search_approximate(search_vectors[i], top_k); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move occurs because value has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | index.search_approximate(search_vectors[i], top_k); [INFO] [stdout] | ----------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>` [INFO] [stdout] --> src/main.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let embedding = my_input_data[word_index]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let embedding = my_input_data[word_index]; [INFO] [stdout] | ------------------------- you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 116 | let embedding = &my_input_data[word_index]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>` [INFO] [stdout] --> src/main.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | subset.push(my_input_data[idx as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | subset.push(my_input_data[idx as usize]); [INFO] [stdout] | --------------------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>` [INFO] [stdout] --> src/main.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | subset.push(all_embedding_data[idx as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | subset.push(all_embedding_data[idx as usize]); [INFO] [stdout] | -------------------------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>` [INFO] [stdout] --> src/main.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | subset.push(all_embedding_data[idx as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Vector` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/search.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Vector(pub [f32;N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | subset.push(all_embedding_data[idx as usize]); [INFO] [stdout] | -------------------------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0119, E0308, E0382, E0428, E0432, E0507, E0599, E0610. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0119, E0308, E0382, E0428, E0432, E0507, E0599, E0610. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vector-search` (bin "vector-search") due to 20 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vector-search` (bin "vector-search" test) due to 20 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6b8ca83edbe14cbb84faeeb8a7da137b92db0879e68e5d61df44e9280c4c0142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8ca83edbe14cbb84faeeb8a7da137b92db0879e68e5d61df44e9280c4c0142", kill_on_drop: false }` [INFO] [stdout] 6b8ca83edbe14cbb84faeeb8a7da137b92db0879e68e5d61df44e9280c4c0142