[INFO] cloning repository https://github.com/matheus23/rust-bloomfilter-tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matheus23/rust-bloomfilter-tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheus23%2Frust-bloomfilter-tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheus23%2Frust-bloomfilter-tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79e9fee5c90a3efc01ad3fc380e914bd56c36644 [INFO] checking matheus23/rust-bloomfilter-tests against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheus23%2Frust-bloomfilter-tests" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matheus23/rust-bloomfilter-tests [INFO] finished tweaking git repo https://github.com/matheus23/rust-bloomfilter-tests [INFO] tweaked toml for git repo https://github.com/matheus23/rust-bloomfilter-tests written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matheus23/rust-bloomfilter-tests on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matheus23/rust-bloomfilter-tests 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xxhash-rust v0.8.5 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e7d1272641da72e47447c8241ebaa163b927e36348b947a91db5254e22e9678 [INFO] running `Command { std: "docker" "start" "-a" "4e7d1272641da72e47447c8241ebaa163b927e36348b947a91db5254e22e9678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e7d1272641da72e47447c8241ebaa163b927e36348b947a91db5254e22e9678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7d1272641da72e47447c8241ebaa163b927e36348b947a91db5254e22e9678", kill_on_drop: false }` [INFO] [stdout] 4e7d1272641da72e47447c8241ebaa163b927e36348b947a91db5254e22e9678 [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" "-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f9874288673e2442e5c91a227b75ebf4372fab807e8e71857aaaa3468a538d7 [INFO] running `Command { std: "docker" "start" "-a" "6f9874288673e2442e5c91a227b75ebf4372fab807e8e71857aaaa3468a538d7", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking xxhash-rust v0.8.5 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha3 v0.10.1 [INFO] [stderr] Checking rust-bloomfilters v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `xxhash_rust::xxh3` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use xxhash_rust::xxh3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bloom` is never constructed [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Bloom { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Bloom { [INFO] [stdout] | ------------------------------------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn add(&mut self, element: &[u8]) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn has(&self, element: &[u8]) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn count_ones(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn saturate(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn set_bit(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn test_bit(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bloom_indices_for_element` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn bloom_indices_for_element( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_deterministic` is never used [INFO] [stdout] --> src/main.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn fill_deterministic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_random` is never used [INFO] [stdout] --> src/main.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn fill_random(elements: u32, bloom: &mut Bloom) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_test_progress` is never used [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn print_test_progress(i: u64, tests: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_avg_bits` is never used [INFO] [stdout] --> src/main.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn test_avg_bits(prefill: u32, tests: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TESTS` is never used [INFO] [stdout] --> src/main.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | const TESTS: usize = 100_000; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_avg_saturation_bits` is never used [INFO] [stdout] --> src/main.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn test_avg_saturation_bits() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_false_positive_rate` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn test_false_positive_rate(prefill: u32, tests: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_indices_for` is never used [INFO] [stdout] --> src/main.rs:323:4 [INFO] [stdout] | [INFO] [stdout] 323 | fn test_indices_for(s: &str, m: usize, k: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_bit` is never used [INFO] [stdout] --> src/folded.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl SparseArray { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn test_bit(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RejectionSampling` is never constructed [INFO] [stdout] --> src/iterators.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RejectionSampling { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `accept_smaller` is never used [INFO] [stdout] --> src/iterators.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl, O: Ord> RejectionSampling { [INFO] [stdout] | ----------------------------------------------------------- associated function in this implementation [INFO] [stdout] 21 | pub fn accept_smaller(iter: I, max: O) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistinctSampling` is never constructed [INFO] [stdout] --> src/iterators.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DistinctSampling { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `distinct` is never used [INFO] [stdout] --> src/iterators.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl, V: Eq + Copy> DistinctSampling { [INFO] [stdout] | ---------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 48 | pub fn distinct(iter: I) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `YieldBits` is never constructed [INFO] [stdout] --> src/iterators.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct YieldBits { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `yield_bits` is never used [INFO] [stdout] --> src/iterators.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl> YieldBits { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 78 | pub fn yield_bits(iter: I, bits_at_a_time: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XXH3XOF` is never constructed [INFO] [stdout] --> src/iterators.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct XXH3XOF<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake3XOF` is never constructed [INFO] [stdout] --> src/iterators.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Blake3XOF { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has`, `saturate`, and `test_bit` are never used [INFO] [stdout] --> src/main.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Bloom { [INFO] [stdout] | ------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn has(&self, element: &[u8]) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn saturate(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn test_bit(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_deterministic` is never used [INFO] [stdout] --> src/main.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn fill_deterministic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TESTS` is never used [INFO] [stdout] --> src/main.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | const TESTS: usize = 100_000; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_avg_saturation_bits` is never used [INFO] [stdout] --> src/main.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn test_avg_saturation_bits() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_false_positive_rate` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn test_false_positive_rate(prefill: u32, tests: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_bit` is never used [INFO] [stdout] --> src/folded.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl SparseArray { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn test_bit(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistinctSampling` is never constructed [INFO] [stdout] --> src/iterators.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DistinctSampling { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `distinct` is never used [INFO] [stdout] --> src/iterators.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl, V: Eq + Copy> DistinctSampling { [INFO] [stdout] | ---------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 48 | pub fn distinct(iter: I) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake3XOF` is never constructed [INFO] [stdout] --> src/iterators.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Blake3XOF { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "6f9874288673e2442e5c91a227b75ebf4372fab807e8e71857aaaa3468a538d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f9874288673e2442e5c91a227b75ebf4372fab807e8e71857aaaa3468a538d7", kill_on_drop: false }` [INFO] [stdout] 6f9874288673e2442e5c91a227b75ebf4372fab807e8e71857aaaa3468a538d7