[INFO] fetching crate mouscache 0.5.6... [INFO] building mouscache-0.5.6 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate mouscache 0.5.6 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mouscache 0.5.6 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a3f29ef415e5b5938e1489e6669f749b4c55ef173c3312ad1e287eaa3386837 [INFO] running `Command { std: "docker" "start" "-a" "3a3f29ef415e5b5938e1489e6669f749b4c55ef173c3312ad1e287eaa3386837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a3f29ef415e5b5938e1489e6669f749b4c55ef173c3312ad1e287eaa3386837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a3f29ef415e5b5938e1489e6669f749b4c55ef173c3312ad1e287eaa3386837", kill_on_drop: false }` [INFO] [stdout] 3a3f29ef415e5b5938e1489e6669f749b4c55ef173c3312ad1e287eaa3386837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e796c465de9595125c26982b7911c17b450012403fbd37284dfbe51841fb7dc [INFO] running `Command { std: "docker" "start" "-a" "7e796c465de9595125c26982b7911c17b450012403fbd37284dfbe51841fb7dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [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 parking_lot v0.12.4 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling dns-lookup v0.9.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [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: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [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 14.41s [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 2` [INFO] running `Command { std: "docker" "inspect" "7e796c465de9595125c26982b7911c17b450012403fbd37284dfbe51841fb7dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e796c465de9595125c26982b7911c17b450012403fbd37284dfbe51841fb7dc", kill_on_drop: false }` [INFO] [stdout] 7e796c465de9595125c26982b7911c17b450012403fbd37284dfbe51841fb7dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94aafc653d58611954359ff0cca23256ebf10669e5657ee64d7c475a39b7bb4e [INFO] running `Command { std: "docker" "start" "-a" "94aafc653d58611954359ff0cca23256ebf10669e5657ee64d7c475a39b7bb4e", kill_on_drop: false }` [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [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] 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 0.93s [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 2` [INFO] running `Command { std: "docker" "inspect" "94aafc653d58611954359ff0cca23256ebf10669e5657ee64d7c475a39b7bb4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94aafc653d58611954359ff0cca23256ebf10669e5657ee64d7c475a39b7bb4e", kill_on_drop: false }` [INFO] [stdout] 94aafc653d58611954359ff0cca23256ebf10669e5657ee64d7c475a39b7bb4e