[INFO] cloning repository https://github.com/lihongjie0209/fs-watcher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lihongjie0209/fs-watcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flihongjie0209%2Ffs-watcher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flihongjie0209%2Ffs-watcher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f02cbea651f5853ad23096d0bf813cf93ef48dff
[INFO] checking lihongjie0209/fs-watcher/f02cbea651f5853ad23096d0bf813cf93ef48dff against 3d50c25bc66853bf0ad205529d0f305a1d841b5e for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flihongjie0209%2Ffs-watcher" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lihongjie0209/fs-watcher
[INFO] finished tweaking git repo https://github.com/lihongjie0209/fs-watcher
[INFO] tweaked toml for git repo https://github.com/lihongjie0209/fs-watcher written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lihongjie0209/fs-watcher on toolchain 3d50c25bc66853bf0ad205529d0f305a1d841b5e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lihongjie0209/fs-watcher 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" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wiremock v0.5.22
[INFO] [stderr]   Downloaded icu_normalizer v2.0.1
[INFO] [stderr]   Downloaded icu_properties v2.0.2
[INFO] [stderr]   Downloaded notify-debouncer-full v0.3.2
[INFO] [stderr]   Downloaded syn v2.0.109
[INFO] [stderr]   Downloaded assert_cmd v2.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6f47272d16dcd52fbf6d5533813ea8b32dd20d009316b45fb2665fe87d9bbeda
[INFO] running `Command { std: "docker" "start" "6f47272d16dcd52fbf6d5533813ea8b32dd20d009316b45fb2665fe87d9bbeda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f47272d16dcd52fbf6d5533813ea8b32dd20d009316b45fb2665fe87d9bbeda", 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" "6f47272d16dcd52fbf6d5533813ea8b32dd20d009316b45fb2665fe87d9bbeda" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f47272d16dcd52fbf6d5533813ea8b32dd20d009316b45fb2665fe87d9bbeda", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6f47272d16dcd52fbf6d5533813ea8b32dd20d009316b45fb2665fe87d9bbeda" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling syn v2.0.109
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking litemap v0.8.1
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking filetime v0.2.26
[INFO] [stderr]    Compiling http-types v2.12.0
[INFO] [stderr]     Checking waker-fn v1.2.0
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking notify v6.1.1
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking float-cmp v0.10.0
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling assert_cmd v2.1.1
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking retain_mut v0.1.9
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking deadpool-runtime v0.1.4
[INFO] [stderr]     Checking infer v0.2.3
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking notify-debouncer-full v0.3.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking hostname v0.4.1
[INFO] [stderr]     Checking yansi v1.0.1
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking pretty_assertions v1.4.1
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking predicates v3.1.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking clap v4.5.51
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_qs v0.8.5
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking icu_properties v2.0.2
[INFO] [stderr]     Checking icu_normalizer v2.0.1
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking deadpool v0.9.5
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking wiremock v0.5.22
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking fs-watcher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `WatcherError`
[INFO] [stdout]  --> src/config/mod.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::error::{Result, WatcherError};
[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 import: `WatcherError`
[INFO] [stdout]  --> src/config/mod.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::error::{Result, WatcherError};
[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 import: `crate::config::*`
[INFO] [stdout]    --> src/config/validator.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use crate::config::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/handler/variables.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `retry::RetryExecutor`
[INFO] [stdout]   --> src/handler/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use retry::RetryExecutor;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::sleep`
[INFO] [stdout]  --> src/watcher/debounce.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::time::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/handler/variables.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `retry::RetryExecutor`
[INFO] [stdout]   --> src/handler/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use retry::RetryExecutor;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::sleep`
[INFO] [stdout]  --> src/watcher/debounce.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::time::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debounce::DebouncedWatcher`
[INFO] [stdout]  --> src/watcher/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use debounce::DebouncedWatcher;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RecursiveMode`
[INFO] [stdout]   --> src/watcher/mod.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | use notify::{Event, RecursiveMode, Watcher as NotifyWatcher};
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/watcher/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debounce::DebouncedWatcher`
[INFO] [stdout]  --> src/watcher/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use debounce::DebouncedWatcher;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RecursiveMode`
[INFO] [stdout]   --> src/watcher/mod.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | use notify::{Event, RecursiveMode, Watcher as NotifyWatcher};
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/watcher/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Watcher`
[INFO] [stdout]   --> src/watcher/mod.rs:11:36
[INFO] [stdout]    |
[INFO] [stdout] 11 | use notify::{Event, RecursiveMode, Watcher as NotifyWatcher};
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retry`
[INFO] [stdout]   --> src/handler/command.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         retry: Option<&RetryConfig>,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_retry`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `on_error`
[INFO] [stdout]    --> src/handler/mod.rs:126:51
[INFO] [stdout]     |
[INFO] [stdout] 126 |             Command { command, timeout_ms, retry, on_error } => {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: try ignoring the field: `on_error: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `on_error`
[INFO] [stdout]    --> src/handler/mod.rs:129:67
[INFO] [stdout]     |
[INFO] [stdout] 129 |             Http { method, url, headers, body, timeout_ms, retry, on_error } => {
[INFO] [stdout]     |                                                                   ^^^^^^^^ help: try ignoring the field: `on_error: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/watcher/mod.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub async fn start(&self, tx: mpsc::Sender<FileEvent>) -> Result<()> {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_debounce_ms` is never used
[INFO] [stdout]    --> src/config/mod.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 212 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn get_debounce_ms(&self, watcher: &WatcherConfig) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/config/loader.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ConfigLoader {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn from_str(content: &str) -> Result<Config> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Watch`, `Handler`, and `General` are never constructed
[INFO] [stdout]   --> src/error.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum WatcherError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |     Watch(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     Handler(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     General(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WatcherError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `watch`, `handler`, and `general` are never used
[INFO] [stdout]   --> src/error.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl WatcherError {
[INFO] [stdout]    | ----------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn watch(msg: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn handler(msg: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn general(msg: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ActionContext` is never constructed
[INFO] [stdout]   --> src/handler/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ActionContext {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Handler` is never constructed
[INFO] [stdout]   --> src/handler/mod.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Handler {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/handler/mod.rs:34:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Handler {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  33 |     /// Create a new handler
[INFO] [stdout]  34 |     pub fn new(config: HandlerConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  54 |     pub fn should_handle(&self, event: &FileEvent) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub async fn execute(&self, context: &ActionContext) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     async fn execute_sequential(&self, context: &ActionContext) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     async fn execute_parallel(&self, context: &ActionContext) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     async fn execute_action(&self, action: &ActionConfig, context: &ActionContext) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     async fn execute_action_static(action: &ActionConfig, context: &ActionContext) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandHandler` is never constructed
[INFO] [stdout]  --> src/handler/command.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct CommandHandler;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `execute` and `execute_once` are never used
[INFO] [stdout]   --> src/handler/command.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl CommandHandler {
[INFO] [stdout]    | ------------------- associated functions in this implementation
[INFO] [stdout] 12 |     /// Execute a command
[INFO] [stdout] 13 |     pub async fn execute(
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     async fn execute_once(command: &str, timeout_ms: Option<u64>) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHandler` is never constructed
[INFO] [stdout]  --> src/handler/http.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct HttpHandler;
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `execute` and `calculate_retry_delay` are never used
[INFO] [stdout]    --> src/handler/http.rs:13:18
[INFO] [stdout]     |
[INFO] [stdout]  11 | impl HttpHandler {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout]  12 |     /// Execute an HTTP request
[INFO] [stdout]  13 |     pub async fn execute(
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     fn calculate_retry_delay(retry: Option<&RetryConfig>, attempt: u32) -> Duration {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RetryExecutor` is never constructed
[INFO] [stdout]  --> src/handler/retry.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct RetryExecutor;
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `execute` is never used
[INFO] [stdout]   --> src/handler/retry.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl RetryExecutor {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 10 |     /// Execute a function with retry logic
[INFO] [stdout] 11 |     pub async fn execute<F, Fut, T>(
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VariableResolver` is never constructed
[INFO] [stdout]   --> src/handler/variables.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct VariableResolver<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/handler/variables.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl<'a> VariableResolver<'a> {
[INFO] [stdout]     | ----------------------------- associated items in this implementation
[INFO] [stdout]  17 |     pub fn new(context: &'a ActionContext) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  25 |     pub fn get_or_compute(&mut self, var_name: &str) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  36 |     fn compute_variable(&self, var_name: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     fn get_parent_dir_name(&self, path: &Path, level: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     fn get_root_name(&self, path: &Path) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn read_file_content(&self, path: &Path, encoding: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     fn read_file_content_base64(&self, path: &Path) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn get_file_size(&self, path: &Path) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 |     fn compute_file_hash(&self, path: &Path, algorithm: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     fn get_hostname(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     fn get_username(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `substitute_variables` is never used
[INFO] [stdout]    --> src/handler/variables.rs:250:8
[INFO] [stdout]     |
[INFO] [stdout] 250 | pub fn substitute_variables(input: &str, context: &ActionContext) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileEvent` is never constructed
[INFO] [stdout]   --> src/watcher/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct FileEvent {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Watcher` is never constructed
[INFO] [stdout]   --> src/watcher/mod.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Watcher {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start`, and `convert_event` are never used
[INFO] [stdout]   --> src/watcher/mod.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Watcher {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 30 |     /// Create a new watcher with the given configuration
[INFO] [stdout] 31 |     pub fn new(config: WatcherConfig) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub async fn start(&self, tx: mpsc::Sender<FileEvent>) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn convert_event(&self, event: &Event) -> Option<EventType> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventFilter` is never constructed
[INFO] [stdout]  --> src/watcher/filter.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct EventFilter {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `should_process_event`, `should_process_path`, and `should_process` are never used
[INFO] [stdout]   --> src/watcher/filter.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl EventFilter {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 21 |     /// Create a new event filter from watcher configuration
[INFO] [stdout] 22 |     pub fn new(config: &WatcherConfig) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn should_process_event(&self, event_type: EventType) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn should_process_path(&self, path: &Path) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn should_process(&self, event_type: EventType, path: &Path) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DebouncedWatcher` is never constructed
[INFO] [stdout]   --> src/watcher/debounce.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct DebouncedWatcher {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `process` are never used
[INFO] [stdout]   --> src/watcher/debounce.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl DebouncedWatcher {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 16 |     /// Create a new debounced watcher
[INFO] [stdout] 17 |     pub fn new(debounce_ms: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub async fn process(
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Watcher`
[INFO] [stdout]   --> src/watcher/mod.rs:11:36
[INFO] [stdout]    |
[INFO] [stdout] 11 | use notify::{Event, RecursiveMode, Watcher as NotifyWatcher};
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retry`
[INFO] [stdout]   --> src/handler/command.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         retry: Option<&RetryConfig>,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_retry`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `on_error`
[INFO] [stdout]    --> src/handler/mod.rs:126:51
[INFO] [stdout]     |
[INFO] [stdout] 126 |             Command { command, timeout_ms, retry, on_error } => {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: try ignoring the field: `on_error: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `on_error`
[INFO] [stdout]    --> src/handler/mod.rs:129:67
[INFO] [stdout]     |
[INFO] [stdout] 129 |             Http { method, url, headers, body, timeout_ms, retry, on_error } => {
[INFO] [stdout]     |                                                                   ^^^^^^^^ help: try ignoring the field: `on_error: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/watcher/mod.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub async fn start(&self, tx: mpsc::Sender<FileEvent>) -> Result<()> {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_debounce_ms` is never used
[INFO] [stdout]    --> src/config/mod.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 212 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn get_debounce_ms(&self, watcher: &WatcherConfig) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Watch` is never constructed
[INFO] [stdout]   --> src/error.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum WatcherError {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |     Watch(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WatcherError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `watch` is never used
[INFO] [stdout]   --> src/error.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl WatcherError {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn watch(msg: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Handler` is never constructed
[INFO] [stdout]   --> src/handler/mod.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Handler {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/handler/mod.rs:34:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Handler {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  33 |     /// Create a new handler
[INFO] [stdout]  34 |     pub fn new(config: HandlerConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  54 |     pub fn should_handle(&self, event: &FileEvent) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub async fn execute(&self, context: &ActionContext) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     async fn execute_sequential(&self, context: &ActionContext) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     async fn execute_parallel(&self, context: &ActionContext) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     async fn execute_action(&self, action: &ActionConfig, context: &ActionContext) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     async fn execute_action_static(action: &ActionConfig, context: &ActionContext) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Watcher` is never constructed
[INFO] [stdout]   --> src/watcher/mod.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Watcher {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start`, and `convert_event` are never used
[INFO] [stdout]   --> src/watcher/mod.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Watcher {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 30 |     /// Create a new watcher with the given configuration
[INFO] [stdout] 31 |     pub fn new(config: WatcherConfig) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub async fn start(&self, tx: mpsc::Sender<FileEvent>) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn convert_event(&self, event: &Event) -> Option<EventType> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s
[INFO] running `Command { std: "docker" "inspect" "6f47272d16dcd52fbf6d5533813ea8b32dd20d009316b45fb2665fe87d9bbeda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f47272d16dcd52fbf6d5533813ea8b32dd20d009316b45fb2665fe87d9bbeda", kill_on_drop: false }`
[INFO] [stdout] 6f47272d16dcd52fbf6d5533813ea8b32dd20d009316b45fb2665fe87d9bbeda
