[INFO] cloning repository https://github.com/i10416/Probabilistic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/i10416/Probabilistic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi10416%2FProbabilistic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi10416%2FProbabilistic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f58bd31bb40d91694c29f9d37dc3761c177334fc [INFO] checking i10416/Probabilistic against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi10416%2FProbabilistic" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/i10416/Probabilistic [INFO] finished tweaking git repo https://github.com/i10416/Probabilistic [INFO] tweaked toml for git repo https://github.com/i10416/Probabilistic written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/i10416/Probabilistic on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/i10416/Probabilistic 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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking i10416/Probabilistic against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi10416%2FProbabilistic" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/i10416/Probabilistic [INFO] finished tweaking git repo https://github.com/i10416/Probabilistic [INFO] tweaked toml for git repo https://github.com/i10416/Probabilistic written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/i10416/Probabilistic on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/i10416/Probabilistic 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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e01472da3dc7092cb323eba0cf0741f164c27bdcdff2a8e8df3a44e957e72224 [INFO] running `Command { std: "docker" "start" "-a" "e01472da3dc7092cb323eba0cf0741f164c27bdcdff2a8e8df3a44e957e72224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e01472da3dc7092cb323eba0cf0741f164c27bdcdff2a8e8df3a44e957e72224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e01472da3dc7092cb323eba0cf0741f164c27bdcdff2a8e8df3a44e957e72224", kill_on_drop: false }` [INFO] [stdout] e01472da3dc7092cb323eba0cf0741f164c27bdcdff2a8e8df3a44e957e72224 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c34d7f3f34a9ff1e5d48fd3e4ca664066a938373043fb9234d6e3d320bace80e [INFO] running `Command { std: "docker" "start" "-a" "c34d7f3f34a9ff1e5d48fd3e4ca664066a938373043fb9234d6e3d320bace80e", kill_on_drop: false }` [INFO] [stderr] Checking probablistic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Register` is never constructed [INFO] [stdout] --> src/hyper_log_log.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `count_group_with_zero` are never used [INFO] [stdout] --> src/hyper_log_log.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Register { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | fn new(m: usize, mask: usize, chomp: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn count_group_with_zero(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HyperLogLog` is never constructed [INFO] [stdout] --> src/hyper_log_log.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct HyperLogLog { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Estimator` is never used [INFO] [stdout] --> src/hyper_log_log.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Estimator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hyper_log_log.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl HyperLogLog { [INFO] [stdout] | ------------------------------------- associated function in this implementation [INFO] [stdout] 69 | // b: group id bit length [INFO] [stdout] 70 | fn new(b: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `initialize`, `get_alpha`, `cardinality`, `estimate_cardinality`, `hyperloglog_estimate`, and `linear_counting_estimate` are never used [INFO] [stdout] --> src/hyper_log_log.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl HyperLogLog { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 85 | fn initialize(b: u8) -> (usize, Register, f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn get_alpha(b: u8) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn cardinality(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn estimate_cardinality(&self) -> (f64, Estimator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn hyperloglog_estimate(alpha: f64, m: f64, registers: &[u8]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn linear_counting_estimate(m: f64, number_of_zero_registers: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_hash` is never used [INFO] [stdout] --> src/hyper_log_log.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl HyperLogLog { [INFO] [stdout] | -------------------------------------------------- method in this implementation [INFO] [stdout] 139 | fn get_hash(&self, element: &T) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CountMinSketch` is never constructed [INFO] [stdout] --> src/count_min_sketch.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CountMinSketch { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/count_min_sketch.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl CountMinSketch { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new(k: u32, m: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hash_kernel` and `get_count` are never used [INFO] [stdout] --> src/count_min_sketch.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl CountMinSketch { [INFO] [stdout] | ----------------------------------------------------- methods in this implementation [INFO] [stdout] 50 | fn hash_kernel(&self, element: T) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_count(&self, element: T) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Insertable` is never used [INFO] [stdout] --> src/utils.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Insertable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloomFilter` is never constructed [INFO] [stdout] --> src/bloom_filter.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct BloomFilter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `optimal_m`, `optimal_k`, and `hash_kernel` are never used [INFO] [stdout] --> src/bloom_filter.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl BloomFilter { [INFO] [stdout] | -------------------------------------------- associated items in this implementation [INFO] [stdout] 31 | [INFO] [stdout] 32 | fn optimal_m(n: usize, false_positive_rate: f64) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn optimal_k(false_positive_rate: f64) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn hash_kernel(&self, element: &impl Hash) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `optimal` are never used [INFO] [stdout] --> src/bloom_filter.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl BloomFilter { [INFO] [stdout] | ------------------------------------- associated functions in this implementation [INFO] [stdout] 48 | /// naively create bloom filter with arbitrary parameters [INFO] [stdout] 49 | pub fn new(m: u64, k: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn optimal(n: usize, false_positive_rate: f64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Register` is never constructed [INFO] [stdout] --> src/hyper_log_log.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `count_group_with_zero` are never used [INFO] [stdout] --> src/hyper_log_log.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Register { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | fn new(m: usize, mask: usize, chomp: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn count_group_with_zero(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HyperLogLog` is never constructed [INFO] [stdout] --> src/hyper_log_log.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct HyperLogLog { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Estimator` is never used [INFO] [stdout] --> src/hyper_log_log.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Estimator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hyper_log_log.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl HyperLogLog { [INFO] [stdout] | ------------------------------------- associated function in this implementation [INFO] [stdout] 69 | // b: group id bit length [INFO] [stdout] 70 | fn new(b: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `initialize`, `get_alpha`, `cardinality`, `estimate_cardinality`, `hyperloglog_estimate`, and `linear_counting_estimate` are never used [INFO] [stdout] --> src/hyper_log_log.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl HyperLogLog { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 85 | fn initialize(b: u8) -> (usize, Register, f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn get_alpha(b: u8) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn cardinality(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn estimate_cardinality(&self) -> (f64, Estimator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn hyperloglog_estimate(alpha: f64, m: f64, registers: &[u8]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn linear_counting_estimate(m: f64, number_of_zero_registers: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_hash` is never used [INFO] [stdout] --> src/hyper_log_log.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl HyperLogLog { [INFO] [stdout] | -------------------------------------------------- method in this implementation [INFO] [stdout] 139 | fn get_hash(&self, element: &T) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CountMinSketch` is never constructed [INFO] [stdout] --> src/count_min_sketch.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CountMinSketch { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/count_min_sketch.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl CountMinSketch { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new(k: u32, m: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hash_kernel` and `get_count` are never used [INFO] [stdout] --> src/count_min_sketch.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl CountMinSketch { [INFO] [stdout] | ----------------------------------------------------- methods in this implementation [INFO] [stdout] 50 | fn hash_kernel(&self, element: T) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_count(&self, element: T) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Insertable` is never used [INFO] [stdout] --> src/utils.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Insertable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SetLike` is never used [INFO] [stdout] --> src/utils.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SetLike { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_kernel` is never used [INFO] [stdout] --> src/utils.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn hash_kernel(h1:&mut T, h2:&mut T, element: &impl Hash) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_index` is never used [INFO] [stdout] --> src/utils.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_index(m:u64, h1: u64, h2: u64, k: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "c34d7f3f34a9ff1e5d48fd3e4ca664066a938373043fb9234d6e3d320bace80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c34d7f3f34a9ff1e5d48fd3e4ca664066a938373043fb9234d6e3d320bace80e", kill_on_drop: false }` [INFO] [stdout] c34d7f3f34a9ff1e5d48fd3e4ca664066a938373043fb9234d6e3d320bace80e