[INFO] fetching crate mycodee-project_manager 0.1.1... [INFO] testing mycodee-project_manager-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mycodee-project_manager 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate mycodee-project_manager 0.1.1 [INFO] finished tweaking crates.io crate mycodee-project_manager 0.1.1 [INFO] tweaked toml for crates.io crate mycodee-project_manager 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mycodee-project_manager 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mycodee-project_manager 0.1.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d001e0765a0609742fc34bce198fc2e89cd63c0a9ff551bbf50e9b34663c548 [INFO] running `Command { std: "docker" "start" "-a" "4d001e0765a0609742fc34bce198fc2e89cd63c0a9ff551bbf50e9b34663c548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d001e0765a0609742fc34bce198fc2e89cd63c0a9ff551bbf50e9b34663c548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d001e0765a0609742fc34bce198fc2e89cd63c0a9ff551bbf50e9b34663c548", kill_on_drop: false }` [INFO] [stdout] 4d001e0765a0609742fc34bce198fc2e89cd63c0a9ff551bbf50e9b34663c548 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 412f765cc4a35a7bcc5fed7bc5f9ca97a9c966ac53b45fdc6af8567202647d99 [INFO] running `Command { std: "docker" "start" "-a" "412f765cc4a35a7bcc5fed7bc5f9ca97a9c966ac53b45fdc6af8567202647d99", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling mycodee-project_manager v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/configuration.rs:33:68 [INFO] [stdout] | [INFO] [stdout] 33 | eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` 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] 33 - eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stdout] 33 + eprintln!("Error: {:?}", config.expect_err("").as_ref()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/configuration.rs:44:68 [INFO] [stdout] | [INFO] [stdout] 44 | eprintln!("Error: {:?}", binary.expect_err("").as_ref().clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 44 - eprintln!("Error: {:?}", binary.expect_err("").as_ref().clone()); [INFO] [stdout] 44 + eprintln!("Error: {:?}", binary.expect_err("").as_ref()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/configuration.rs:75:68 [INFO] [stdout] | [INFO] [stdout] 75 | eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 75 - eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stdout] 75 + eprintln!("Error: {:?}", config.expect_err("").as_ref()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/configuration.rs:88:66 [INFO] [stdout] | [INFO] [stdout] 88 | binary.expect_err("Failed to get error").as_ref().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 88 - binary.expect_err("Failed to get error").as_ref().clone() [INFO] [stdout] 88 + binary.expect_err("Failed to get error").as_ref() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.65s [INFO] running `Command { std: "docker" "inspect" "412f765cc4a35a7bcc5fed7bc5f9ca97a9c966ac53b45fdc6af8567202647d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "412f765cc4a35a7bcc5fed7bc5f9ca97a9c966ac53b45fdc6af8567202647d99", kill_on_drop: false }` [INFO] [stdout] 412f765cc4a35a7bcc5fed7bc5f9ca97a9c966ac53b45fdc6af8567202647d99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79f767bcd09bdf9dd6dd327d2fac173137b09e0614921bb779ac021e2702d768 [INFO] running `Command { std: "docker" "start" "-a" "79f767bcd09bdf9dd6dd327d2fac173137b09e0614921bb779ac021e2702d768", kill_on_drop: false }` [INFO] [stderr] Compiling mycodee-project_manager v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/configuration.rs:33:68 [INFO] [stdout] | [INFO] [stdout] 33 | eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` 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] 33 - eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stdout] 33 + eprintln!("Error: {:?}", config.expect_err("").as_ref()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/configuration.rs:44:68 [INFO] [stdout] | [INFO] [stdout] 44 | eprintln!("Error: {:?}", binary.expect_err("").as_ref().clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 44 - eprintln!("Error: {:?}", binary.expect_err("").as_ref().clone()); [INFO] [stdout] 44 + eprintln!("Error: {:?}", binary.expect_err("").as_ref()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/configuration.rs:75:68 [INFO] [stdout] | [INFO] [stdout] 75 | eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 75 - eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stdout] 75 + eprintln!("Error: {:?}", config.expect_err("").as_ref()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/configuration.rs:88:66 [INFO] [stdout] | [INFO] [stdout] 88 | binary.expect_err("Failed to get error").as_ref().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 88 - binary.expect_err("Failed to get error").as_ref().clone() [INFO] [stdout] 88 + binary.expect_err("Failed to get error").as_ref() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "79f767bcd09bdf9dd6dd327d2fac173137b09e0614921bb779ac021e2702d768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f767bcd09bdf9dd6dd327d2fac173137b09e0614921bb779ac021e2702d768", kill_on_drop: false }` [INFO] [stdout] 79f767bcd09bdf9dd6dd327d2fac173137b09e0614921bb779ac021e2702d768 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d1008967df92fce251f32034ce6d8d9dec793747cf5874520cb25c3c11b497a4 [INFO] running `Command { std: "docker" "start" "-a" "d1008967df92fce251f32034ce6d8d9dec793747cf5874520cb25c3c11b497a4", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/configuration.rs:33:68 [INFO] [stderr] | [INFO] [stderr] 33 | eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 33 - eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stderr] 33 + eprintln!("Error: {:?}", config.expect_err("").as_ref()); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 + #[derive(Clone)] [INFO] [stderr] 17 | pub enum ErrorKind { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/configuration.rs:44:68 [INFO] [stderr] | [INFO] [stderr] 44 | eprintln!("Error: {:?}", binary.expect_err("").as_ref().clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 44 - eprintln!("Error: {:?}", binary.expect_err("").as_ref().clone()); [INFO] [stderr] 44 + eprintln!("Error: {:?}", binary.expect_err("").as_ref()); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 + #[derive(Clone)] [INFO] [stderr] 17 | pub enum ErrorKind { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/configuration.rs:75:68 [INFO] [stderr] | [INFO] [stderr] 75 | eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 75 - eprintln!("Error: {:?}", config.expect_err("").as_ref().clone()); [INFO] [stderr] 75 + eprintln!("Error: {:?}", config.expect_err("").as_ref()); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 + #[derive(Clone)] [INFO] [stderr] 17 | pub enum ErrorKind { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/configuration.rs:88:66 [INFO] [stderr] | [INFO] [stderr] 88 | binary.expect_err("Failed to get error").as_ref().clone() [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `bincode::ErrorKind` does not implement `Clone`, so calling `clone` on `&bincode::ErrorKind` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 88 - binary.expect_err("Failed to get error").as_ref().clone() [INFO] [stderr] 88 + binary.expect_err("Failed to get error").as_ref() [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `bincode::ErrorKind`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/error.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 + #[derive(Clone)] [INFO] [stderr] 17 | pub enum ErrorKind { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `mycodee-project_manager` (bin "project_manager" test) generated 4 warnings (run `cargo fix --bin "project_manager" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/runtime_argument_parser-25fdcd6b5fea0adc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/project_manager-072823c25e1d2f03) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests runtime_argument_parser [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d1008967df92fce251f32034ce6d8d9dec793747cf5874520cb25c3c11b497a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1008967df92fce251f32034ce6d8d9dec793747cf5874520cb25c3c11b497a4", kill_on_drop: false }` [INFO] [stdout] d1008967df92fce251f32034ce6d8d9dec793747cf5874520cb25c3c11b497a4