[INFO] cloning repository https://github.com/Wkkkkk/hash_rings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wkkkkk/hash_rings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWkkkkk%2Fhash_rings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWkkkkk%2Fhash_rings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 178fb8d567298b924f015a621de45d240dcadd65
[INFO] checking Wkkkkk/hash_rings against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWkkkkk%2Fhash_rings" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Wkkkkk/hash_rings
[INFO] finished tweaking git repo https://github.com/Wkkkkk/hash_rings
[INFO] tweaked toml for git repo https://github.com/Wkkkkk/hash_rings written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Wkkkkk/hash_rings on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Wkkkkk/hash_rings 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "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
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded primal-estimate v0.2.1
[INFO] [stderr]   Downloaded primal-bit v0.2.4
[INFO] [stderr]   Downloaded hamming v0.1.3
[INFO] [stderr]   Downloaded primal v0.2.3
[INFO] [stderr]   Downloaded primal-check v0.2.3
[INFO] [stderr]   Downloaded primal-sieve v0.2.9
[INFO] [stderr]   Downloaded rand_distr v0.4.2
[INFO] [stderr]   Downloaded libm v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b66204a202ee82d3d515e7942e725513212f9dd33e32690b426b7cd1369f5d30
[INFO] running `Command { std: "docker" "start" "b66204a202ee82d3d515e7942e725513212f9dd33e32690b426b7cd1369f5d30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b66204a202ee82d3d515e7942e725513212f9dd33e32690b426b7cd1369f5d30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b66204a202ee82d3d515e7942e725513212f9dd33e32690b426b7cd1369f5d30" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b66204a202ee82d3d515e7942e725513212f9dd33e32690b426b7cd1369f5d30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b66204a202ee82d3d515e7942e725513212f9dd33e32690b426b7cd1369f5d30" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.102
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking hamming v0.1.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking primal-estimate v0.2.1
[INFO] [stderr]     Checking siphasher v0.2.3
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking primal-bit v0.2.4
[INFO] [stderr]     Checking primal-sieve v0.2.9
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking primal-check v0.2.3
[INFO] [stderr]     Checking primal v0.2.3
[INFO] [stderr]     Checking rand_distr v0.4.2
[INFO] [stderr]     Checking hash_rings v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/consistent.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{BTreeMap, HashMap, HashSet};
[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::vec::Vec`
[INFO] [stdout]  --> src/consistent.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/rendezvous.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/weighted_rendezvous.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::vec::Vec`
[INFO] [stdout]  --> src/weighted_rendezvous.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/consistent.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{BTreeMap, HashMap, HashSet};
[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::vec::Vec`
[INFO] [stdout]  --> src/consistent.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/rendezvous.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/weighted_rendezvous.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::vec::Vec`
[INFO] [stdout]  --> src/weighted_rendezvous.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Distribution`
[INFO] [stdout]  --> src/generator.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::distributions::{Uniform, Distribution};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Distribution`
[INFO] [stdout]  --> src/generator.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::distributions::{Uniform, Distribution};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains_node` and `get_replica_count` are never used
[INFO] [stdout]    --> src/consistent.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl<'a, T, H> Ring<'a, T, H> {
[INFO] [stdout]     | ----------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn contains_node(&self, index: u64) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn get_replica_count(&self, id: &T) -> usize
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_KEY` is never used
[INFO] [stdout]  --> src/generator.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const MAX_KEY: f64 = core::f64::MAX;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_hashes` is never used
[INFO] [stdout]   --> src/rendezvous.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl<'a, T, H> Ring<'a, T, H> {
[INFO] [stdout]    | ----------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn get_hashes(&self, id: &T) -> Vec<u64>
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains_node` and `get_replica_count` are never used
[INFO] [stdout]    --> src/consistent.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl<'a, T, H> Ring<'a, T, H> {
[INFO] [stdout]     | ----------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn contains_node(&self, index: u64) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn get_replica_count(&self, id: &T) -> usize
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_KEY` is never used
[INFO] [stdout]  --> src/generator.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const MAX_KEY: f64 = core::f64::MAX;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_hashes` is never used
[INFO] [stdout]   --> src/rendezvous.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl<'a, T, H> Ring<'a, T, H> {
[INFO] [stdout]    | ----------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn get_hashes(&self, id: &T) -> Vec<u64>
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `carp` and `weighted_rendezvous`
[INFO] [stdout]  --> src/bin/bench.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use hash_rings::{consistent, jump, carp, maglev, mpc, rendezvous, weighted_rendezvous};
[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: `Uniform`
[INFO] [stdout]   --> src/bin/bench.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::distributions::{Uniform, Distribution};
[INFO] [stdout]    |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LogNormal` and `Normal`
[INFO] [stdout]   --> src/bin/bench.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rand_distr::{Normal, LogNormal};
[INFO] [stdout]    |                  ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `carp` and `weighted_rendezvous`
[INFO] [stdout]  --> src/bin/bench.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use hash_rings::{consistent, jump, carp, maglev, mpc, rendezvous, weighted_rendezvous};
[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: `Uniform`
[INFO] [stdout]   --> src/bin/bench.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::distributions::{Uniform, Distribution};
[INFO] [stdout]    |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LogNormal` and `Normal`
[INFO] [stdout]   --> src/bin/bench.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rand_distr::{Normal, LogNormal};
[INFO] [stdout]    |                  ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Distribution`
[INFO] [stdout]   --> src/bin/bench.rs:10:36
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::distributions::{Uniform, Distribution};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Distribution`
[INFO] [stdout]   --> src/bin/bench.rs:10:36
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::distributions::{Uniform, Distribution};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_replicas`
[INFO] [stdout]    --> src/bin/bench.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let total_replicas = REPLICAS * num_nodes;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_replicas`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_replicas`
[INFO] [stdout]    --> src/bin/bench.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let total_replicas = REPLICAS * num_nodes;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_replicas`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ITEMS` is never used
[INFO] [stdout]   --> src/bin/bench.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const ITEMS: u64 = 100_000;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NODES` is never used
[INFO] [stdout]   --> src/bin/bench.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const NODES: u64 = 10;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_node_statistic` is never used
[INFO] [stdout]   --> src/bin/bench.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn print_node_statistic(id: u64, expected: f64, actual: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ITEMS` is never used
[INFO] [stdout]   --> src/bin/bench.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const ITEMS: u64 = 100_000;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NODES` is never used
[INFO] [stdout]   --> src/bin/bench.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const NODES: u64 = 10;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.47s
[INFO] [stdout] warning: function `print_node_statistic` is never used
[INFO] [stdout]   --> src/bin/bench.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn print_node_statistic(id: u64, expected: f64, actual: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b66204a202ee82d3d515e7942e725513212f9dd33e32690b426b7cd1369f5d30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b66204a202ee82d3d515e7942e725513212f9dd33e32690b426b7cd1369f5d30", kill_on_drop: false }`
[INFO] [stdout] b66204a202ee82d3d515e7942e725513212f9dd33e32690b426b7cd1369f5d30
