[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 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillingSpark%2Frustysd" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KillingSpark/rustysd on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding memoffset v0.7.1 (latest: v0.9.1) [INFO] [stderr] Adding nix v0.26.4 (latest: v0.28.0) [INFO] [stderr] Adding toml v0.7.8 (latest: v0.8.12) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.9) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded heck v0.5.0 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded shmemfdrs v0.1.4 [INFO] [stderr] Downloaded anstyle v1.0.6 [INFO] [stderr] Downloaded clap_lex v0.7.0 [INFO] [stderr] Downloaded anstream v0.6.13 [INFO] [stderr] Downloaded strsim v0.11.1 [INFO] [stderr] Downloaded dbus v0.9.7 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded fern v0.6.2 [INFO] [stderr] Downloaded libdbus-sys v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a32cd99eeb635f5d47ce211071205ffbc665bdc674e87436d2bba4f362fdf80 [INFO] running `Command { std: "docker" "start" "-a" "0a32cd99eeb635f5d47ce211071205ffbc665bdc674e87436d2bba4f362fdf80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a32cd99eeb635f5d47ce211071205ffbc665bdc674e87436d2bba4f362fdf80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a32cd99eeb635f5d47ce211071205ffbc665bdc674e87436d2bba4f362fdf80", kill_on_drop: false }` [INFO] [stdout] 0a32cd99eeb635f5d47ce211071205ffbc665bdc674e87436d2bba4f362fdf80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 724af8541f3fa692690288a3578ec9620f69d8c94a5c418016566e493070b1f5 [INFO] running `Command { std: "docker" "start" "-a" "724af8541f3fa692690288a3578ec9620f69d8c94a5c418016566e493070b1f5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking shmemfdrs v0.1.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [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: the item `toml` is imported redundantly [INFO] [stdout] --> src/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use toml; [INFO] [stdout] | ^^^^ the item `toml` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ServiceConfig` is imported redundantly [INFO] [stdout] --> src/services/fork_parent.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::units::ServiceConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::units::*; [INFO] [stdout] | --------------- the item `ServiceConfig` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml` is imported redundantly [INFO] [stdout] --> src/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use toml; [INFO] [stdout] | ^^^^ the item `toml` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ServiceConfig` is imported redundantly [INFO] [stdout] --> src/services/fork_parent.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::units::ServiceConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::units::*; [INFO] [stdout] | --------------- the item `ServiceConfig` is already imported here [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: 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: 19 warnings emitted [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: 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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.16s [INFO] running `Command { std: "docker" "inspect" "724af8541f3fa692690288a3578ec9620f69d8c94a5c418016566e493070b1f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "724af8541f3fa692690288a3578ec9620f69d8c94a5c418016566e493070b1f5", kill_on_drop: false }` [INFO] [stdout] 724af8541f3fa692690288a3578ec9620f69d8c94a5c418016566e493070b1f5