[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] testing lihongjie0209/fs-watcher against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flihongjie0209%2Ffs-watcher" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lihongjie0209/fs-watcher on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wiremock v0.5.22
[INFO] [stderr]   Downloaded serde_qs v0.8.5
[INFO] [stderr]   Downloaded deadpool v0.9.5
[INFO] [stderr]   Downloaded assert_cmd v2.1.1
[INFO] [stderr]   Downloaded hostname v0.4.1
[INFO] [stderr]   Downloaded notify-debouncer-full v0.3.2
[INFO] [stderr]   Downloaded retain_mut v0.1.9
[INFO] [stderr]   Downloaded icu_properties v2.0.2
[INFO] [stderr]   Downloaded deadpool-runtime v0.1.4
[INFO] [stderr]   Downloaded http-types v2.12.0
[INFO] [stderr]   Downloaded notify v6.1.1
[INFO] [stderr]   Downloaded infer v0.2.3
[INFO] [stderr]   Downloaded cc v1.2.44
[INFO] [stderr]   Downloaded icu_normalizer v2.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9350b30187b19cdc365064a0123d72b1d6f9e10607a1c184441ad81c29e079b2
[INFO] running `Command { std: "docker" "start" "-a" "9350b30187b19cdc365064a0123d72b1d6f9e10607a1c184441ad81c29e079b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9350b30187b19cdc365064a0123d72b1d6f9e10607a1c184441ad81c29e079b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9350b30187b19cdc365064a0123d72b1d6f9e10607a1c184441ad81c29e079b2", kill_on_drop: false }`
[INFO] [stdout] 9350b30187b19cdc365064a0123d72b1d6f9e10607a1c184441ad81c29e079b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f70174fea583a36b4523293e4927efd57a3dc92d655c7a7e68f964f51c91a07b
[INFO] running `Command { std: "docker" "start" "-a" "f70174fea583a36b4523293e4927efd57a3dc92d655c7a7e68f964f51c91a07b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling cc v1.2.44
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling file-id v0.2.3
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling clap_builder v4.5.51
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling syn v2.0.109
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling filetime v0.2.26
[INFO] [stderr]    Compiling hostname v0.4.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling notify v6.1.1
[INFO] [stderr]    Compiling notify-debouncer-full v0.3.2
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling globset v0.4.18
[INFO] [stderr]    Compiling synstructure v0.13.2
[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 tracing-attributes v0.1.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling clap v4.5.51
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling icu_properties v2.0.2
[INFO] [stderr]    Compiling icu_normalizer v2.0.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling 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: `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: `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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.95s
[INFO] running `Command { std: "docker" "inspect" "f70174fea583a36b4523293e4927efd57a3dc92d655c7a7e68f964f51c91a07b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f70174fea583a36b4523293e4927efd57a3dc92d655c7a7e68f964f51c91a07b", kill_on_drop: false }`
[INFO] [stdout] f70174fea583a36b4523293e4927efd57a3dc92d655c7a7e68f964f51c91a07b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e7b31468ba16119c83d3e1fd01936b07cf1b892297d0c8fdb1d7c6caf2273ec
[INFO] running `Command { std: "docker" "start" "-a" "8e7b31468ba16119c83d3e1fd01936b07cf1b892297d0c8fdb1d7c6caf2273ec", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling http-types v2.12.0
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling serde_qs v0.8.5
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling infer v0.2.3
[INFO] [stderr]    Compiling retain_mut v0.1.9
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling assert_cmd v2.1.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling deadpool v0.9.5
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling globset v0.4.18
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling wiremock v0.5.22
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling 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: `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: `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: 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 `test` profile [unoptimized + debuginfo] target(s) in 48.29s
[INFO] running `Command { std: "docker" "inspect" "8e7b31468ba16119c83d3e1fd01936b07cf1b892297d0c8fdb1d7c6caf2273ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e7b31468ba16119c83d3e1fd01936b07cf1b892297d0c8fdb1d7c6caf2273ec", kill_on_drop: false }`
[INFO] [stdout] 8e7b31468ba16119c83d3e1fd01936b07cf1b892297d0c8fdb1d7c6caf2273ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1e5c98aa88126320d864c0d59d60c595f430abe54c905f951aa04751249f03a5
[INFO] running `Command { std: "docker" "start" "-a" "1e5c98aa88126320d864c0d59d60c595f430abe54c905f951aa04751249f03a5", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `WatcherError`
[INFO] [stderr]  --> src/config/mod.rs:5:28
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::error::{Result, WatcherError};
[INFO] [stderr]   |                            ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::config::*`
[INFO] [stderr]    --> src/config/validator.rs:209:9
[INFO] [stderr]     |
[INFO] [stderr] 209 |     use crate::config::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `PathBuf`
[INFO] [stderr]  --> src/handler/variables.rs:8:23
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                       ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `retry::RetryExecutor`
[INFO] [stderr]   --> src/handler/mod.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub use retry::RetryExecutor;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::time::sleep`
[INFO] [stderr]  --> src/watcher/debounce.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use tokio::time::sleep;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `debounce::DebouncedWatcher`
[INFO] [stderr]  --> src/watcher/mod.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub use debounce::DebouncedWatcher;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `RecursiveMode`
[INFO] [stderr]   --> src/watcher/mod.rs:11:21
[INFO] [stderr]    |
[INFO] [stderr] 11 | use notify::{Event, RecursiveMode, Watcher as NotifyWatcher};
[INFO] [stderr]    |                     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::Path`
[INFO] [stderr]   --> src/watcher/mod.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::path::Path;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Watcher`
[INFO] [stderr]   --> src/watcher/mod.rs:11:36
[INFO] [stderr]    |
[INFO] [stderr] 11 | use notify::{Event, RecursiveMode, Watcher as NotifyWatcher};
[INFO] [stderr]    |                                    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `retry`
[INFO] [stderr]   --> src/handler/command.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 17 |         retry: Option<&RetryConfig>,
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_retry`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `on_error`
[INFO] [stderr]    --> src/handler/mod.rs:126:51
[INFO] [stderr]     |
[INFO] [stderr] 126 |             Command { command, timeout_ms, retry, on_error } => {
[INFO] [stderr]     |                                                   ^^^^^^^^ help: try ignoring the field: `on_error: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `on_error`
[INFO] [stderr]    --> src/handler/mod.rs:129:67
[INFO] [stderr]     |
[INFO] [stderr] 129 |             Http { method, url, headers, body, timeout_ms, retry, on_error } => {
[INFO] [stderr]     |                                                                   ^^^^^^^^ help: try ignoring the field: `on_error: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx`
[INFO] [stderr]   --> src/watcher/mod.rs:41:31
[INFO] [stderr]    |
[INFO] [stderr] 41 |     pub async fn start(&self, tx: mpsc::Sender<FileEvent>) -> Result<()> {
[INFO] [stderr]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_debounce_ms` is never used
[INFO] [stderr]    --> src/config/mod.rs:224:12
[INFO] [stderr]     |
[INFO] [stderr] 212 | impl Config {
[INFO] [stderr]     | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 224 |     pub fn get_debounce_ms(&self, watcher: &WatcherConfig) -> u64 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Watch` is never constructed
[INFO] [stderr]   --> src/error.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub enum WatcherError {
[INFO] [stderr]    |          ------------ variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 14 |     Watch(String),
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `WatcherError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `watch` is never used
[INFO] [stderr]   --> src/error.rs:55:12
[INFO] [stderr]    |
[INFO] [stderr] 48 | impl WatcherError {
[INFO] [stderr]    | ----------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub fn watch(msg: impl Into<String>) -> Self {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Handler` is never constructed
[INFO] [stderr]   --> src/handler/mod.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub struct Handler {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/handler/mod.rs:34:12
[INFO] [stderr]     |
[INFO] [stderr]  32 | impl Handler {
[INFO] [stderr]     | ------------ associated items in this implementation
[INFO] [stderr]  33 |     /// Create a new handler
[INFO] [stderr]  34 |     pub fn new(config: HandlerConfig) -> Result<Self> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  54 |     pub fn should_handle(&self, event: &FileEvent) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  69 |     pub async fn execute(&self, context: &ActionContext) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  80 |     async fn execute_sequential(&self, context: &ActionContext) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  92 |     async fn execute_parallel(&self, context: &ActionContext) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 117 |     async fn execute_action(&self, action: &ActionConfig, context: &ActionContext) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 122 |     async fn execute_action_static(action: &ActionConfig, context: &ActionContext) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Watcher` is never constructed
[INFO] [stderr]   --> src/watcher/mod.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct Watcher {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `start`, and `convert_event` are never used
[INFO] [stderr]   --> src/watcher/mod.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl Watcher {
[INFO] [stderr]    | ------------ associated items in this implementation
[INFO] [stderr] 30 |     /// Create a new watcher with the given configuration
[INFO] [stderr] 31 |     pub fn new(config: WatcherConfig) -> Result<Self> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 41 |     pub async fn start(&self, tx: mpsc::Sender<FileEvent>) -> Result<()> {
[INFO] [stderr]    |                  ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 |     fn convert_event(&self, event: &Event) -> Option<EventType> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `fs-watcher` (bin "fs-watcher" test) generated 20 warnings (run `cargo fix --bin "fs-watcher" -p fs-watcher --tests` to apply 12 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fs_watcher-94988461440fa4fa)
[INFO] [stdout] 
[INFO] [stdout] running 37 tests
[INFO] [stdout] test config::tests::test_default_values ... ok
[INFO] [stdout] test config::loader::tests::test_load_from_str_invalid ... ok
[INFO] [stdout] test config::validator::tests::test_validate_debounce ... ok
[INFO] [stdout] test config::tests::test_event_type_serde ... ok
[INFO] [stdout] test config::loader::tests::test_load_from_str_minimal ... ok
[INFO] [stdout] test handler::http::tests::test_calculate_retry_delay_exponential ... ok
[INFO] [stdout] test handler::command::tests::test_substitute_variables ... ok
[INFO] [stdout] test handler::http::tests::test_calculate_retry_delay_fixed ... ok
[INFO] [stdout] test handler::http::tests::test_calculate_retry_delay_linear ... ok
[INFO] [stdout] test handler::http::tests::test_calculate_retry_delay_with_cap ... ok
[INFO] [stdout] test handler::http::tests::test_dry_run_mode ... ok
[INFO] [stdout] test handler::retry::tests::test_retry_success_on_first_attempt ... ok
[INFO] [stdout] test handler::variables::tests::test_combined_variables ... ok
[INFO] [stdout] test handler::variables::tests::test_file_path_variables ... ok
[INFO] [stdout] test handler::variables::tests::test_handler_context_variables ... ok
[INFO] [stdout] test config::validator::tests::test_validate_log_level ... ok
[INFO] [stdout] test handler::variables::tests::test_nested_braces ... ok
[INFO] [stdout] test handler::variables::tests::test_file_content_encodings ... ok
[INFO] [stdout] test handler::variables::tests::test_env_variables ... ok
[INFO] [stdout] test handler::variables::tests::test_os_hostname_user ... ok
[INFO] [stdout] test handler::variables::tests::test_date_time_variables ... ok
[INFO] [stdout] test handler::command::tests::test_execute_simple_command ... ok
[INFO] [stdout] test handler::variables::tests::test_os_variables ... ok
[INFO] [stdout] test handler::variables::tests::test_lazy_evaluation ... ok
[INFO] [stdout] test handler::variables::tests::test_parent_directory_variables ... ok
[INFO] [stdout] test handler::variables::tests::test_timestamp_variables ... ok
[INFO] [stdout] test handler::variables::tests::test_event_type_variable ... ok
[INFO] [stdout] test handler::variables::tests::test_unknown_variable ... ok
[INFO] [stdout] test watcher::filter::tests::test_should_process_combined ... ok
[INFO] [stdout] test watcher::filter::tests::test_should_process_path_included ... ok
[INFO] [stdout] test watcher::filter::tests::test_should_process_event_excluded ... ok
[INFO] [stdout] test watcher::filter::tests::test_should_process_path_excluded_pattern ... ok
[INFO] [stdout] test watcher::filter::tests::test_should_process_event_included ... ok
[INFO] [stdout] test handler::retry::tests::test_retry_max_attempts_exceeded ... ok
[INFO] [stdout] test handler::retry::tests::test_retry_success_on_second_attempt ... ok
[INFO] [stdout] test watcher::debounce::tests::test_debounce_single_event ... ok
[INFO] [stdout] test watcher::debounce::tests::test_debounce_multiple_events_same_path ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1e5c98aa88126320d864c0d59d60c595f430abe54c905f951aa04751249f03a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e5c98aa88126320d864c0d59d60c595f430abe54c905f951aa04751249f03a5", kill_on_drop: false }`
[INFO] [stdout] 1e5c98aa88126320d864c0d59d60c595f430abe54c905f951aa04751249f03a5
