[INFO] fetching crate mouscache 0.5.6... [INFO] building mouscache-0.5.6 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate mouscache 0.5.6 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mouscache 0.5.6 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 91 packages to latest compatible versions [INFO] [stderr] Adding dns-lookup v0.9.1 (available: v3.0.0) [INFO] [stderr] Adding parking_lot v0.6.4 (available: v0.12.4) [INFO] [stderr] Adding redis v0.10.0 (available: v0.32.6) [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 parking_lot_core v0.3.1 [INFO] [stderr] Downloaded ascii v0.9.3 [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded lock_api v0.1.5 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded dns-lookup v0.9.1 [INFO] [stderr] Downloaded owning_ref v0.4.1 [INFO] [stderr] Downloaded combine v3.8.1 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded redis v0.10.0 [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] 6ce5d0a6845f1a45c859c220e18d2d46f4981a7ba8ad004d27b14aa47950fff2 [INFO] running `Command { std: "docker" "start" "-a" "6ce5d0a6845f1a45c859c220e18d2d46f4981a7ba8ad004d27b14aa47950fff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ce5d0a6845f1a45c859c220e18d2d46f4981a7ba8ad004d27b14aa47950fff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ce5d0a6845f1a45c859c220e18d2d46f4981a7ba8ad004d27b14aa47950fff2", kill_on_drop: false }` [INFO] [stdout] 6ce5d0a6845f1a45c859c220e18d2d46f4981a7ba8ad004d27b14aa47950fff2 [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] e854f8ae6a7035908009cae368335e0fff42089b9799f86cdb90d12bc429657b [INFO] running `Command { std: "docker" "start" "-a" "e854f8ae6a7035908009cae368335e0fff42089b9799f86cdb90d12bc429657b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling dns-lookup v0.9.1 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling mouscache v0.5.6 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.10.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "e854f8ae6a7035908009cae368335e0fff42089b9799f86cdb90d12bc429657b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e854f8ae6a7035908009cae368335e0fff42089b9799f86cdb90d12bc429657b", kill_on_drop: false }` [INFO] [stdout] e854f8ae6a7035908009cae368335e0fff42089b9799f86cdb90d12bc429657b [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] 57265a16b3730316112b1561cb06738e36f70bff3e1b1aa80caaf8d6460d8a92 [INFO] running `Command { std: "docker" "start" "-a" "57265a16b3730316112b1561cb06738e36f70bff3e1b1aa80caaf8d6460d8a92", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling mouscache v0.5.6 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.10.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "57265a16b3730316112b1561cb06738e36f70bff3e1b1aa80caaf8d6460d8a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57265a16b3730316112b1561cb06738e36f70bff3e1b1aa80caaf8d6460d8a92", kill_on_drop: false }` [INFO] [stdout] 57265a16b3730316112b1561cb06738e36f70bff3e1b1aa80caaf8d6460d8a92