[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] building matheus23/rust-bloomfilter-tests against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheus23%2Frust-bloomfilter-tests" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matheus23/rust-bloomfilter-tests on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ef431f52194ff5276c30574322232189367a32ef28f264c80c17b7a4fdd1f64 [INFO] running `Command { std: "docker" "start" "-a" "9ef431f52194ff5276c30574322232189367a32ef28f264c80c17b7a4fdd1f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ef431f52194ff5276c30574322232189367a32ef28f264c80c17b7a4fdd1f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ef431f52194ff5276c30574322232189367a32ef28f264c80c17b7a4fdd1f64", kill_on_drop: false }` [INFO] [stdout] 9ef431f52194ff5276c30574322232189367a32ef28f264c80c17b7a4fdd1f64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 002a2821de8f650c15531a6d3e5e97870ee132625258665c38ed7b628584cf2e [INFO] running `Command { std: "docker" "start" "-a" "002a2821de8f650c15531a6d3e5e97870ee132625258665c38ed7b628584cf2e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling keccak v0.1.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling xxhash-rust v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha3 v0.10.1 [INFO] [stderr] Compiling 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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.52s [INFO] running `Command { std: "docker" "inspect" "002a2821de8f650c15531a6d3e5e97870ee132625258665c38ed7b628584cf2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002a2821de8f650c15531a6d3e5e97870ee132625258665c38ed7b628584cf2e", kill_on_drop: false }` [INFO] [stdout] 002a2821de8f650c15531a6d3e5e97870ee132625258665c38ed7b628584cf2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa052b40bfd7a3576da966def84d1e2e6600d66c312ab467bf8528088a1a7932 [INFO] running `Command { std: "docker" "start" "-a" "fa052b40bfd7a3576da966def84d1e2e6600d66c312ab467bf8528088a1a7932", kill_on_drop: false }` [INFO] [stderr] Compiling rust-bloomfilters v0.1.0 (/opt/rustwide/workdir) [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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "fa052b40bfd7a3576da966def84d1e2e6600d66c312ab467bf8528088a1a7932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa052b40bfd7a3576da966def84d1e2e6600d66c312ab467bf8528088a1a7932", kill_on_drop: false }` [INFO] [stdout] fa052b40bfd7a3576da966def84d1e2e6600d66c312ab467bf8528088a1a7932