[INFO] cloning repository https://github.com/gx1727/mi7soft-daemon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gx1727/mi7soft-daemon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgx1727%2Fmi7soft-daemon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgx1727%2Fmi7soft-daemon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 990fea0f2de8b96def98675733be73b8c434f66a
[INFO] testing gx1727/mi7soft-daemon against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgx1727%2Fmi7soft-daemon" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gx1727/mi7soft-daemon
[INFO] finished tweaking git repo https://github.com/gx1727/mi7soft-daemon
[INFO] tweaked toml for git repo https://github.com/gx1727/mi7soft-daemon written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gx1727/mi7soft-daemon on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gx1727/mi7soft-daemon 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca
[INFO] running `Command { std: "docker" "start" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.40
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling clap_lex v1.0.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling clap_builder v4.5.58
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling syn v2.0.115
[INFO] [stderr]    Compiling winnow v0.6.26
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling daemonize v0.5.0
[INFO] [stderr]    Compiling cron v0.15.0
[INFO] [stderr]    Compiling sysinfo v0.30.13
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling clap v4.5.58
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling tracing-appender v0.2.4
[INFO] [stderr]    Compiling signal-hook-tokio v0.3.1
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling rusqlite v0.31.0
[INFO] [stderr]    Compiling mi7soft-daemon v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `monitor_single` and `trigger_shutdown` are never used
[INFO] [stdout]    --> src/daemon.rs:201:14
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl Daemon {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 201 |     async fn monitor_single(&mut self, name: &str) -> Result<(), DaemonError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 332 |     pub fn trigger_shutdown(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RestartFailed`, `Signal`, and `ProcessNotFound` are never constructed
[INFO] [stdout]   --> src/error.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum DaemonError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     RestartFailed { name: String, reason: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     Signal(String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     ProcessNotFound,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DaemonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_pid` is never used
[INFO] [stdout]   --> src/pidfile.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl PidFile {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn write_pid(&mut self) -> Result<(), DaemonError> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Schedule` is never constructed
[INFO] [stdout]   --> src/process.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Schedule {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `name`, `restart_count`, and `auto_restart` are never read
[INFO] [stdout]   --> src/storage.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ProcessHistory {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 14 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 15 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub restart_count: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     pub auto_restart: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProcessHistory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProcessStats` is never constructed
[INFO] [stdout]   --> src/storage.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ProcessStats {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record_restart`, `update_uptime`, `get_stats`, `get_all_stats`, and `cleanup_old_records` are never used
[INFO] [stdout]    --> src/storage.rs:165:12
[INFO] [stdout]     |
[INFO] [stdout]  41 | impl Storage {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn record_restart(&self, name: &str) -> SqliteResult<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn update_uptime(&self, name: &str, uptime_seconds: i64) -> SqliteResult<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn get_stats(&self, name: &str) -> SqliteResult<Option<ProcessStats>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn get_all_stats(&self) -> SqliteResult<Vec<ProcessStats>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub fn cleanup_old_records(&self, days_to_keep: u32) -> SqliteResult<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling rusqlite v0.31.0
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling tempfile v3.25.0
[INFO] [stderr]    Compiling mi7soft-daemon v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `tempfile::NamedTempFile`
[INFO] [stdout]    --> src/pidfile.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |     use tempfile::NamedTempFile;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `receiver`
[INFO] [stdout]    --> src/process_output.rs:274:23
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let (capture, receiver) = OutputCapture::new(
[INFO] [stdout]     |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `monitor_single` and `trigger_shutdown` are never used
[INFO] [stdout]    --> src/daemon.rs:201:14
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl Daemon {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 201 |     async fn monitor_single(&mut self, name: &str) -> Result<(), DaemonError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 332 |     pub fn trigger_shutdown(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_pid` is never used
[INFO] [stdout]   --> src/pidfile.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl PidFile {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn write_pid(&mut self) -> Result<(), DaemonError> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Schedule` is never constructed
[INFO] [stdout]   --> src/process.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Schedule {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `restart_count`, and `auto_restart` are never read
[INFO] [stdout]   --> src/storage.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ProcessHistory {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 14 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub restart_count: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     pub auto_restart: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProcessHistory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `total_restarts`, `avg_uptime_seconds`, `last_start_time`, and `last_exit_code` are never read
[INFO] [stdout]   --> src/storage.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ProcessStats {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 27 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 28 |     pub total_starts: u32,
[INFO] [stdout] 29 |     pub total_restarts: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     pub total_failures: u32,
[INFO] [stdout] 31 |     pub avg_uptime_seconds: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     pub last_start_time: Option<DateTime<Utc>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     pub last_exit_code: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProcessStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record_restart`, `update_uptime`, `get_all_stats`, and `cleanup_old_records` are never used
[INFO] [stdout]    --> src/storage.rs:165:12
[INFO] [stdout]     |
[INFO] [stdout]  41 | impl Storage {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn record_restart(&self, name: &str) -> SqliteResult<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn update_uptime(&self, name: &str, uptime_seconds: i64) -> SqliteResult<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn get_all_stats(&self) -> SqliteResult<Vec<ProcessStats>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub fn cleanup_old_records(&self, days_to_keep: u32) -> SqliteResult<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.02s
[INFO] running `Command { std: "docker" "inspect" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `tempfile::NamedTempFile`
[INFO] [stderr]    --> src/pidfile.rs:200:9
[INFO] [stderr]     |
[INFO] [stderr] 200 |     use tempfile::NamedTempFile;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `receiver`
[INFO] [stderr]    --> src/process_output.rs:274:23
[INFO] [stderr]     |
[INFO] [stderr] 274 |         let (capture, receiver) = OutputCapture::new(
[INFO] [stderr]     |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `monitor_single` and `trigger_shutdown` are never used
[INFO] [stderr]    --> src/daemon.rs:201:14
[INFO] [stderr]     |
[INFO] [stderr]  25 | impl Daemon {
[INFO] [stderr]     | ----------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 201 |     async fn monitor_single(&mut self, name: &str) -> Result<(), DaemonError> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 332 |     pub fn trigger_shutdown(&self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_pid` is never used
[INFO] [stderr]   --> src/pidfile.rs:74:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl PidFile {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 74 |     fn write_pid(&mut self) -> Result<(), DaemonError> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Schedule` is never constructed
[INFO] [stderr]   --> src/process.rs:41:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub struct Schedule {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id`, `restart_count`, and `auto_restart` are never read
[INFO] [stderr]   --> src/storage.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct ProcessHistory {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr] 14 |     pub id: i64,
[INFO] [stderr]    |         ^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub restart_count: u32,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr] 21 |     pub auto_restart: bool,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ProcessHistory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name`, `total_restarts`, `avg_uptime_seconds`, `last_start_time`, and `last_exit_code` are never read
[INFO] [stderr]   --> src/storage.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub struct ProcessStats {
[INFO] [stderr]    |            ------------ fields in this struct
[INFO] [stderr] 27 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 28 |     pub total_starts: u32,
[INFO] [stderr] 29 |     pub total_restarts: u32,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 30 |     pub total_failures: u32,
[INFO] [stderr] 31 |     pub avg_uptime_seconds: f64,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 32 |     pub last_start_time: Option<DateTime<Utc>>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 33 |     pub last_exit_code: Option<i32>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ProcessStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `record_restart`, `update_uptime`, `get_all_stats`, and `cleanup_old_records` are never used
[INFO] [stderr]    --> src/storage.rs:165:12
[INFO] [stderr]     |
[INFO] [stderr]  41 | impl Storage {
[INFO] [stderr]     | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 165 |     pub fn record_restart(&self, name: &str) -> SqliteResult<()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 178 |     pub fn update_uptime(&self, name: &str, uptime_seconds: i64) -> SqliteResult<()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 253 |     pub fn get_all_stats(&self) -> SqliteResult<Vec<ProcessStats>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 286 |     pub fn cleanup_old_records(&self, days_to_keep: u32) -> SqliteResult<usize> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mi7soft-daemon` (bin "m7d" test) generated 8 warnings (run `cargo fix --bin "m7d" -p mi7soft-daemon --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/m7d-0fd5766db9a0c5ed)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test config::tests::test_empty_processes ... ok
[INFO] [stdout] test config::tests::test_duplicate_process_names ... ok
[INFO] [stdout] test error::tests::test_error_exit_codes ... ok
[INFO] [stdout] test config::tests::test_invalid_toml ... ok
[INFO] [stdout] test pidfile::tests::test_pidfile_creation ... ok
[INFO] [stdout] test pidfile::tests::test_pidfile_duplicate ... ok
[INFO] [stdout] test pidfile::tests::test_pidfile_release ... ok
[INFO] [stdout] test process::tests::test_process_entry ... ok
[INFO] [stdout] test process::tests::test_process_manager ... ok
[INFO] [stdout] test process_output::tests::test_output_capture ... ok
[INFO] [stdout] test config::tests::test_load_config ... ok
[INFO] [stdout] test storage::tests::test_storage_basic ... ok
[INFO] [stdout] test storage::tests::test_stats ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca", kill_on_drop: false }`
[INFO] [stdout] fdb2f417c1118f998c4a4c1412b5b06de1ccc9d82d5d9e053f659bca86a526ca
