[INFO] fetching crate consistent_hasher 0.1.5... [INFO] checking consistent_hasher-0.1.5 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate consistent_hasher 0.1.5 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate consistent_hasher 0.1.5 [INFO] finished tweaking crates.io crate consistent_hasher 0.1.5 [INFO] tweaked toml for crates.io crate consistent_hasher 0.1.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate consistent_hasher 0.1.5 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate consistent_hasher 0.1.5 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc849d43b47933576e61605e5f6e024dbf334a94199c53ea1d658f30dd8687ac [INFO] running `Command { std: "docker" "start" "-a" "fc849d43b47933576e61605e5f6e024dbf334a94199c53ea1d658f30dd8687ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc849d43b47933576e61605e5f6e024dbf334a94199c53ea1d658f30dd8687ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc849d43b47933576e61605e5f6e024dbf334a94199c53ea1d658f30dd8687ac", kill_on_drop: false }` [INFO] [stdout] fc849d43b47933576e61605e5f6e024dbf334a94199c53ea1d658f30dd8687ac [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=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a645b7c55aa27e6f5331a8ff3f1641978e8faf97343b1cc2d01cab9c4df64bc3 [INFO] running `Command { std: "docker" "start" "-a" "a645b7c55aa27e6f5331a8ff3f1641978e8faf97343b1cc2d01cab9c4df64bc3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hash v0.3.0 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Checking consistent_hasher v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/node.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub (crate) fn create(key: T,vec: Vec) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/circularbtreemap.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut new_node = Node::new(node_val); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/node.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub (crate) fn create(key: T,vec: Vec) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ldb.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | for i in (count)..self.virtual_instances [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/circularbtreemap.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut new_node = Node::new(node_val); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/node.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 10 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub (crate) fn create(key: T,vec: Vec) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_node` is never used [INFO] [stdout] --> src/node.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | impl Node [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] 27 | { [INFO] [stdout] 28 | pub (crate) fn print_node(&self) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash_bit_count` is never read [INFO] [stdout] --> src/ldb.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct LDB { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | hash_bit_count: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | if let Ok(num) = stripped.trim().parse::(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `consistent_hasher` (bin "consistent_hasher" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | if let Ok(num) = stripped.trim().parse::(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | if let Ok(num) = stripped.trim().parse::(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `consistent_hasher` (bin "consistent_hasher") due to 1 previous error; 2 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | if let Ok(num) = stripped.trim().parse::(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ldb.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | for i in (count)..self.virtual_instances [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/node.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 10 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub (crate) fn create(key: T,vec: Vec) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_node` is never used [INFO] [stdout] --> src/node.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | impl Node [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] 27 | { [INFO] [stdout] 28 | pub (crate) fn print_node(&self) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash_bit_count` is never read [INFO] [stdout] --> src/ldb.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct LDB { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | hash_bit_count: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a645b7c55aa27e6f5331a8ff3f1641978e8faf97343b1cc2d01cab9c4df64bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a645b7c55aa27e6f5331a8ff3f1641978e8faf97343b1cc2d01cab9c4df64bc3", kill_on_drop: false }` [INFO] [stdout] a645b7c55aa27e6f5331a8ff3f1641978e8faf97343b1cc2d01cab9c4df64bc3