[INFO] cloning repository https://github.com/dwalker109/juniper_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dwalker109/juniper_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwalker109%2Fjuniper_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwalker109%2Fjuniper_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 272b2dd40bdeb551c0bf8fff565f891afd402d4a [INFO] checking dwalker109/juniper_demo against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwalker109%2Fjuniper_demo" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwalker109/juniper_demo on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dwalker109/juniper_demo [INFO] finished tweaking git repo https://github.com/dwalker109/juniper_demo [INFO] tweaked toml for git repo https://github.com/dwalker109/juniper_demo written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dwalker109/juniper_demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded juniper_hyper v0.8.0 [INFO] [stderr] Downloaded juniper_codegen v0.15.7 [INFO] [stderr] Downloaded graphql-parser v0.3.0 [INFO] [stderr] Downloaded juniper v0.15.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aeeb8bf3ebe59149e1b54ec7f72ffd7d20fccdedf68c11f8a29a818f710bd556 [INFO] running `Command { std: "docker" "start" "-a" "aeeb8bf3ebe59149e1b54ec7f72ffd7d20fccdedf68c11f8a29a818f710bd556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeeb8bf3ebe59149e1b54ec7f72ffd7d20fccdedf68c11f8a29a818f710bd556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeeb8bf3ebe59149e1b54ec7f72ffd7d20fccdedf68c11f8a29a818f710bd556", kill_on_drop: false }` [INFO] [stdout] aeeb8bf3ebe59149e1b54ec7f72ffd7d20fccdedf68c11f8a29a818f710bd556 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ead7718d24823b2dbe1caff3f8a94e9f423e833312fccad2b8cd8e0b4bbdba82 [INFO] running `Command { std: "docker" "start" "-a" "ead7718d24823b2dbe1caff3f8a94e9f423e833312fccad2b8cd8e0b4bbdba82", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking smartstring v0.2.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-enum v0.1.17 [INFO] [stderr] Compiling juniper_codegen v0.15.7 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking futures-util v0.3.17 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking indexmap v1.7.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking bson v1.2.4 [INFO] [stderr] Checking juniper v0.15.7 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stderr] Checking juniper_hyper v0.8.0 [INFO] [stderr] Checking juniper_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | self.0.lock().unwrap().get(&k).unwrap().deref().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Srv` does not implement `Deref`, so calling `deref` on `&Srv` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 70 - self.0.lock().unwrap().get(&k).unwrap().deref().clone() [INFO] [stdout] 70 + self.0.lock().unwrap().get(&k).unwrap().clone() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Srv`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | struct Srv { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | self.0.lock().unwrap().get(&k).unwrap().deref().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Srv` does not implement `Deref`, so calling `deref` on `&Srv` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 70 - self.0.lock().unwrap().get(&k).unwrap().deref().clone() [INFO] [stdout] 70 + self.0.lock().unwrap().get(&k).unwrap().clone() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Srv`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | struct Srv { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.80s [INFO] running `Command { std: "docker" "inspect" "ead7718d24823b2dbe1caff3f8a94e9f423e833312fccad2b8cd8e0b4bbdba82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead7718d24823b2dbe1caff3f8a94e9f423e833312fccad2b8cd8e0b4bbdba82", kill_on_drop: false }` [INFO] [stdout] ead7718d24823b2dbe1caff3f8a94e9f423e833312fccad2b8cd8e0b4bbdba82 [INFO] checking dwalker109/juniper_demo against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwalker109%2Fjuniper_demo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwalker109/juniper_demo on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dwalker109/juniper_demo [INFO] finished tweaking git repo https://github.com/dwalker109/juniper_demo [INFO] tweaked toml for git repo https://github.com/dwalker109/juniper_demo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dwalker109/juniper_demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dd2026a33808499fa9452786183475f79ca96daf49aa669d2e3459209f78dcf [INFO] running `Command { std: "docker" "start" "-a" "4dd2026a33808499fa9452786183475f79ca96daf49aa669d2e3459209f78dcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dd2026a33808499fa9452786183475f79ca96daf49aa669d2e3459209f78dcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dd2026a33808499fa9452786183475f79ca96daf49aa669d2e3459209f78dcf", kill_on_drop: false }` [INFO] [stdout] 4dd2026a33808499fa9452786183475f79ca96daf49aa669d2e3459209f78dcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ded7f0f20f6aad0a0e3318547c2f5033478edd95f942e38ca50abb06656c1152 [INFO] running `Command { std: "docker" "start" "-a" "ded7f0f20f6aad0a0e3318547c2f5033478edd95f942e38ca50abb06656c1152", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking smartstring v0.2.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-enum v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling juniper_codegen v0.15.7 [INFO] [stderr] Checking futures-util v0.3.17 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking indexmap v1.7.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking bson v1.2.4 [INFO] [stderr] Checking juniper v0.15.7 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stderr] Checking juniper_hyper v0.8.0 [INFO] [stderr] Checking juniper_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | self.0.lock().unwrap().get(&k).unwrap().deref().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Srv` does not implement `Deref`, so calling `deref` on `&Srv` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 70 - self.0.lock().unwrap().get(&k).unwrap().deref().clone() [INFO] [stdout] 70 + self.0.lock().unwrap().get(&k).unwrap().clone() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Srv`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | struct Srv { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | self.0.lock().unwrap().get(&k).unwrap().deref().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Srv` does not implement `Deref`, so calling `deref` on `&Srv` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 70 - self.0.lock().unwrap().get(&k).unwrap().deref().clone() [INFO] [stdout] 70 + self.0.lock().unwrap().get(&k).unwrap().clone() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Srv`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | struct Srv { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.39s [INFO] running `Command { std: "docker" "inspect" "ded7f0f20f6aad0a0e3318547c2f5033478edd95f942e38ca50abb06656c1152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ded7f0f20f6aad0a0e3318547c2f5033478edd95f942e38ca50abb06656c1152", kill_on_drop: false }` [INFO] [stdout] ded7f0f20f6aad0a0e3318547c2f5033478edd95f942e38ca50abb06656c1152