[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 try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYarik7610%2Fhashmap" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yarik7610/hashmap on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-6-tc2/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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfc695f86c3f7757407d35206c3deabe60e9f0fda71f217b96be8e11e872553b [INFO] running `Command { std: "docker" "start" "-a" "cfc695f86c3f7757407d35206c3deabe60e9f0fda71f217b96be8e11e872553b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfc695f86c3f7757407d35206c3deabe60e9f0fda71f217b96be8e11e872553b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc695f86c3f7757407d35206c3deabe60e9f0fda71f217b96be8e11e872553b", kill_on_drop: false }` [INFO] [stdout] cfc695f86c3f7757407d35206c3deabe60e9f0fda71f217b96be8e11e872553b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1afd99a4c0c658c551e402788c14f0890ce6c14ee002f64ae3204e757bf4cd1e [INFO] running `Command { std: "docker" "start" "-a" "1afd99a4c0c658c551e402788c14f0890ce6c14ee002f64ae3204e757bf4cd1e", 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: trait `Hasher` is never used [INFO] [stdout] --> src/hashers/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Hasher: Debug { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EasyHasher` is never constructed [INFO] [stdout] --> src/hashers/easy_hasher.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct EasyHasher {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EasyHasher` 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 `MidHasher` is never constructed [INFO] [stdout] --> src/hashers/mid_hasher.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MidHasher {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MidHasher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 `Debug` and `Clone`, 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.16s [INFO] running `Command { std: "docker" "inspect" "1afd99a4c0c658c551e402788c14f0890ce6c14ee002f64ae3204e757bf4cd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afd99a4c0c658c551e402788c14f0890ce6c14ee002f64ae3204e757bf4cd1e", kill_on_drop: false }` [INFO] [stdout] 1afd99a4c0c658c551e402788c14f0890ce6c14ee002f64ae3204e757bf4cd1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df5cde484ce528643d500b1aee3841ccc45699ba2fcba28198d50fcaa5428a8b [INFO] running `Command { std: "docker" "start" "-a" "df5cde484ce528643d500b1aee3841ccc45699ba2fcba28198d50fcaa5428a8b", 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: trait `Hasher` is never used [INFO] [stdout] --> src/hashers/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Hasher: Debug { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EasyHasher` is never constructed [INFO] [stdout] --> src/hashers/easy_hasher.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct EasyHasher {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EasyHasher` 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 `MidHasher` is never constructed [INFO] [stdout] --> src/hashers/mid_hasher.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MidHasher {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MidHasher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stderr] Compiling hashmap v0.1.0 (/opt/rustwide/workdir) [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 `Debug` and `Clone`, 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.33s [INFO] running `Command { std: "docker" "inspect" "df5cde484ce528643d500b1aee3841ccc45699ba2fcba28198d50fcaa5428a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5cde484ce528643d500b1aee3841ccc45699ba2fcba28198d50fcaa5428a8b", kill_on_drop: false }` [INFO] [stdout] df5cde484ce528643d500b1aee3841ccc45699ba2fcba28198d50fcaa5428a8b