[INFO] fetching crate mouscache 0.5.6... [INFO] checking mouscache-0.5.6 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate mouscache 0.5.6 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate mouscache 0.5.6 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mouscache 0.5.6 [INFO] finished tweaking crates.io crate mouscache 0.5.6 [INFO] tweaked toml for crates.io crate mouscache 0.5.6 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 91 packages to latest compatible versions [INFO] [stderr] Adding ascii v0.9.3 (available: v1.1.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bytes v0.4.12 (available: v1.7.2) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding combine v3.8.1 (available: v4.6.7) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (available: v0.8.20) [INFO] [stderr] Adding dns-lookup v0.9.1 (available: v2.0.4) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.30) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.1.5 (available: v1.0.2) [INFO] [stderr] Adding lock_api v0.1.5 (available: v0.4.12) [INFO] [stderr] Adding lock_api v0.3.4 (available: v0.4.12) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (available: v0.6.0) [INFO] [stderr] Adding parking_lot v0.6.4 (available: v0.12.3) [INFO] [stderr] Adding parking_lot v0.9.0 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.3.1 (available: v0.9.10) [INFO] [stderr] Adding parking_lot_core v0.6.3 (available: v0.9.10) [INFO] [stderr] Adding percent-encoding v1.0.1 (available: v2.3.1) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding redis v0.10.0 (available: v0.27.2) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding scopeguard v0.3.3 (available: v1.2.0) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding sha1 v0.6.1 (available: v0.10.6) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.13.2) [INFO] [stderr] Adding socket2 v0.3.19 (available: v0.5.7) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.2) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08634299befd4652ad1fe60d8f8c15517e41d7aa4b74d325f3eaaf21d7c323a6 [INFO] running `Command { std: "docker" "start" "-a" "08634299befd4652ad1fe60d8f8c15517e41d7aa4b74d325f3eaaf21d7c323a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08634299befd4652ad1fe60d8f8c15517e41d7aa4b74d325f3eaaf21d7c323a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08634299befd4652ad1fe60d8f8c15517e41d7aa4b74d325f3eaaf21d7c323a6", kill_on_drop: false }` [INFO] [stdout] 08634299befd4652ad1fe60d8f8c15517e41d7aa4b74d325f3eaaf21d7c323a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48a8c2183e5b0f297946246dd1716ad5ded860df745807b2bb81252875198786 [INFO] running `Command { std: "docker" "start" "-a" "48a8c2183e5b0f297946246dd1716ad5ded860df745807b2bb81252875198786", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dns-lookup v0.9.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking mouscache v0.5.6 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:318:38 [INFO] [stdout] | [INFO] [stdout] 317 | let res = siter.fold(set.read().clone(), |diff_set, current_set_lock| { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | diff_set.difference(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:336:38 [INFO] [stdout] | [INFO] [stdout] 335 | let res = siter.fold(set.read().clone(), |diff_set, current_set_lock| { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | diff_set.difference(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:357:41 [INFO] [stdout] | [INFO] [stdout] 356 | let res = siter.fold(set.read().clone(), |inter_set, current_set_lock| { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | inter_set.intersection(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:375:41 [INFO] [stdout] | [INFO] [stdout] 374 | let res = siter.fold(set.read().clone(), |inter_set, current_set_lock| { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | inter_set.intersection(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:444:34 [INFO] [stdout] | [INFO] [stdout] 443 | let res = siter.fold(set.read().clone(), |union_set, current_set_lock| { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | union_set.union(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 461 | let res = siter.fold(set.read().clone(), |union_set, current_set_lock| { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 462 | union_set.union(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:318:38 [INFO] [stdout] | [INFO] [stdout] 317 | let res = siter.fold(set.read().clone(), |diff_set, current_set_lock| { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | diff_set.difference(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:336:38 [INFO] [stdout] | [INFO] [stdout] 335 | let res = siter.fold(set.read().clone(), |diff_set, current_set_lock| { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | diff_set.difference(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:357:41 [INFO] [stdout] | [INFO] [stdout] 356 | let res = siter.fold(set.read().clone(), |inter_set, current_set_lock| { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | inter_set.intersection(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:375:41 [INFO] [stdout] | [INFO] [stdout] 374 | let res = siter.fold(set.read().clone(), |inter_set, current_set_lock| { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | inter_set.intersection(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:444:34 [INFO] [stdout] | [INFO] [stdout] 443 | let res = siter.fold(set.read().clone(), |union_set, current_set_lock| { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | union_set.union(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lock_api::rwlock::RwLockReadGuard<'_, RawRwLock, HashSet>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memory_cache.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 461 | let res = siter.fold(set.read().clone(), |union_set, current_set_lock| { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 462 | union_set.union(¤t_set_lock.read()).map(|sref| sref.clone()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains_key` is never used [INFO] [stdout] --> src/lib.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 62 | trait CacheAccess { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 66 | fn contains_key(&self, key: K) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_key_exists` is never used [INFO] [stdout] --> src/redis_cache.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | fn redis_key_exists(con: &redis::Connection, key: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:223:38 [INFO] [stdout] | [INFO] [stdout] 223 | vec.push(reader.get(f.clone()).map(|s| s.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:439:25 [INFO] [stdout] | [INFO] [stdout] 439 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:457:25 [INFO] [stdout] | [INFO] [stdout] 457 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mouscache` (lib) due to 7 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `contains_key` is never used [INFO] [stdout] --> src/lib.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 62 | trait CacheAccess { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 66 | fn contains_key(&self, key: K) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_key_exists` is never used [INFO] [stdout] --> src/redis_cache.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | fn redis_key_exists(con: &redis::Connection, key: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:223:38 [INFO] [stdout] | [INFO] [stdout] 223 | vec.push(reader.get(f.clone()).map(|s| s.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:439:25 [INFO] [stdout] | [INFO] [stdout] 439 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/memory_cache.rs:457:25 [INFO] [stdout] | [INFO] [stdout] 457 | sets.get(key.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mouscache` (lib test) due to 7 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48a8c2183e5b0f297946246dd1716ad5ded860df745807b2bb81252875198786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a8c2183e5b0f297946246dd1716ad5ded860df745807b2bb81252875198786", kill_on_drop: false }` [INFO] [stdout] 48a8c2183e5b0f297946246dd1716ad5ded860df745807b2bb81252875198786