[INFO] cloning repository https://github.com/578223592/vector-db-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/578223592/vector-db-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F578223592%2Fvector-db-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F578223592%2Fvector-db-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 220c587ec59d1f097e02d02ab600e075c30a65a7
[INFO] checking 578223592/vector-db-rs against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F578223592%2Fvector-db-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/578223592/vector-db-rs
[INFO] finished tweaking git repo https://github.com/578223592/vector-db-rs
[INFO] tweaked toml for git repo https://github.com/578223592/vector-db-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/578223592/vector-db-rs on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/578223592/vector-db-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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded is-terminal v0.4.16
[INFO] [stderr]   Downloaded env_logger v0.10.2
[INFO] [stderr]   Downloaded humantime v2.2.0
[INFO] [stderr]   Downloaded faiss v0.11.0
[INFO] [stderr]   Downloaded faiss-sys v0.6.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 33a86039de31a330a250310b625c1d238d0e1a5d0f65ad08c768f59e122d1877
[INFO] running `Command { std: "docker" "start" "-a" "33a86039de31a330a250310b625c1d238d0e1a5d0f65ad08c768f59e122d1877", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "33a86039de31a330a250310b625c1d238d0e1a5d0f65ad08c768f59e122d1877", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33a86039de31a330a250310b625c1d238d0e1a5d0f65ad08c768f59e122d1877", kill_on_drop: false }`
[INFO] [stdout] 33a86039de31a330a250310b625c1d238d0e1a5d0f65ad08c768f59e122d1877
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b015c47d97d66db6942b92647701eb40666b55078b2b1c6652a1b3625ca4ad77
[INFO] running `Command { std: "docker" "start" "-a" "b015c47d97d66db6942b92647701eb40666b55078b2b1c6652a1b3625ca4ad77", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling faiss-sys v0.6.2
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking humantime v2.2.0
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking faiss v0.11.0
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking vector-db-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `faiss_index::FaissIndex`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use faiss_index::FaissIndex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vector-db-rs` (bin "vector-db-rs") due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `faiss_index::FaissIndex`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use faiss_index::FaissIndex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:12:56
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut faiss_index = faiss_index::FaissIndex::new(index);
[INFO] [stdout]    |                           ---------------------------- ^^^^^ expected `Box<dyn Index>`, found `IndexImpl`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<(dyn faiss::Index + 'static)>`
[INFO] [stdout]               found struct `IndexImpl`
[INFO] [stdout]    = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/faiss_index.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  9 |     pub fn new(index: Box<dyn faiss::Index>) -> Self {
[INFO] [stdout]    |            ^^^ ----------------------------
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut faiss_index = faiss_index::FaissIndex::new(Box::new(index));
[INFO] [stdout]    |                                                        +++++++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_queries`
[INFO] [stdout]   --> src/faiss_index.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let num_queries = query.len() / dim;
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_queries`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:12:56
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut faiss_index = faiss_index::FaissIndex::new(index);
[INFO] [stdout]    |                           ---------------------------- ^^^^^ expected `Box<dyn Index>`, found `IndexImpl`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<(dyn faiss::Index + 'static)>`
[INFO] [stdout]               found struct `IndexImpl`
[INFO] [stdout]    = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/faiss_index.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  9 |     pub fn new(index: Box<dyn faiss::Index>) -> Self {
[INFO] [stdout]    |            ^^^ ----------------------------
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut faiss_index = faiss_index::FaissIndex::new(Box::new(index));
[INFO] [stdout]    |                                                        +++++++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_queries`
[INFO] [stdout]   --> src/faiss_index.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let num_queries = query.len() / dim;
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_queries`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vector-db-rs` (bin "vector-db-rs" test) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b015c47d97d66db6942b92647701eb40666b55078b2b1c6652a1b3625ca4ad77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b015c47d97d66db6942b92647701eb40666b55078b2b1c6652a1b3625ca4ad77", kill_on_drop: false }`
[INFO] [stdout] b015c47d97d66db6942b92647701eb40666b55078b2b1c6652a1b3625ca4ad77
