[INFO] fetching crate fastbloom-rs 0.5.9... [INFO] building fastbloom-rs-0.5.9 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate fastbloom-rs 0.5.9 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate fastbloom-rs 0.5.9 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 crates.io crate fastbloom-rs 0.5.9 [INFO] finished tweaking crates.io crate fastbloom-rs 0.5.9 [INFO] tweaked toml for crates.io crate fastbloom-rs 0.5.9 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate fastbloom-rs 0.5.9 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] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastmurmur3 v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b047014a19df9ccd271aef46352d2e2170aa76d1b280fe06c135b5bb051e281e [INFO] running `Command { std: "docker" "start" "-a" "b047014a19df9ccd271aef46352d2e2170aa76d1b280fe06c135b5bb051e281e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b047014a19df9ccd271aef46352d2e2170aa76d1b280fe06c135b5bb051e281e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b047014a19df9ccd271aef46352d2e2170aa76d1b280fe06c135b5bb051e281e", kill_on_drop: false }` [INFO] [stdout] b047014a19df9ccd271aef46352d2e2170aa76d1b280fe06c135b5bb051e281e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a16c0af8519b5a7e7c82315cc2f71113eef2c5f42e11cb73da251021ba22dc10 [INFO] running `Command { std: "docker" "start" "-a" "a16c0af8519b5a7e7c82315cc2f71113eef2c5f42e11cb73da251021ba22dc10", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fastmurmur3 v0.2.0 [INFO] [stderr] Compiling xxhash-rust v0.8.7 [INFO] [stderr] Compiling xorfilter-rs v0.5.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cuckoofilter v0.5.0 [INFO] [stderr] Compiling fastbloom-rs v0.5.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Membership` [INFO] [stdout] --> src/builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Membership; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/bloom.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_set` [INFO] [stdout] --> src/bloom.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_bit_indices(bit_set: &BloomBitVec, value: &[u8], m: u64, k: u64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expected_elements`, `false_positive_probability`, and `size` are never used [INFO] [stdout] --> src/builder.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl FilterBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | fn expected_elements(&mut self, expected_elements: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn false_positive_probability(&mut self, false_positive_probability: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn size(&mut self, size: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_bit_vec` is never used [INFO] [stdout] --> src/bloom.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 137 | impl BloomFilter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 433 | pub(crate) fn set_bit_vec(&mut self, bit_vec: BloomBitVec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_counting_vec` and `compatible` are never used [INFO] [stdout] --> src/bloom.rs:495:19 [INFO] [stdout] | [INFO] [stdout] 485 | impl CountingBloomFilter { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 495 | pub(crate) fn set_counting_vec(&mut self, counting_vec: CountingVec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | fn compatible(&self, other: &BloomFilter) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartitionedBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:703:19 [INFO] [stdout] | [INFO] [stdout] 703 | pub(crate) struct PartitionedBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScalableBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:715:19 [INFO] [stdout] | [INFO] [stdout] 715 | pub(crate) struct ScalableBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvertibleBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:733:19 [INFO] [stdout] | [INFO] [stdout] 733 | pub(crate) struct InvertibleBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GarbledBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:739:19 [INFO] [stdout] | [INFO] [stdout] 739 | pub(crate) struct GarbledBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nbits` is never read [INFO] [stdout] --> src/vec.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct BloomBitVec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) nbits: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloomBitVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_elem`, `xor`, `nor`, `xnor`, `nand`, and `difference` are never used [INFO] [stdout] --> src/vec.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BloomBitVec { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_elem(slots: usize, bit: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn xor(&mut self, other: &BloomBitVec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn nor(&mut self, other: &Self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn xnor(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn nand(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn difference(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counters` and `counter_per_slot` are never read [INFO] [stdout] --> src/vec.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) struct CountingVec { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 145 | pub(crate) counters: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 146 | /// The number of valid counter in a slot which mean usize. [INFO] [stdout] 147 | pub(crate) counter_per_slot: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountingVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "a16c0af8519b5a7e7c82315cc2f71113eef2c5f42e11cb73da251021ba22dc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a16c0af8519b5a7e7c82315cc2f71113eef2c5f42e11cb73da251021ba22dc10", kill_on_drop: false }` [INFO] [stdout] a16c0af8519b5a7e7c82315cc2f71113eef2c5f42e11cb73da251021ba22dc10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 14c90adb954082fe259adb0f8cc4d26d031ef2c0725ace2261f97f3ad5ed8395 [INFO] running `Command { std: "docker" "start" "-a" "14c90adb954082fe259adb0f8cc4d26d031ef2c0725ace2261f97f3ad5ed8395", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling fastbloom-rs v0.5.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Membership` [INFO] [stdout] --> src/builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Membership; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/bloom.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_set` [INFO] [stdout] --> src/bloom.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_bit_indices(bit_set: &BloomBitVec, value: &[u8], m: u64, k: u64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expected_elements`, `false_positive_probability`, and `size` are never used [INFO] [stdout] --> src/builder.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl FilterBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | fn expected_elements(&mut self, expected_elements: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn false_positive_probability(&mut self, false_positive_probability: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn size(&mut self, size: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_bit_vec` is never used [INFO] [stdout] --> src/bloom.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 137 | impl BloomFilter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 433 | pub(crate) fn set_bit_vec(&mut self, bit_vec: BloomBitVec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_counting_vec` and `compatible` are never used [INFO] [stdout] --> src/bloom.rs:495:19 [INFO] [stdout] | [INFO] [stdout] 485 | impl CountingBloomFilter { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 495 | pub(crate) fn set_counting_vec(&mut self, counting_vec: CountingVec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | fn compatible(&self, other: &BloomFilter) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartitionedBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:703:19 [INFO] [stdout] | [INFO] [stdout] 703 | pub(crate) struct PartitionedBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScalableBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:715:19 [INFO] [stdout] | [INFO] [stdout] 715 | pub(crate) struct ScalableBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvertibleBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:733:19 [INFO] [stdout] | [INFO] [stdout] 733 | pub(crate) struct InvertibleBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GarbledBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:739:19 [INFO] [stdout] | [INFO] [stdout] 739 | pub(crate) struct GarbledBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nbits` is never read [INFO] [stdout] --> src/vec.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct BloomBitVec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) nbits: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloomBitVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_elem`, `xor`, `nor`, `xnor`, `nand`, and `difference` are never used [INFO] [stdout] --> src/vec.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BloomBitVec { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_elem(slots: usize, bit: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn xor(&mut self, other: &BloomBitVec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn nor(&mut self, other: &Self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn xnor(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn nand(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn difference(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counters` and `counter_per_slot` are never read [INFO] [stdout] --> src/vec.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) struct CountingVec { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 145 | pub(crate) counters: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 146 | /// The number of valid counter in a slot which mean usize. [INFO] [stdout] 147 | pub(crate) counter_per_slot: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountingVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_set` [INFO] [stdout] --> src/bloom.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_bit_indices(bit_set: &BloomBitVec, value: &[u8], m: u64, k: u64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bloom.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 761 | let mut bloom2 = BloomFilter::from_u64_array(bloom.get_u64_array(), bloom.hashes()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hashes` is never read [INFO] [stdout] --> src/bloom.rs:853:13 [INFO] [stdout] | [INFO] [stdout] 853 | let mut hashes = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expected_elements`, `false_positive_probability`, and `size` are never used [INFO] [stdout] --> src/builder.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl FilterBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | fn expected_elements(&mut self, expected_elements: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn false_positive_probability(&mut self, false_positive_probability: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn size(&mut self, size: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_bit_vec` is never used [INFO] [stdout] --> src/bloom.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 137 | impl BloomFilter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 433 | pub(crate) fn set_bit_vec(&mut self, bit_vec: BloomBitVec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_counting_vec` and `compatible` are never used [INFO] [stdout] --> src/bloom.rs:495:19 [INFO] [stdout] | [INFO] [stdout] 485 | impl CountingBloomFilter { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 495 | pub(crate) fn set_counting_vec(&mut self, counting_vec: CountingVec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | fn compatible(&self, other: &BloomFilter) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartitionedBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:703:19 [INFO] [stdout] | [INFO] [stdout] 703 | pub(crate) struct PartitionedBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScalableBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:715:19 [INFO] [stdout] | [INFO] [stdout] 715 | pub(crate) struct ScalableBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvertibleBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:733:19 [INFO] [stdout] | [INFO] [stdout] 733 | pub(crate) struct InvertibleBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GarbledBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:739:19 [INFO] [stdout] | [INFO] [stdout] 739 | pub(crate) struct GarbledBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nbits` is never read [INFO] [stdout] --> src/vec.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct BloomBitVec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) nbits: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloomBitVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_elem`, `xor`, `nor`, `xnor`, `nand`, and `difference` are never used [INFO] [stdout] --> src/vec.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BloomBitVec { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_elem(slots: usize, bit: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn xor(&mut self, other: &BloomBitVec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn nor(&mut self, other: &Self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn xnor(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn nand(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn difference(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counters` and `counter_per_slot` are never read [INFO] [stdout] --> src/vec.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) struct CountingVec { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 145 | pub(crate) counters: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 146 | /// The number of valid counter in a slot which mean usize. [INFO] [stdout] 147 | pub(crate) counter_per_slot: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountingVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "14c90adb954082fe259adb0f8cc4d26d031ef2c0725ace2261f97f3ad5ed8395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c90adb954082fe259adb0f8cc4d26d031ef2c0725ace2261f97f3ad5ed8395", kill_on_drop: false }` [INFO] [stdout] 14c90adb954082fe259adb0f8cc4d26d031ef2c0725ace2261f97f3ad5ed8395