[INFO] cloning repository https://github.com/shantanubhattarai/tf-idf-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shantanubhattarai/tf-idf-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshantanubhattarai%2Ftf-idf-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshantanubhattarai%2Ftf-idf-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4780c60c600fd7c78770f7ba617a983c36093ac6 [INFO] checking shantanubhattarai/tf-idf-rs against try#86f78589b09557f70c9db3f56ad1921e0a9f76ef for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshantanubhattarai%2Ftf-idf-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shantanubhattarai/tf-idf-rs on toolchain 86f78589b09557f70c9db3f56ad1921e0a9f76ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shantanubhattarai/tf-idf-rs [INFO] finished tweaking git repo https://github.com/shantanubhattarai/tf-idf-rs [INFO] tweaked toml for git repo https://github.com/shantanubhattarai/tf-idf-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shantanubhattarai/tf-idf-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" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking shantanubhattarai/tf-idf-rs against try#86f78589b09557f70c9db3f56ad1921e0a9f76ef for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshantanubhattarai%2Ftf-idf-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shantanubhattarai/tf-idf-rs on toolchain 86f78589b09557f70c9db3f56ad1921e0a9f76ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shantanubhattarai/tf-idf-rs [INFO] finished tweaking git repo https://github.com/shantanubhattarai/tf-idf-rs [INFO] tweaked toml for git repo https://github.com/shantanubhattarai/tf-idf-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shantanubhattarai/tf-idf-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" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dict v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbb91fa4e595774f36b5c3f32e5e3c74b9b1c530b77ef7d01054e4d646bea257 [INFO] running `Command { std: "docker" "start" "-a" "dbb91fa4e595774f36b5c3f32e5e3c74b9b1c530b77ef7d01054e4d646bea257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbb91fa4e595774f36b5c3f32e5e3c74b9b1c530b77ef7d01054e4d646bea257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb91fa4e595774f36b5c3f32e5e3c74b9b1c530b77ef7d01054e4d646bea257", kill_on_drop: false }` [INFO] [stdout] dbb91fa4e595774f36b5c3f32e5e3c74b9b1c530b77ef7d01054e4d646bea257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea171d0297ffa144b0294d6f8a7190d289e4fc34afc9a8952d99d0b43410ef45 [INFO] running `Command { std: "docker" "start" "-a" "ea171d0297ffa144b0294d6f8a7190d289e4fc34afc9a8952d99d0b43410ef45", kill_on_drop: false }` [INFO] [stderr] Checking dict v0.1.5 [INFO] [stderr] Checking tfidf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sorted_documents` [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let mut sorted_documents: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sorted_documents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `similarities_vec` [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let similarities_vec = self.similarities(term); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_similarities_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut sorted_documents: Vec>> = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sorted_documents` [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let mut sorted_documents: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sorted_documents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `similarities_vec` [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let similarities_vec = self.similarities(term); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_similarities_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut sorted_documents: Vec>> = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_by_similarities` is never used [INFO] [stdout] --> src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> TfIdf<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | fn sort_by_similarities(&self, term: &'a Term) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_by_similarities` is never used [INFO] [stdout] --> src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> TfIdf<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | fn sort_by_similarities(&self, term: &'a Term) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "ea171d0297ffa144b0294d6f8a7190d289e4fc34afc9a8952d99d0b43410ef45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea171d0297ffa144b0294d6f8a7190d289e4fc34afc9a8952d99d0b43410ef45", kill_on_drop: false }` [INFO] [stdout] ea171d0297ffa144b0294d6f8a7190d289e4fc34afc9a8952d99d0b43410ef45