[INFO] cloning repository https://github.com/ManjulaNishanth/algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ManjulaNishanth/algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManjulaNishanth%2Falgorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManjulaNishanth%2Falgorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38c6b26202baf3e474c1fff25c17c33cd8b1702d [INFO] checking ManjulaNishanth/algorithms/38c6b26202baf3e474c1fff25c17c33cd8b1702d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManjulaNishanth%2Falgorithms" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ManjulaNishanth/algorithms on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ManjulaNishanth/algorithms [INFO] finished tweaking git repo https://github.com/ManjulaNishanth/algorithms [INFO] tweaked toml for git repo https://github.com/ManjulaNishanth/algorithms written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ManjulaNishanth/algorithms 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac1b06ab3e46fd58267bef3035caf41cc3c05aa9a98460a1e286188154afbfb3 [INFO] running `Command { std: "docker" "start" "-a" "ac1b06ab3e46fd58267bef3035caf41cc3c05aa9a98460a1e286188154afbfb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac1b06ab3e46fd58267bef3035caf41cc3c05aa9a98460a1e286188154afbfb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac1b06ab3e46fd58267bef3035caf41cc3c05aa9a98460a1e286188154afbfb3", kill_on_drop: false }` [INFO] [stdout] ac1b06ab3e46fd58267bef3035caf41cc3c05aa9a98460a1e286188154afbfb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b85f886af783ee877732852af537c9183c9f107a9eed65a9f6744cdd9110847f [INFO] running `Command { std: "docker" "start" "-a" "b85f886af783ee877732852af537c9183c9f107a9eed65a9f6744cdd9110847f", kill_on_drop: false }` [INFO] [stderr] Checking algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/hash_map/h_map.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/hash_map/h_map.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | fn put(&mut self, key: T, value: V) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_search` is never used [INFO] [stdout] --> src/binary_search.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn binary_search(input: &[T], target: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Viking` is never constructed [INFO] [stdout] --> src/hash_map/h_map.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Viking { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_SIZE` is never used [INFO] [stdout] --> src/hash_map/h_map.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const DEFAULT_MAX_SIZE: u64 = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashMap` is never constructed [INFO] [stdout] --> src/hash_map/h_map.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValue` is never constructed [INFO] [stdout] --> src/hash_map/h_map.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct KeyValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_key` is never used [INFO] [stdout] --> src/hash_map/h_map.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn hash_key(key: T) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `INIT`, `new`, and `put` are never used [INFO] [stdout] --> src/hash_map/h_map.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 41 | impl HashMap { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 42 | const INIT: Option> = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | pub fn new() -> HashMap { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn put(&mut self, key: T, value: V) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [INFO] [stdout] --> src/hash_map/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [INFO] [stdout] --> src/hash_table/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/hash_map/h_map.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | fn put(&mut self, key: T, value: V) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Viking` is never constructed [INFO] [stdout] --> src/hash_map/h_map.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Viking { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `curr_size` and `arr` are never read [INFO] [stdout] --> src/hash_map/h_map.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HashMap { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 23 | curr_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | arr: [Option>; DEFAULT_MAX_SIZE as usize], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `value`, and `next` are never read [INFO] [stdout] --> src/hash_map/h_map.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct KeyValue { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 29 | key: T, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | value: V, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | next: Option>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [INFO] [stdout] --> src/hash_map/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [INFO] [stdout] --> src/hash_table/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "b85f886af783ee877732852af537c9183c9f107a9eed65a9f6744cdd9110847f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85f886af783ee877732852af537c9183c9f107a9eed65a9f6744cdd9110847f", kill_on_drop: false }` [INFO] [stdout] b85f886af783ee877732852af537c9183c9f107a9eed65a9f6744cdd9110847f