[INFO] fetching crate memory-cache-rust 0.1.0-alpha...
[INFO] building memory-cache-rust-0.1.0-alpha against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate memory-cache-rust 0.1.0-alpha into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate memory-cache-rust 0.1.0-alpha
[INFO] finished tweaking crates.io crate memory-cache-rust 0.1.0-alpha
[INFO] tweaked toml for crates.io crate memory-cache-rust 0.1.0-alpha written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate memory-cache-rust 0.1.0-alpha on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 143 packages to latest compatible versions
[INFO] [stderr]       Adding ahash v0.7.8 (available: v0.8.12)
[INFO] [stderr]       Adding criterion v0.3.6 (available: v0.7.0)
[INFO] [stderr]       Adding hashbrown v0.13.2 (available: v0.16.0)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] [stderr]       Adding seize v0.2.5 (available: v0.5.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syncpool v0.1.6
[INFO] [stderr]   Downloaded rand v0.3.23
[INFO] [stderr]   Downloaded aes-prng v0.2.2
[INFO] [stderr]   Downloaded seize v0.2.5
[INFO] [stderr]   Downloaded libmath v0.2.1
[INFO] [stderr]   Downloaded concache v0.2.1
[INFO] [stderr]   Downloaded crossbeam v0.3.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d1dbef95a9ceeaae0c4c3faf0e3d1ee61af09497ec3f78d9f88ccbe55424afbd
[INFO] running `Command { std: "docker" "start" "-a" "d1dbef95a9ceeaae0c4c3faf0e3d1ee61af09497ec3f78d9f88ccbe55424afbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d1dbef95a9ceeaae0c4c3faf0e3d1ee61af09497ec3f78d9f88ccbe55424afbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1dbef95a9ceeaae0c4c3faf0e3d1ee61af09497ec3f78d9f88ccbe55424afbd", kill_on_drop: false }`
[INFO] [stdout] d1dbef95a9ceeaae0c4c3faf0e3d1ee61af09497ec3f78d9f88ccbe55424afbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1104797a6f8b7bb48d7df785fb4e12183c552c0a1e6a3530fe3e5d2012daa458
[INFO] running `Command { std: "docker" "start" "-a" "1104797a6f8b7bb48d7df785fb4e12183c552c0a1e6a3530fe3e5d2012daa458", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling crossbeam v0.3.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling seize v0.2.5
[INFO] [stderr]    Compiling xxhash-rust v0.8.15
[INFO] [stderr]    Compiling syncpool v0.1.6
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling libmath v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling concache v0.2.1
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling aes-prng v0.2.2
[INFO] [stderr]    Compiling timer v0.2.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling uuid-macro-internal v1.18.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling memory-cache-rust v0.1.0-alpha (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/cmsketch.rs:94:51
[INFO] [stdout]    |
[INFO] [stdout] 94 |             s.push_str(format!("{:#02} ", (self.0[(i / 2)] >> ((i & 1) * 4)) & 0x0f).as_str());
[INFO] [stdout]    |                                                   ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -             s.push_str(format!("{:#02} ", (self.0[(i / 2)] >> ((i & 1) * 4)) & 0x0f).as_str());
[INFO] [stdout] 94 +             s.push_str(format!("{:#02} ", (self.0[i / 2] >> ((i & 1) * 4)) & 0x0f).as_str());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/ttl.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             break;
[INFO] [stdout]    |             ----- any code following this expression is unreachable
[INFO] [stdout] 95 |
[INFO] [stdout] 96 |             break;
[INFO] [stdout]    |             ^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syncpool::prelude`
[INFO] [stdout]  --> src/ring.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use syncpool::prelude::*;
[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: `Add`
[INFO] [stdout]  --> src/cache.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ops::{Add, Deref};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `entries` is never read
[INFO] [stdout]   --> src/bloom/bbloom.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut entries = 0;
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `locs` is never read
[INFO] [stdout]   --> src/bloom/bbloom.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut locs = 0;
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/bloom/bbloom.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/bloom/bbloom.rs:153:32
[INFO] [stdout]     |
[INFO] [stdout] 153 |             bj.filter_set[i] = unsafe { ptr.wrapping_offset(i as isize) as u8 }
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]   --> src/store.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn deref_mut(&mut self) -> &mut Self::Target {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 72 |         self
[INFO] [stdout]    |         ---- recursive call site
[INFO] [stdout]    |
[INFO] [stdout]    = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]    = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `expiration` is never read
[INFO] [stdout]    --> src/cache.rs:592:17
[INFO] [stdout]     |
[INFO] [stdout] 592 |         let mut expiration: Option<Duration> = None;
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/cache.rs:742:5
[INFO] [stdout]     |
[INFO] [stdout] 742 |     pub fn clear<'g>(&'g self, guard: &'g Guard) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] ...
[INFO] [stdout] 761 |         self.clear(guard);
[INFO] [stdout]     |         ----------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/policy.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 unsafe {
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ring.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |             unsafe {
[INFO] [stdout]    |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] 45 |                 let p = self.cons.load(Ordering::SeqCst, guard);
[INFO] [stdout] 46 |                 let p = unsafe {p.as_ptr()};
[INFO] [stdout]    |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ring.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |             unsafe {
[INFO] [stdout]    |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 let p = unsafe {p.as_mut().unwrap()};
[INFO] [stdout]    |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ring.rs:49:39
[INFO] [stdout]    |
[INFO] [stdout] 44 |             unsafe {
[INFO] [stdout]    |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 49 |                 if data.is_null() || !unsafe { data.deref() }.is_empty() {
[INFO] [stdout]    |                                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size_exp` is never read
[INFO] [stdout]   --> src/bloom/bbloom.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Bloom {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     size_exp: u64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `json_encoder` is never used
[INFO] [stdout]    --> src/bloom/bbloom.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Bloom {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn json_encoder(&mut self) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `any_as_u8_slice` is never used
[INFO] [stdout]  --> src/bloom/rutil.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | unsafe fn any_as_u8_slice<T: Sized>(p: &T) -> &[u8] {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_string` is never used
[INFO] [stdout]   --> src/bloom/hasher.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn is_string<T: ?Sized + Any>(_s: &T) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/store.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<V> Node<V> {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 23 |     pub(crate) fn new<AV>(key: u64, conflict: u64, value: AV, expiration: Option<Duration>) -> Self
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `into_box` and `compare_exchange` are never used
[INFO] [stdout]   --> src/reclaim.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T> Atomic<T> {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub(crate) unsafe fn into_box(self) -> Box<Linked<T>> {
[INFO] [stdout]    |                          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub(crate) fn compare_exchange<'g>(
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompareExchangeError` is never constructed
[INFO] [stdout]   --> src/reclaim.rs:81:19
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub(crate) struct CompareExchangeError<'g, T> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RetireShared` is never used
[INFO] [stdout]    --> src/reclaim.rs:146:18
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub(crate) trait RetireShared {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GuardRef` is never used
[INFO] [stdout]    --> src/reclaim.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub(crate) enum GuardRef<'g> {
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get` and `SetsDropped` are never used
[INFO] [stdout]    --> src/cache.rs:917:19
[INFO] [stdout]     |
[INFO] [stdout] 910 | impl Metrics {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 917 |     pub(crate) fn get<'g>(&'g self, t: MetricType, guard: &'g Guard) -> u64 {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 931 |     pub(crate) fn SetsDropped<'g>(&'g self, guard: &'g Guard) -> u64 {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Policy` is never used
[INFO] [stdout]   --> src/policy.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Policy {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number_counters` and `max_cost` are never read
[INFO] [stdout]   --> src/policy.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct DefaultPolicy<T> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     number_counters: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 47 |     lock: Mutex<()>,
[INFO] [stdout] 48 |     max_cost: i64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `has`, `close`, and `cap` are never used
[INFO] [stdout]    --> src/policy.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout]  53 | impl<T> DefaultPolicy<T> {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub fn has(&self, key: u64, _guard: &Guard) -> bool {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     pub fn close(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn cap(&self) -> i64 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset` is never used
[INFO] [stdout]   --> src/cmsketch.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl CmSketch {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub  fn reset(&mut self) {
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reset` and `string` are never used
[INFO] [stdout]   --> src/cmsketch.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl CmRows {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     fn reset(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     fn string(&self) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RingConsumer` is never used
[INFO] [stdout]   --> src/ring.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type RingConsumer = Box<dyn Fn(Vec<u64>) -> bool>;
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getSize` should have a snake case name
[INFO] [stdout]    --> src/bloom/bbloom.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn getSize(mut u_i64: u64) -> (u64, u64) {
[INFO] [stdout]     |    ^^^^^^^ help: convert the identifier to snake case: `get_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/bloom/haskey.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let key = *key.deref();
[INFO] [stdout]    |                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `T` does not implement `Deref`, so calling `deref` on `&T` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/cache.rs:593:12
[INFO] [stdout]     |
[INFO] [stdout] 593 |         if ttl.as_millis() < 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `delVal` should have a snake case name
[INFO] [stdout]    --> src/cache.rs:666:29
[INFO] [stdout]     |
[INFO] [stdout] 666 |                         let delVal = dstore.del(&victims[i].key, &0, guard);
[INFO] [stdout]     |                             ^^^^^^ help: convert the identifier to snake case: `del_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/cache.rs:675:125
[INFO] [stdout]     |
[INFO] [stdout] 675 | ...                   (self.on_evict.unwrap())(victims[i].key, victims[i].conflict, unsafe { v.deref().deref().deref() }, victims[i].cost)
[INFO] [stdout]     |                                                                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `V` does not implement `Deref`, so calling `deref` on `&V` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `delVal` should have a snake case name
[INFO] [stdout]    --> src/cache.rs:811:29
[INFO] [stdout]     |
[INFO] [stdout] 811 |                         let delVal = store.del(&victims[i].key, &0, guard);
[INFO] [stdout]     |                             ^^^^^^ help: convert the identifier to snake case: `del_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/cache.rs:820:125
[INFO] [stdout]     |
[INFO] [stdout] 820 | ...                   (self.on_evict.unwrap())(victims[i].key, victims[i].conflict, unsafe { v.deref().deref().deref() }, victims[i].cost)
[INFO] [stdout]     |                                                                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `V` does not implement `Deref`, so calling `deref` on `&V` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `SetsDropped` should have a snake case name
[INFO] [stdout]    --> src/cache.rs:931:19
[INFO] [stdout]     |
[INFO] [stdout] 931 |     pub(crate) fn SetsDropped<'g>(&'g self, guard: &'g Guard) -> u64 {
[INFO] [stdout]     |                   ^^^^^^^^^^^ help: convert the identifier to snake case: `sets_dropped`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cmDepth` should have an upper case name
[INFO] [stdout]  --> src/cmsketch.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const cmDepth: usize = 4;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 6 - const cmDepth: usize = 4;
[INFO] [stdout] 6 + const CM_DEPTH: usize = 4;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.14s
[INFO] running `Command { std: "docker" "inspect" "1104797a6f8b7bb48d7df785fb4e12183c552c0a1e6a3530fe3e5d2012daa458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1104797a6f8b7bb48d7df785fb4e12183c552c0a1e6a3530fe3e5d2012daa458", kill_on_drop: false }`
[INFO] [stdout] 1104797a6f8b7bb48d7df785fb4e12183c552c0a1e6a3530fe3e5d2012daa458
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2aed7b2165c135a251f37eb8081c580be37eb50f1383300a95c03ac84a0d50a
[INFO] running `Command { std: "docker" "start" "-a" "e2aed7b2165c135a251f37eb8081c580be37eb50f1383300a95c03ac84a0d50a", kill_on_drop: false }`
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling half v1.8.3
[INFO] [stderr]    Compiling criterion-plot v0.4.5
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling timer v0.2.0
[INFO] [stderr]    Compiling memory-cache-rust v0.1.0-alpha (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/cmsketch.rs:94:51
[INFO] [stdout]    |
[INFO] [stdout] 94 |             s.push_str(format!("{:#02} ", (self.0[(i / 2)] >> ((i & 1) * 4)) & 0x0f).as_str());
[INFO] [stdout]    |                                                   ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -             s.push_str(format!("{:#02} ", (self.0[(i / 2)] >> ((i & 1) * 4)) & 0x0f).as_str());
[INFO] [stdout] 94 +             s.push_str(format!("{:#02} ", (self.0[i / 2] >> ((i & 1) * 4)) & 0x0f).as_str());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/ttl.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             break;
[INFO] [stdout]    |             ----- any code following this expression is unreachable
[INFO] [stdout] 95 |
[INFO] [stdout] 96 |             break;
[INFO] [stdout]    |             ^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stdout] warning: unused import: `syncpool::prelude`
[INFO] [stdout]  --> src/ring.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use syncpool::prelude::*;
[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: `Add`
[INFO] [stdout]  --> src/cache.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ops::{Add, Deref};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `entries` is never read
[INFO] [stdout]   --> src/bloom/bbloom.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut entries = 0;
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `locs` is never read
[INFO] [stdout]   --> src/bloom/bbloom.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut locs = 0;
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/bloom/bbloom.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/bloom/bbloom.rs:153:32
[INFO] [stdout]     |
[INFO] [stdout] 153 |             bj.filter_set[i] = unsafe { ptr.wrapping_offset(i as isize) as u8 }
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]   --> src/store.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn deref_mut(&mut self) -> &mut Self::Target {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 72 |         self
[INFO] [stdout]    |         ---- recursive call site
[INFO] [stdout]    |
[INFO] [stdout]    = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]    = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `expiration` is never read
[INFO] [stdout]    --> src/cache.rs:592:17
[INFO] [stdout]     |
[INFO] [stdout] 592 |         let mut expiration: Option<Duration> = None;
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/cache.rs:742:5
[INFO] [stdout]     |
[INFO] [stdout] 742 |     pub fn clear<'g>(&'g self, guard: &'g Guard) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] ...
[INFO] [stdout] 761 |         self.clear(guard);
[INFO] [stdout]     |         ----------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/policy.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 unsafe {
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ring.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |             unsafe {
[INFO] [stdout]    |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] 45 |                 let p = self.cons.load(Ordering::SeqCst, guard);
[INFO] [stdout] 46 |                 let p = unsafe {p.as_ptr()};
[INFO] [stdout]    |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ring.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |             unsafe {
[INFO] [stdout]    |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 let p = unsafe {p.as_mut().unwrap()};
[INFO] [stdout]    |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ring.rs:49:39
[INFO] [stdout]    |
[INFO] [stdout] 44 |             unsafe {
[INFO] [stdout]    |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 49 |                 if data.is_null() || !unsafe { data.deref() }.is_empty() {
[INFO] [stdout]    |                                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size_exp` is never read
[INFO] [stdout]   --> src/bloom/bbloom.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Bloom {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     size_exp: u64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `json_encoder` is never used
[INFO] [stdout]    --> src/bloom/bbloom.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Bloom {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn json_encoder(&mut self) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `any_as_u8_slice` is never used
[INFO] [stdout]  --> src/bloom/rutil.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | unsafe fn any_as_u8_slice<T: Sized>(p: &T) -> &[u8] {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_string` is never used
[INFO] [stdout]   --> src/bloom/hasher.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn is_string<T: ?Sized + Any>(_s: &T) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/store.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<V> Node<V> {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 23 |     pub(crate) fn new<AV>(key: u64, conflict: u64, value: AV, expiration: Option<Duration>) -> Self
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `into_box` and `compare_exchange` are never used
[INFO] [stdout]   --> src/reclaim.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T> Atomic<T> {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub(crate) unsafe fn into_box(self) -> Box<Linked<T>> {
[INFO] [stdout]    |                          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub(crate) fn compare_exchange<'g>(
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompareExchangeError` is never constructed
[INFO] [stdout]   --> src/reclaim.rs:81:19
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub(crate) struct CompareExchangeError<'g, T> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RetireShared` is never used
[INFO] [stdout]    --> src/reclaim.rs:146:18
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub(crate) trait RetireShared {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GuardRef` is never used
[INFO] [stdout]    --> src/reclaim.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub(crate) enum GuardRef<'g> {
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get` and `SetsDropped` are never used
[INFO] [stdout]    --> src/cache.rs:917:19
[INFO] [stdout]     |
[INFO] [stdout] 910 | impl Metrics {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 917 |     pub(crate) fn get<'g>(&'g self, t: MetricType, guard: &'g Guard) -> u64 {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 931 |     pub(crate) fn SetsDropped<'g>(&'g self, guard: &'g Guard) -> u64 {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Policy` is never used
[INFO] [stdout]   --> src/policy.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Policy {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number_counters` and `max_cost` are never read
[INFO] [stdout]   --> src/policy.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct DefaultPolicy<T> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     number_counters: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 47 |     lock: Mutex<()>,
[INFO] [stdout] 48 |     max_cost: i64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `has`, `close`, and `cap` are never used
[INFO] [stdout]    --> src/policy.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout]  53 | impl<T> DefaultPolicy<T> {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub fn has(&self, key: u64, _guard: &Guard) -> bool {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     pub fn close(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn cap(&self) -> i64 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset` is never used
[INFO] [stdout]   --> src/cmsketch.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl CmSketch {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub  fn reset(&mut self) {
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reset` and `string` are never used
[INFO] [stdout]   --> src/cmsketch.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl CmRows {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     fn reset(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     fn string(&self) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RingConsumer` is never used
[INFO] [stdout]   --> src/ring.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type RingConsumer = Box<dyn Fn(Vec<u64>) -> bool>;
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getSize` should have a snake case name
[INFO] [stdout]    --> src/bloom/bbloom.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn getSize(mut u_i64: u64) -> (u64, u64) {
[INFO] [stdout]     |    ^^^^^^^ help: convert the identifier to snake case: `get_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/bloom/haskey.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let key = *key.deref();
[INFO] [stdout]    |                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `T` does not implement `Deref`, so calling `deref` on `&T` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/cache.rs:593:12
[INFO] [stdout]     |
[INFO] [stdout] 593 |         if ttl.as_millis() < 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `delVal` should have a snake case name
[INFO] [stdout]    --> src/cache.rs:666:29
[INFO] [stdout]     |
[INFO] [stdout] 666 |                         let delVal = dstore.del(&victims[i].key, &0, guard);
[INFO] [stdout]     |                             ^^^^^^ help: convert the identifier to snake case: `del_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/cache.rs:675:125
[INFO] [stdout]     |
[INFO] [stdout] 675 | ...                   (self.on_evict.unwrap())(victims[i].key, victims[i].conflict, unsafe { v.deref().deref().deref() }, victims[i].cost)
[INFO] [stdout]     |                                                                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `V` does not implement `Deref`, so calling `deref` on `&V` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `delVal` should have a snake case name
[INFO] [stdout]    --> src/cache.rs:811:29
[INFO] [stdout]     |
[INFO] [stdout] 811 |                         let delVal = store.del(&victims[i].key, &0, guard);
[INFO] [stdout]     |                             ^^^^^^ help: convert the identifier to snake case: `del_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/cache.rs:820:125
[INFO] [stdout]     |
[INFO] [stdout] 820 | ...                   (self.on_evict.unwrap())(victims[i].key, victims[i].conflict, unsafe { v.deref().deref().deref() }, victims[i].cost)
[INFO] [stdout]     |                                                                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `V` does not implement `Deref`, so calling `deref` on `&V` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `SetsDropped` should have a snake case name
[INFO] [stdout]    --> src/cache.rs:931:19
[INFO] [stdout]     |
[INFO] [stdout] 931 |     pub(crate) fn SetsDropped<'g>(&'g self, guard: &'g Guard) -> u64 {
[INFO] [stdout]     |                   ^^^^^^^^^^^ help: convert the identifier to snake case: `sets_dropped`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cmDepth` should have an upper case name
[INFO] [stdout]  --> src/cmsketch.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const cmDepth: usize = 4;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 6 - const cmDepth: usize = 4;
[INFO] [stdout] 6 + const CM_DEPTH: usize = 4;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling criterion v0.3.6
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/bloom/haskey.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |         ;
[INFO] [stdout]     |         ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/cmsketch.rs:94:51
[INFO] [stdout]    |
[INFO] [stdout] 94 |             s.push_str(format!("{:#02} ", (self.0[(i / 2)] >> ((i & 1) * 4)) & 0x0f).as_str());
[INFO] [stdout]    |                                                   ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -             s.push_str(format!("{:#02} ", (self.0[(i / 2)] >> ((i & 1) * 4)) & 0x0f).as_str());
[INFO] [stdout] 94 +             s.push_str(format!("{:#02} ", (self.0[i / 2] >> ((i & 1) * 4)) & 0x0f).as_str());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/ttl.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             break;
[INFO] [stdout]    |             ----- any code following this expression is unreachable
[INFO] [stdout] 95 |
[INFO] [stdout] 96 |             break;
[INFO] [stdout]    |             ^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syncpool::prelude`
[INFO] [stdout]  --> src/ring.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use syncpool::prelude::*;
[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: `Add`
[INFO] [stdout]  --> src/cache.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ops::{Add, Deref};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `entries` is never read
[INFO] [stdout]   --> src/bloom/bbloom.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut entries = 0;
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `locs` is never read
[INFO] [stdout]   --> src/bloom/bbloom.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut locs = 0;
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/bloom/bbloom.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/bloom/bbloom.rs:153:32
[INFO] [stdout]     |
[INFO] [stdout] 153 |             bj.filter_set[i] = unsafe { ptr.wrapping_offset(i as isize) as u8 }
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]   --> src/store.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn deref_mut(&mut self) -> &mut Self::Target {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 72 |         self
[INFO] [stdout]    |         ---- recursive call site
[INFO] [stdout]    |
[INFO] [stdout]    = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]    = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `expiration` is never read
[INFO] [stdout]    --> src/cache.rs:592:17
[INFO] [stdout]     |
[INFO] [stdout] 592 |         let mut expiration: Option<Duration> = None;
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/cache.rs:742:5
[INFO] [stdout]     |
[INFO] [stdout] 742 |     pub fn clear<'g>(&'g self, guard: &'g Guard) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] ...
[INFO] [stdout] 761 |         self.clear(guard);
[INFO] [stdout]     |         ----------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/policy.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 unsafe {
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ring.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |             unsafe {
[INFO] [stdout]    |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] 45 |                 let p = self.cons.load(Ordering::SeqCst, guard);
[INFO] [stdout] 46 |                 let p = unsafe {p.as_ptr()};
[INFO] [stdout]    |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ring.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |             unsafe {
[INFO] [stdout]    |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 let p = unsafe {p.as_mut().unwrap()};
[INFO] [stdout]    |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ring.rs:49:39
[INFO] [stdout]    |
[INFO] [stdout] 44 |             unsafe {
[INFO] [stdout]    |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 49 |                 if data.is_null() || !unsafe { data.deref() }.is_empty() {
[INFO] [stdout]    |                                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size_exp` is never read
[INFO] [stdout]   --> src/bloom/bbloom.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Bloom {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     size_exp: u64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `json_encoder` is never used
[INFO] [stdout]    --> src/bloom/bbloom.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Bloom {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn json_encoder(&mut self) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `any_as_u8_slice` is never used
[INFO] [stdout]  --> src/bloom/rutil.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | unsafe fn any_as_u8_slice<T: Sized>(p: &T) -> &[u8] {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_string` is never used
[INFO] [stdout]   --> src/bloom/hasher.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn is_string<T: ?Sized + Any>(_s: &T) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ITER` is never used
[INFO] [stdout]    --> src/store.rs:283:11
[INFO] [stdout]     |
[INFO] [stdout] 283 |     const ITER: u64 = 32 * 1024;
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `into_box` and `compare_exchange` are never used
[INFO] [stdout]   --> src/reclaim.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T> Atomic<T> {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub(crate) unsafe fn into_box(self) -> Box<Linked<T>> {
[INFO] [stdout]    |                          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub(crate) fn compare_exchange<'g>(
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompareExchangeError` is never constructed
[INFO] [stdout]   --> src/reclaim.rs:81:19
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub(crate) struct CompareExchangeError<'g, T> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RetireShared` is never used
[INFO] [stdout]    --> src/reclaim.rs:146:18
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub(crate) trait RetireShared {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GuardRef` is never used
[INFO] [stdout]    --> src/reclaim.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub(crate) enum GuardRef<'g> {
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get` and `SetsDropped` are never used
[INFO] [stdout]    --> src/cache.rs:917:19
[INFO] [stdout]     |
[INFO] [stdout] 910 | impl Metrics {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 917 |     pub(crate) fn get<'g>(&'g self, t: MetricType, guard: &'g Guard) -> u64 {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 931 |     pub(crate) fn SetsDropped<'g>(&'g self, guard: &'g Guard) -> u64 {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]     --> src/cache.rs:1199:17
[INFO] [stdout]      |
[INFO] [stdout] 1199 |     struct Pair(Box<i32>, Box<i32>);
[INFO] [stdout]      |            ---- ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]      |            |
[INFO] [stdout]      |            fields in this struct
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider removing these fields
[INFO] [stdout]      = note: `Pair` 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: trait `Policy` is never used
[INFO] [stdout]   --> src/policy.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Policy {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number_counters` and `max_cost` are never read
[INFO] [stdout]   --> src/policy.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct DefaultPolicy<T> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     number_counters: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 47 |     lock: Mutex<()>,
[INFO] [stdout] 48 |     max_cost: i64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `close` is never used
[INFO] [stdout]    --> src/policy.rs:236:12
[INFO] [stdout]     |
[INFO] [stdout]  53 | impl<T> DefaultPolicy<T> {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 236 |     pub fn close(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RingConsumer` is never used
[INFO] [stdout]   --> src/ring.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type RingConsumer = Box<dyn Fn(Vec<u64>) -> bool>;
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getSize` should have a snake case name
[INFO] [stdout]    --> src/bloom/bbloom.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn getSize(mut u_i64: u64) -> (u64, u64) {
[INFO] [stdout]     |    ^^^^^^^ help: convert the identifier to snake case: `get_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/bloom/haskey.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let key = *key.deref();
[INFO] [stdout]    |                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `T` does not implement `Deref`, so calling `deref` on `&T` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/cache.rs:593:12
[INFO] [stdout]     |
[INFO] [stdout] 593 |         if ttl.as_millis() < 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `delVal` should have a snake case name
[INFO] [stdout]    --> src/cache.rs:666:29
[INFO] [stdout]     |
[INFO] [stdout] 666 |                         let delVal = dstore.del(&victims[i].key, &0, guard);
[INFO] [stdout]     |                             ^^^^^^ help: convert the identifier to snake case: `del_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/cache.rs:675:125
[INFO] [stdout]     |
[INFO] [stdout] 675 | ...                   (self.on_evict.unwrap())(victims[i].key, victims[i].conflict, unsafe { v.deref().deref().deref() }, victims[i].cost)
[INFO] [stdout]     |                                                                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `V` does not implement `Deref`, so calling `deref` on `&V` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `delVal` should have a snake case name
[INFO] [stdout]    --> src/cache.rs:811:29
[INFO] [stdout]     |
[INFO] [stdout] 811 |                         let delVal = store.del(&victims[i].key, &0, guard);
[INFO] [stdout]     |                             ^^^^^^ help: convert the identifier to snake case: `del_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/cache.rs:820:125
[INFO] [stdout]     |
[INFO] [stdout] 820 | ...                   (self.on_evict.unwrap())(victims[i].key, victims[i].conflict, unsafe { v.deref().deref().deref() }, victims[i].cost)
[INFO] [stdout]     |                                                                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `V` does not implement `Deref`, so calling `deref` on `&V` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `SetsDropped` should have a snake case name
[INFO] [stdout]    --> src/cache.rs:931:19
[INFO] [stdout]     |
[INFO] [stdout] 931 |     pub(crate) fn SetsDropped<'g>(&'g self, guard: &'g Guard) -> u64 {
[INFO] [stdout]     |                   ^^^^^^^^^^^ help: convert the identifier to snake case: `sets_dropped`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/cache.rs:1080:9
[INFO] [stdout]      |
[INFO] [stdout] 1080 |         t1.join();
[INFO] [stdout]      |         ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1080 |         let _ = t1.join();
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/cache.rs:1081:9
[INFO] [stdout]      |
[INFO] [stdout] 1081 |         t2.join();
[INFO] [stdout]      |         ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1081 |         let _ = t2.join();
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/cache.rs:1082:9
[INFO] [stdout]      |
[INFO] [stdout] 1082 |         t3.join();
[INFO] [stdout]      |         ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1082 |         let _ = t3.join();
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/cache.rs:1083:9
[INFO] [stdout]      |
[INFO] [stdout] 1083 |         t4.join();
[INFO] [stdout]      |         ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1083 |         let _ = t4.join();
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/policy.rs:467:9
[INFO] [stdout]     |
[INFO] [stdout] 467 |         drop(Box::into_raw(shard_metric))
[INFO] [stdout]     |         ^^^^^---------------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut Metrics`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/policy.rs:519:9
[INFO] [stdout]     |
[INFO] [stdout] 519 |         drop(Box::into_raw(shard_metric))
[INFO] [stdout]     |         ^^^^^---------------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut Metrics`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/policy.rs:534:9
[INFO] [stdout]     |
[INFO] [stdout] 534 |         drop(Box::into_raw(shard_metric))
[INFO] [stdout]     |         ^^^^^---------------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut Metrics`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/policy.rs:552:9
[INFO] [stdout]     |
[INFO] [stdout] 552 |         drop(Box::into_raw(shard_metric))
[INFO] [stdout]     |         ^^^^^---------------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut Metrics`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/policy.rs:570:9
[INFO] [stdout]     |
[INFO] [stdout] 570 |         drop(Box::into_raw(shard_metric))
[INFO] [stdout]     |         ^^^^^---------------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut Metrics`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/policy.rs:594:9
[INFO] [stdout]     |
[INFO] [stdout] 594 |         drop(Box::into_raw(shard_metric))
[INFO] [stdout]     |         ^^^^^---------------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut Metrics`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/policy.rs:612:9
[INFO] [stdout]     |
[INFO] [stdout] 612 |         drop(Box::into_raw(shard_metric))
[INFO] [stdout]     |         ^^^^^---------------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut Metrics`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/policy.rs:631:9
[INFO] [stdout]     |
[INFO] [stdout] 631 |         drop(Box::into_raw(shard_metric))
[INFO] [stdout]     |         ^^^^^---------------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut Metrics`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/policy.rs:650:9
[INFO] [stdout]     |
[INFO] [stdout] 650 |         drop(Box::into_raw(shard_metric))
[INFO] [stdout]     |         ^^^^^---------------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut Metrics`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/policy.rs:670:9
[INFO] [stdout]     |
[INFO] [stdout] 670 |         drop(Box::into_raw(shard_metric))
[INFO] [stdout]     |         ^^^^^---------------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut Metrics`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cmDepth` should have an upper case name
[INFO] [stdout]  --> src/cmsketch.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const cmDepth: usize = 4;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 6 - const cmDepth: usize = 4;
[INFO] [stdout] 6 + const CM_DEPTH: usize = 4;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `TestSketchClear` should have a snake case name
[INFO] [stdout]    --> src/cmsketch.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 |     fn TestSketchClear() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_sketch_clear`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 14.57s
[INFO] running `Command { std: "docker" "inspect" "e2aed7b2165c135a251f37eb8081c580be37eb50f1383300a95c03ac84a0d50a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2aed7b2165c135a251f37eb8081c580be37eb50f1383300a95c03ac84a0d50a", kill_on_drop: false }`
[INFO] [stdout] e2aed7b2165c135a251f37eb8081c580be37eb50f1383300a95c03ac84a0d50a
