[INFO] cloning repository https://github.com/mgalliou/taskmaster [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mgalliou/taskmaster" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgalliou%2Ftaskmaster", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgalliou%2Ftaskmaster'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ad60891a018499bfa6f80c13af86c87f4717b2d [INFO] building mgalliou/taskmaster against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgalliou%2Ftaskmaster" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mgalliou/taskmaster on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mgalliou/taskmaster [INFO] finished tweaking git repo https://github.com/mgalliou/taskmaster [INFO] tweaked toml for git repo https://github.com/mgalliou/taskmaster written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mgalliou/taskmaster 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fd-lock v3.0.8 [INFO] [stderr] Downloaded rustyline v10.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d910b75db9dc7eb7dc50e4835275fefb4e0a990694f1961aaea01e6da0ca2f9b [INFO] running `Command { std: "docker" "start" "-a" "d910b75db9dc7eb7dc50e4835275fefb4e0a990694f1961aaea01e6da0ca2f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d910b75db9dc7eb7dc50e4835275fefb4e0a990694f1961aaea01e6da0ca2f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d910b75db9dc7eb7dc50e4835275fefb4e0a990694f1961aaea01e6da0ca2f9b", kill_on_drop: false }` [INFO] [stdout] d910b75db9dc7eb7dc50e4835275fefb4e0a990694f1961aaea01e6da0ca2f9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e57eaaccdd817328981110b42fee423cda09ff5d948b1e86c282e898449a331 [INFO] running `Command { std: "docker" "start" "-a" "6e57eaaccdd817328981110b42fee423cda09ff5d948b1e86c282e898449a331", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling io-lifetimes v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustix v0.36.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.1.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling nix v0.25.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling fd-lock v3.0.8 [INFO] [stderr] Compiling rustyline v10.0.0 [INFO] [stderr] Compiling taskmaster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ProcessList` and `status` [INFO] [stdout] --> src/daemon/start.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{ProcessInfo, ProcessList, ProcessStatus, status, Daemon}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/daemon/start.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cfg::{Config, ProgramConfig}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Child` and `ExitStatus` [INFO] [stdout] --> src/daemon/status.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::{Child, ExitStatus}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/daemon/reload.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | fn reload(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/daemon/reload.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn reload(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/daemon/restart.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | fn restart(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/daemon/restart.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | fn restart(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reload` is never used [INFO] [stdout] --> src/daemon/reload.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn reload(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restart` is never used [INFO] [stdout] --> src/daemon/restart.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn restart(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_time` is never used [INFO] [stdout] --> src/daemon/status.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn check_time(start: Instant, duration: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_exit_code` is never used [INFO] [stdout] --> src/daemon/status.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_exit_code(proc: &mut ProcessInfo) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_state` is never used [INFO] [stdout] --> src/daemon/status.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_next_state( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_state` is never used [INFO] [stdout] --> src/daemon/status.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn check_state(proc: &mut ProcessInfo) -> ProcessStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/taskmasterctl.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | send_message(line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = send_message(line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.64s [INFO] running `Command { std: "docker" "inspect" "6e57eaaccdd817328981110b42fee423cda09ff5d948b1e86c282e898449a331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e57eaaccdd817328981110b42fee423cda09ff5d948b1e86c282e898449a331", kill_on_drop: false }` [INFO] [stdout] 6e57eaaccdd817328981110b42fee423cda09ff5d948b1e86c282e898449a331 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05bed624e7e427fc5c667c78bfec9259786b93a075536e124bad6a166fdac828 [INFO] running `Command { std: "docker" "start" "-a" "05bed624e7e427fc5c667c78bfec9259786b93a075536e124bad6a166fdac828", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `ProcessList` and `status` [INFO] [stdout] --> src/daemon/start.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{ProcessInfo, ProcessList, ProcessStatus, status, Daemon}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/daemon/start.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cfg::{Config, ProgramConfig}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Child` and `ExitStatus` [INFO] [stdout] --> src/daemon/status.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::{Child, ExitStatus}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/daemon/reload.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | fn reload(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/daemon/reload.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn reload(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/daemon/restart.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | fn restart(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/daemon/restart.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | fn restart(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling taskmaster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `reload` is never used [INFO] [stdout] --> src/daemon/reload.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn reload(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restart` is never used [INFO] [stdout] --> src/daemon/restart.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn restart(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_time` is never used [INFO] [stdout] --> src/daemon/status.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn check_time(start: Instant, duration: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_exit_code` is never used [INFO] [stdout] --> src/daemon/status.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_exit_code(proc: &mut ProcessInfo) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_state` is never used [INFO] [stdout] --> src/daemon/status.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_next_state( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_state` is never used [INFO] [stdout] --> src/daemon/status.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn check_state(proc: &mut ProcessInfo) -> ProcessStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProcessList` and `status` [INFO] [stdout] --> src/daemon/start.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{ProcessInfo, ProcessList, ProcessStatus, status, Daemon}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/daemon/start.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cfg::{Config, ProgramConfig}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Child` and `ExitStatus` [INFO] [stdout] --> src/daemon/status.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::{Child, ExitStatus}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/taskmasterctl.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | send_message(line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = send_message(line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/daemon/reload.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | fn reload(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/daemon/reload.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn reload(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/daemon/restart.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | fn restart(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/daemon/restart.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | fn restart(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reload` is never used [INFO] [stdout] --> src/daemon/reload.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn reload(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restart` is never used [INFO] [stdout] --> src/daemon/restart.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn restart(command: Vec<&str>, conf: &Config) -> () {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_time` is never used [INFO] [stdout] --> src/daemon/status.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn check_time(start: Instant, duration: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_exit_code` is never used [INFO] [stdout] --> src/daemon/status.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_exit_code(proc: &mut ProcessInfo) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_state` is never used [INFO] [stdout] --> src/daemon/status.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_next_state( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_state` is never used [INFO] [stdout] --> src/daemon/status.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn check_state(proc: &mut ProcessInfo) -> ProcessStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "05bed624e7e427fc5c667c78bfec9259786b93a075536e124bad6a166fdac828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05bed624e7e427fc5c667c78bfec9259786b93a075536e124bad6a166fdac828", kill_on_drop: false }` [INFO] [stdout] 05bed624e7e427fc5c667c78bfec9259786b93a075536e124bad6a166fdac828