[INFO] cloning repository https://github.com/KillingSpark/rustysd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KillingSpark/rustysd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillingSpark%2Frustysd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillingSpark%2Frustysd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aeb4140bbcae3cba54c87d773d3993e1a5b1eff4 [INFO] checking KillingSpark/rustysd/aeb4140bbcae3cba54c87d773d3993e1a5b1eff4 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillingSpark%2Frustysd" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KillingSpark/rustysd on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KillingSpark/rustysd [INFO] finished tweaking git repo https://github.com/KillingSpark/rustysd [INFO] tweaked toml for git repo https://github.com/KillingSpark/rustysd written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 89 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding memoffset v0.7.1 (latest: v0.9.1) [INFO] [stderr] Adding nix v0.26.4 (latest: v0.29.0) [INFO] [stderr] Adding toml v0.7.8 (latest: v0.8.19) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shmemfdrs v0.1.4 [INFO] [stderr] Downloaded libdbus-sys v0.2.5 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4afc3654283c3ffc8ad398fea78973eae107980e661ba98ff389d9eab2629d12 [INFO] running `Command { std: "docker" "start" "-a" "4afc3654283c3ffc8ad398fea78973eae107980e661ba98ff389d9eab2629d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4afc3654283c3ffc8ad398fea78973eae107980e661ba98ff389d9eab2629d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4afc3654283c3ffc8ad398fea78973eae107980e661ba98ff389d9eab2629d12", kill_on_drop: false }` [INFO] [stdout] 4afc3654283c3ffc8ad398fea78973eae107980e661ba98ff389d9eab2629d12 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7029e202634011f532f0e4cd74a13ec1141c7d86f249545197da538e12ba33d [INFO] running `Command { std: "docker" "start" "-a" "a7029e202634011f532f0e4cd74a13ec1141c7d86f249545197da538e12ba33d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking shmemfdrs v0.1.4 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking rustysd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/service_exit_handler.rs:153:81 [INFO] [stdout] | [INFO] [stdout] 153 | let res = crate::units::deactivate_unit_recursive(&srvc_id, run_info.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` 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] 153 - let res = crate::units::deactivate_unit_recursive(&srvc_id, run_info.clone()); [INFO] [stdout] 153 + let res = crate::units::deactivate_unit_recursive(&srvc_id, run_info); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:187:63 [INFO] [stdout] | [INFO] [stdout] 187 | self.run_prestart(conf, id.clone(), name, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 187 - self.run_prestart(conf, id.clone(), name, run_info.clone()) [INFO] [stdout] 187 + self.run_prestart(conf, id.clone(), name, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:189:77 [INFO] [stdout] | [INFO] [stdout] 189 | match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 189 - match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] 189 + match self.run_poststop(conf, id.clone(), name, run_info) { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | name.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:216:85 [INFO] [stdout] | [INFO] [stdout] 216 | |start_err| match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 216 - |start_err| match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] 216 + |start_err| match self.run_poststop(conf, id.clone(), name, run_info) { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:223:64 [INFO] [stdout] | [INFO] [stdout] 223 | self.run_poststart(conf, id.clone(), name, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 223 - self.run_poststart(conf, id.clone(), name, run_info.clone()) [INFO] [stdout] 223 + self.run_poststart(conf, id.clone(), name, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:225:77 [INFO] [stdout] | [INFO] [stdout] 225 | match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 225 - match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] 225 + match self.run_poststop(conf, id.clone(), name, run_info) { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:270:51 [INFO] [stdout] | [INFO] [stdout] 270 | self.run_stop_cmd(conf, id, name, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 270 - self.run_stop_cmd(conf, id, name, run_info.clone()) [INFO] [stdout] 270 + self.run_stop_cmd(conf, id, name, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:472:66 [INFO] [stdout] | [INFO] [stdout] 472 | self.run_cmd(cmd, id.clone(), name, timeout, run_info.clone())?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 472 - self.run_cmd(cmd, id.clone(), name, timeout, run_info.clone())?; [INFO] [stdout] 472 + self.run_cmd(cmd, id.clone(), name, timeout, run_info)?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:489:61 [INFO] [stdout] | [INFO] [stdout] 489 | self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 489 - self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] 489 + self.run_all_cmds(&cmds, id, name, timeout, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:503:61 [INFO] [stdout] | [INFO] [stdout] 503 | self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 503 - self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] 503 + self.run_all_cmds(&cmds, id, name, timeout, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:517:61 [INFO] [stdout] | [INFO] [stdout] 517 | self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 517 - self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] 517 + self.run_all_cmds(&cmds, id, name, timeout, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:529:71 [INFO] [stdout] | [INFO] [stdout] 529 | let res = self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 529 - let res = self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()); [INFO] [stdout] 529 + let res = self.run_all_cmds(&cmds, id, name, timeout, run_info); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/socket_activation.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | / ... format!( [INFO] [stdout] 77 | | ... "Error while starting service from socket activation: {}", [INFO] [stdout] 78 | | ... e [INFO] [stdout] 79 | | ... ); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/units/unitset_manipulation/activate.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | unit.activate(run_info.clone(), source) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 168 - unit.activate(run_info.clone(), source) [INFO] [stdout] 168 + unit.activate(run_info, source) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/units/unitset_manipulation/deactivate.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | deactivate_unit(id_to_kill, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 27 - deactivate_unit(id_to_kill, run_info.clone()) [INFO] [stdout] 27 + deactivate_unit(id_to_kill, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/units/unitset_manipulation/deactivate.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | unit.deactivate(run_info.clone())?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 48 - unit.deactivate(run_info.clone())?; [INFO] [stdout] 48 + unit.deactivate(run_info)?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/units/unitset_manipulation/deactivate.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | deactivate_unit(id, run_info.clone())?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 68 - deactivate_unit(id, run_info.clone())?; [INFO] [stdout] 68 + deactivate_unit(id, run_info)?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/service_exit_handler.rs:153:81 [INFO] [stdout] | [INFO] [stdout] 153 | let res = crate::units::deactivate_unit_recursive(&srvc_id, run_info.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` 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] 153 - let res = crate::units::deactivate_unit_recursive(&srvc_id, run_info.clone()); [INFO] [stdout] 153 + let res = crate::units::deactivate_unit_recursive(&srvc_id, run_info); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:187:63 [INFO] [stdout] | [INFO] [stdout] 187 | self.run_prestart(conf, id.clone(), name, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 187 - self.run_prestart(conf, id.clone(), name, run_info.clone()) [INFO] [stdout] 187 + self.run_prestart(conf, id.clone(), name, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:189:77 [INFO] [stdout] | [INFO] [stdout] 189 | match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 189 - match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] 189 + match self.run_poststop(conf, id.clone(), name, run_info) { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | name.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:216:85 [INFO] [stdout] | [INFO] [stdout] 216 | |start_err| match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 216 - |start_err| match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] 216 + |start_err| match self.run_poststop(conf, id.clone(), name, run_info) { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:223:64 [INFO] [stdout] | [INFO] [stdout] 223 | self.run_poststart(conf, id.clone(), name, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 223 - self.run_poststart(conf, id.clone(), name, run_info.clone()) [INFO] [stdout] 223 + self.run_poststart(conf, id.clone(), name, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:225:77 [INFO] [stdout] | [INFO] [stdout] 225 | match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 225 - match self.run_poststop(conf, id.clone(), name, run_info.clone()) { [INFO] [stdout] 225 + match self.run_poststop(conf, id.clone(), name, run_info) { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:270:51 [INFO] [stdout] | [INFO] [stdout] 270 | self.run_stop_cmd(conf, id, name, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 270 - self.run_stop_cmd(conf, id, name, run_info.clone()) [INFO] [stdout] 270 + self.run_stop_cmd(conf, id, name, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:472:66 [INFO] [stdout] | [INFO] [stdout] 472 | self.run_cmd(cmd, id.clone(), name, timeout, run_info.clone())?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 472 - self.run_cmd(cmd, id.clone(), name, timeout, run_info.clone())?; [INFO] [stdout] 472 + self.run_cmd(cmd, id.clone(), name, timeout, run_info)?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:489:61 [INFO] [stdout] | [INFO] [stdout] 489 | self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 489 - self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] 489 + self.run_all_cmds(&cmds, id, name, timeout, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:503:61 [INFO] [stdout] | [INFO] [stdout] 503 | self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 503 - self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] 503 + self.run_all_cmds(&cmds, id, name, timeout, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:517:61 [INFO] [stdout] | [INFO] [stdout] 517 | self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 517 - self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()) [INFO] [stdout] 517 + self.run_all_cmds(&cmds, id, name, timeout, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/services.rs:529:71 [INFO] [stdout] | [INFO] [stdout] 529 | let res = self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 529 - let res = self.run_all_cmds(&cmds, id, name, timeout, run_info.clone()); [INFO] [stdout] 529 + let res = self.run_all_cmds(&cmds, id, name, timeout, run_info); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/socket_activation.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | / ... format!( [INFO] [stdout] 77 | | ... "Error while starting service from socket activation: {}", [INFO] [stdout] 78 | | ... e [INFO] [stdout] 79 | | ... ); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/units/unitset_manipulation/activate.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | unit.activate(run_info.clone(), source) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 168 - unit.activate(run_info.clone(), source) [INFO] [stdout] 168 + unit.activate(run_info, source) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/units/unitset_manipulation/deactivate.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | deactivate_unit(id_to_kill, run_info.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 27 - deactivate_unit(id_to_kill, run_info.clone()) [INFO] [stdout] 27 + deactivate_unit(id_to_kill, run_info) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/units/unitset_manipulation/deactivate.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | unit.deactivate(run_info.clone())?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 48 - unit.deactivate(run_info.clone())?; [INFO] [stdout] 48 + unit.deactivate(run_info)?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/units/unitset_manipulation/deactivate.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | deactivate_unit(id, run_info.clone())?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `runtime_info::RuntimeInfo` does not implement `Clone`, so calling `clone` on `&runtime_info::RuntimeInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 68 - deactivate_unit(id, run_info.clone())?; [INFO] [stdout] 68 + deactivate_unit(id, run_info)?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `runtime_info::RuntimeInfo`, implement `Clone` for it [INFO] [stdout] --> src/runtime_info.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct RuntimeInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.47s [INFO] running `Command { std: "docker" "inspect" "a7029e202634011f532f0e4cd74a13ec1141c7d86f249545197da538e12ba33d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7029e202634011f532f0e4cd74a13ec1141c7d86f249545197da538e12ba33d", kill_on_drop: false }` [INFO] [stdout] a7029e202634011f532f0e4cd74a13ec1141c7d86f249545197da538e12ba33d