[INFO] fetching crate tinylfu-cached 0.0.4... [INFO] building tinylfu-cached-0.0.4 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate tinylfu-cached 0.0.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate tinylfu-cached 0.0.4 [INFO] finished tweaking crates.io crate tinylfu-cached 0.0.4 [INFO] tweaked toml for crates.io crate tinylfu-cached 0.0.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tinylfu-cached 0.0.4 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 162 packages to latest compatible versions [INFO] [stderr] Adding bloomfilter v1.0.16 (available: v3.0.1) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.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 rand_distr v0.4.3 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded num v0.4.3 [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded gloo-timers v0.3.0 [INFO] [stderr] Downloaded bloomfilter v1.0.16 [INFO] [stderr] Downloaded piper v0.2.4 [INFO] [stderr] Downloaded async-global-executor v2.4.1 [INFO] [stderr] Downloaded polling v3.11.0 [INFO] [stderr] Downloaded criterion v0.4.0 [INFO] [stderr] Downloaded async-io v2.6.0 [INFO] [stderr] Downloaded bit-vec v0.7.0 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded hashbrown v0.13.2 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded kv-log-macro v1.0.7 [INFO] [stderr] Downloaded blocking v1.6.2 [INFO] [stderr] Downloaded async-lock v3.4.1 [INFO] [stderr] Downloaded value-bag v1.11.1 [INFO] [stderr] Downloaded async-std v1.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81adfc10ac9116041b63944ee2bba541d8816ab5b66c5f71cbb6be7d022326e4 [INFO] running `Command { std: "docker" "start" "-a" "81adfc10ac9116041b63944ee2bba541d8816ab5b66c5f71cbb6be7d022326e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81adfc10ac9116041b63944ee2bba541d8816ab5b66c5f71cbb6be7d022326e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81adfc10ac9116041b63944ee2bba541d8816ab5b66c5f71cbb6be7d022326e4", kill_on_drop: false }` [INFO] [stdout] 81adfc10ac9116041b63944ee2bba541d8816ab5b66c5f71cbb6be7d022326e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d605f58a566f610087cc4dce2ef8f695a1a441791eecc7a39cd8151422f63f2d [INFO] running `Command { std: "docker" "start" "-a" "d605f58a566f610087cc4dce2ef8f695a1a441791eecc7a39cd8151422f63f2d", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bit-vec v0.7.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bloomfilter v1.0.16 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling tinylfu-cached v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cache/stats/mod.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 90 | impl ConcurrentStatsCounter { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) fn keys_added(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub(crate) fn keys_deleted(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub(crate) fn keys_rejected(&self) -> u64 { self.get(&StatsType::KeysRejected) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 137 | [INFO] [stdout] 138 | pub(crate) fn keys_updated(&self) -> u64 { self.get(&StatsType::KeysUpdated) } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 139 | [INFO] [stdout] 140 | pub(crate) fn weight_added(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub(crate) fn weight_removed(&self) -> u64 { self.get(&StatsType::WeightRemoved) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 145 | [INFO] [stdout] 146 | pub(crate) fn access_added(&self) -> u64 { self.get(&StatsType::AccessAdded) } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 147 | [INFO] [stdout] 148 | pub(crate) fn access_dropped(&self) -> u64 { self.get(&StatsType::AccessDropped) } [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 `new_expiry` is never used [INFO] [stdout] --> src/cache/store/mod.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl UpdateResponse { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn new_expiry(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/cache/policy/admission_policy.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 52 | / impl AdmissionPolicy [INFO] [stdout] 53 | | where Key: Hash + Eq + Send + Sync + Clone + 'static, { [INFO] [stdout] | |_________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub(crate) fn contains(&self, key_id: &KeyId) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/cache/policy/cache_weight.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 88 | / impl<'a, Key, Freq> FrequencyCounterBasedMinHeapSamples<'a, Key, Freq> [INFO] [stdout] 89 | | where Freq: Fn(KeyHash) -> FrequencyEstimate { [INFO] [stdout] | |________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub(crate) fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/cache/policy/cache_weight.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 185 | / impl CacheWeight [INFO] [stdout] 186 | | where Key: Hash + Eq + Send + Sync + Clone + 'static, { [INFO] [stdout] | |_________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 247 | pub(crate) fn contains(&self, key_id: &KeyId) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/cache/expiration/mod.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl TTLTicker { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn get(self: &Arc, key_id: &KeyId, expire_after: &ExpireAfter) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache/store/mod.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | fn contains(&self, key: &Key) -> Option>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | fn contains(&self, key: &Key) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.07s [INFO] running `Command { std: "docker" "inspect" "d605f58a566f610087cc4dce2ef8f695a1a441791eecc7a39cd8151422f63f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d605f58a566f610087cc4dce2ef8f695a1a441791eecc7a39cd8151422f63f2d", kill_on_drop: false }` [INFO] [stdout] d605f58a566f610087cc4dce2ef8f695a1a441791eecc7a39cd8151422f63f2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdfbffef35d106f6782a74ff8d0e8ccc5c7c6900e182ecaa488e5090470ad856 [INFO] running `Command { std: "docker" "start" "-a" "fdfbffef35d106f6782a74ff8d0e8ccc5c7c6900e182ecaa488e5090470ad856", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling tinylfu-cached v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cache/stats/mod.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 90 | impl ConcurrentStatsCounter { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) fn keys_added(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub(crate) fn keys_deleted(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub(crate) fn keys_rejected(&self) -> u64 { self.get(&StatsType::KeysRejected) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 137 | [INFO] [stdout] 138 | pub(crate) fn keys_updated(&self) -> u64 { self.get(&StatsType::KeysUpdated) } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 139 | [INFO] [stdout] 140 | pub(crate) fn weight_added(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub(crate) fn weight_removed(&self) -> u64 { self.get(&StatsType::WeightRemoved) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 145 | [INFO] [stdout] 146 | pub(crate) fn access_added(&self) -> u64 { self.get(&StatsType::AccessAdded) } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 147 | [INFO] [stdout] 148 | pub(crate) fn access_dropped(&self) -> u64 { self.get(&StatsType::AccessDropped) } [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 `new_expiry` is never used [INFO] [stdout] --> src/cache/store/mod.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl UpdateResponse { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn new_expiry(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/cache/policy/admission_policy.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 52 | / impl AdmissionPolicy [INFO] [stdout] 53 | | where Key: Hash + Eq + Send + Sync + Clone + 'static, { [INFO] [stdout] | |_________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub(crate) fn contains(&self, key_id: &KeyId) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/cache/policy/cache_weight.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 88 | / impl<'a, Key, Freq> FrequencyCounterBasedMinHeapSamples<'a, Key, Freq> [INFO] [stdout] 89 | | where Freq: Fn(KeyHash) -> FrequencyEstimate { [INFO] [stdout] | |________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub(crate) fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/cache/policy/cache_weight.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 185 | / impl CacheWeight [INFO] [stdout] 186 | | where Key: Hash + Eq + Send + Sync + Clone + 'static, { [INFO] [stdout] | |_________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 247 | pub(crate) fn contains(&self, key_id: &KeyId) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/cache/expiration/mod.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl TTLTicker { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn get(self: &Arc, key_id: &KeyId, expire_after: &ExpireAfter) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache/store/mod.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | fn contains(&self, key: &Key) -> Option>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | fn contains(&self, key: &Key) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stdout] warning: struct `UnixEpochClock` is never constructed [INFO] [stdout] --> src/cache/cached.rs:735:27 [INFO] [stdout] | [INFO] [stdout] 735 | pub(crate) struct UnixEpochClock; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnixEpochClock` is never constructed [INFO] [stdout] --> src/cache/command/command_executor.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 276 | pub(crate) struct UnixEpochClock; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_expiry` is never used [INFO] [stdout] --> src/cache/store/mod.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl UpdateResponse { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn new_expiry(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache/store/mod.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | fn contains(&self, key: &Key) -> Option>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | fn contains(&self, key: &Key) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "fdfbffef35d106f6782a74ff8d0e8ccc5c7c6900e182ecaa488e5090470ad856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdfbffef35d106f6782a74ff8d0e8ccc5c7c6900e182ecaa488e5090470ad856", kill_on_drop: false }` [INFO] [stdout] fdfbffef35d106f6782a74ff8d0e8ccc5c7c6900e182ecaa488e5090470ad856