[INFO] cloning repository https://github.com/Yarik7610/hashmap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yarik7610/hashmap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYarik7610%2Fhashmap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYarik7610%2Fhashmap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37520bbc558ed0347183ebcc141427835ca39ea9 [INFO] building Yarik7610/hashmap against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYarik7610%2Fhashmap" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yarik7610/hashmap on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yarik7610/hashmap [INFO] finished tweaking git repo https://github.com/Yarik7610/hashmap [INFO] tweaked toml for git repo https://github.com/Yarik7610/hashmap written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Yarik7610/hashmap 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a3df46c3ba8787c8c310d45ad3737ae6413febfa74e96516feb65b4eea8a52a [INFO] running `Command { std: "docker" "start" "-a" "7a3df46c3ba8787c8c310d45ad3737ae6413febfa74e96516feb65b4eea8a52a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a3df46c3ba8787c8c310d45ad3737ae6413febfa74e96516feb65b4eea8a52a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a3df46c3ba8787c8c310d45ad3737ae6413febfa74e96516feb65b4eea8a52a", kill_on_drop: false }` [INFO] [stdout] 7a3df46c3ba8787c8c310d45ad3737ae6413febfa74e96516feb65b4eea8a52a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5409852bfc8d91d8556f11a36ec6f6bce72037ac1ef7d047a7d2ef64f43f38b8 [INFO] running `Command { std: "docker" "start" "-a" "5409852bfc8d91d8556f11a36ec6f6bce72037ac1ef7d047a7d2ef64f43f38b8", kill_on_drop: false }` [INFO] [stderr] Compiling hashmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hashmap::HashMap` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hashmap::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `easy_hasher::EasyHasher` [INFO] [stdout] --> src/hashmap.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | hashers::{easy_hasher::EasyHasher, mid_hasher::MidHasher, Hasher}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_hash` and `get_index` are never used [INFO] [stdout] --> src/hashers/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Hasher: Debug { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 6 | fn get_hash(&self, key: &str) -> u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | fn get_index(&self, hash: u64, len: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILL_FACTOR` is never used [INFO] [stdout] --> src/hashmap.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FILL_FACTOR: f64 = 0.75; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_SIZE` is never used [INFO] [stdout] --> src/hashmap.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DEFAULT_MAX_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashMap` is never constructed [INFO] [stdout] --> src/hashmap.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 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: multiple associated items are never used [INFO] [stdout] --> src/hashmap.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl HashMap [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | V: Copy + Clone + Debug, [INFO] [stdout] | |____________________________- associated items in this implementation [INFO] [stdout] 24 | { [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn insert(&mut self, key: &str, val: V) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove(&mut self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn contains_key(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn update_key(&mut self, key: &str, val: V) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn should_resize(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn resize(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn get_hasher_index(&self, key: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/node.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Node [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/node.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 13 | / impl Node [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | V: Copy + Clone + Debug, [INFO] [stdout] | |____________________________- associated function in this implementation [INFO] [stdout] 16 | { [INFO] [stdout] 17 | pub fn new(key: &str, val: V) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "5409852bfc8d91d8556f11a36ec6f6bce72037ac1ef7d047a7d2ef64f43f38b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5409852bfc8d91d8556f11a36ec6f6bce72037ac1ef7d047a7d2ef64f43f38b8", kill_on_drop: false }` [INFO] [stdout] 5409852bfc8d91d8556f11a36ec6f6bce72037ac1ef7d047a7d2ef64f43f38b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea66e641a633fadd2209e876fb8f59ebf66f2ec4165416ba96832069c31aec2c [INFO] running `Command { std: "docker" "start" "-a" "ea66e641a633fadd2209e876fb8f59ebf66f2ec4165416ba96832069c31aec2c", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `hashmap::HashMap` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hashmap::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `easy_hasher::EasyHasher` [INFO] [stdout] --> src/hashmap.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | hashers::{easy_hasher::EasyHasher, mid_hasher::MidHasher, Hasher}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_hash` and `get_index` are never used [INFO] [stdout] --> src/hashers/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Hasher: Debug { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 6 | fn get_hash(&self, key: &str) -> u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | fn get_index(&self, hash: u64, len: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILL_FACTOR` is never used [INFO] [stdout] --> src/hashmap.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FILL_FACTOR: f64 = 0.75; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_SIZE` is never used [INFO] [stdout] --> src/hashmap.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DEFAULT_MAX_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashMap` is never constructed [INFO] [stdout] --> src/hashmap.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 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: multiple associated items are never used [INFO] [stdout] --> src/hashmap.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl HashMap [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | V: Copy + Clone + Debug, [INFO] [stdout] | |____________________________- associated items in this implementation [INFO] [stdout] 24 | { [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn insert(&mut self, key: &str, val: V) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove(&mut self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn contains_key(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn update_key(&mut self, key: &str, val: V) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn should_resize(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn resize(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn get_hasher_index(&self, key: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hashmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/node.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Node [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/node.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 13 | / impl Node [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | V: Copy + Clone + Debug, [INFO] [stdout] | |____________________________- associated function in this implementation [INFO] [stdout] 16 | { [INFO] [stdout] 17 | pub fn new(key: &str, val: V) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashmap::HashMap` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hashmap::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `easy_hasher::EasyHasher` [INFO] [stdout] --> src/hashmap.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | hashers::{easy_hasher::EasyHasher, mid_hasher::MidHasher, Hasher}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "ea66e641a633fadd2209e876fb8f59ebf66f2ec4165416ba96832069c31aec2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea66e641a633fadd2209e876fb8f59ebf66f2ec4165416ba96832069c31aec2c", kill_on_drop: false }` [INFO] [stdout] ea66e641a633fadd2209e876fb8f59ebf66f2ec4165416ba96832069c31aec2c