[INFO] cloning repository https://github.com/karthik558/Rust-Ping
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/karthik558/Rust-Ping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarthik558%2FRust-Ping", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarthik558%2FRust-Ping'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2ba639303e3eac9a39838080d21d00696bb22ed
[INFO] testing karthik558/Rust-Ping against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarthik558%2FRust-Ping" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/karthik558/Rust-Ping
[INFO] finished tweaking git repo https://github.com/karthik558/Rust-Ping
[INFO] tweaked toml for git repo https://github.com/karthik558/Rust-Ping written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/karthik558/Rust-Ping on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/karthik558/Rust-Ping 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 41202f679354f7281f03c0bad332e97e5477212eaab58595a39cc7dd312118b1
[INFO] running `Command { std: "docker" "start" "-a" "41202f679354f7281f03c0bad332e97e5477212eaab58595a39cc7dd312118b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41202f679354f7281f03c0bad332e97e5477212eaab58595a39cc7dd312118b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41202f679354f7281f03c0bad332e97e5477212eaab58595a39cc7dd312118b1", kill_on_drop: false }`
[INFO] [stdout] 41202f679354f7281f03c0bad332e97e5477212eaab58595a39cc7dd312118b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36e0540829ded131a933859cf81e8f822b17eaa94fcbd9a01c04db2a59024bbc
[INFO] running `Command { std: "docker" "start" "-a" "36e0540829ded131a933859cf81e8f822b17eaa94fcbd9a01c04db2a59024bbc", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling time-core v0.1.3
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling time-macros v0.2.20
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling tokio v1.44.1
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling ref-cast v1.0.24
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling ref-cast-impl v1.0.24
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling winnow v0.7.4
[INFO] [stderr]    Compiling rustix v1.0.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling time v0.3.39
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling rand v0.9.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling postgres-protocol v0.6.8
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling toml_edit v0.22.24
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling postgres-types v0.2.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling email-encoding v0.2.1
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling humantime v2.2.0
[INFO] [stderr]    Compiling tempfile v3.19.0
[INFO] [stderr]    Compiling quoted_printable v0.4.8
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling email_address v0.2.9
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling tokio-postgres v0.7.13
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling ping v0.5.2
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling toml v0.8.20
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling lettre v0.10.4
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling RustPing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `transport::smtp::client::SmtpConnection`
[INFO] [stdout]  --> src/email.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     transport::smtp::client::SmtpConnection,
[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: `rocket::http::ContentType`
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use rocket::http::ContentType;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/main.rs:775:20
[INFO] [stdout]     |
[INFO] [stdout] 775 |                 if let Ok(config_content) = content.parse::<String>() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_logs` is never used
[INFO] [stdout]   --> src/main.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | async fn process_logs(start_date_parsed: Option<NaiveDate>, end_date_parsed: Option<NaiveDate>) -> Vec<String> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `http_status` and `bandwidth_usage` are never read
[INFO] [stdout]   --> src/main.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct DeviceStatus {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 86 |     ping_status: Option<bool>,
[INFO] [stdout] 87 |     http_status: Option<bool>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 88 |     bandwidth_usage: Option<f64>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DeviceStatus` 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: type alias `DeviceStatusMap` is never used
[INFO] [stdout]    --> src/main.rs:117:6
[INFO] [stdout]     |
[INFO] [stdout] 117 | type DeviceStatusMap = Arc<Mutex<HashMap<String, DeviceStatus>>>;
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DeviceList` is never used
[INFO] [stdout]    --> src/main.rs:119:6
[INFO] [stdout]     |
[INFO] [stdout] 119 | type DeviceList = Arc<Mutex<Vec<WebDevice>>>;
[INFO] [stdout]     |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Missing` and `Invalid` are never constructed
[INFO] [stdout]    --> src/main.rs:362:5
[INFO] [stdout]     |
[INFO] [stdout] 361 | enum AuthError {
[INFO] [stdout]     |      --------- variants in this enum
[INFO] [stdout] 362 |     Missing,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 363 |     Invalid,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NOTIFICATION_INTERVAL` is never used
[INFO] [stdout]   --> src/email.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const NOTIFICATION_INTERVAL: Duration = Duration::from_secs(1800); // 30 minutes
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOG_COLLECTION_PERIOD` is never used
[INFO] [stdout]   --> src/email.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const LOG_COLLECTION_PERIOD: Duration = Duration::from_secs(1800); // 30 minutes
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/email.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct DeviceStatus {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 51 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 52 |     pub status: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 53 |     pub timestamp: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 54 |     pub ping_status: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 55 |     pub http_status: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 56 |     pub bandwidth: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 57 |     pub failure_count: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 58 |     pub last_failure: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DeviceStatus` 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 `pending_notifications`, `last_notification`, and `device_status_history` are never read
[INFO] [stdout]   --> src/email.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct EmailService {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pending_notifications: Arc<RwLock<Vec<DeviceStatus>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 65 |     last_notification: Arc<RwLock<chrono::DateTime<Utc>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     device_status_history: Arc<RwLock<HashMap<String, Vec<DeviceStatus>>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_notification` and `send_batch_notification` are never used
[INFO] [stdout]    --> src/email.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout]  69 | impl EmailService {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 192 |     pub async fn add_notification(&self, device_name: &str, status: &str, log_data: &LogData) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     async fn send_batch_notification(&self) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s
[INFO] running `Command { std: "docker" "inspect" "36e0540829ded131a933859cf81e8f822b17eaa94fcbd9a01c04db2a59024bbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36e0540829ded131a933859cf81e8f822b17eaa94fcbd9a01c04db2a59024bbc", kill_on_drop: false }`
[INFO] [stdout] 36e0540829ded131a933859cf81e8f822b17eaa94fcbd9a01c04db2a59024bbc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8a301b3e343c4779865645ca87c98ba40dcc20c08bad69ed37b1b01ba0d0e6e
[INFO] running `Command { std: "docker" "start" "-a" "b8a301b3e343c4779865645ca87c98ba40dcc20c08bad69ed37b1b01ba0d0e6e", kill_on_drop: false }`
[INFO] [stderr]    Compiling RustPing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `transport::smtp::client::SmtpConnection`
[INFO] [stdout]  --> src/email.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     transport::smtp::client::SmtpConnection,
[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: `rocket::http::ContentType`
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use rocket::http::ContentType;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/main.rs:775:20
[INFO] [stdout]     |
[INFO] [stdout] 775 |                 if let Ok(config_content) = content.parse::<String>() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_logs` is never used
[INFO] [stdout]   --> src/main.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | async fn process_logs(start_date_parsed: Option<NaiveDate>, end_date_parsed: Option<NaiveDate>) -> Vec<String> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `http_status` and `bandwidth_usage` are never read
[INFO] [stdout]   --> src/main.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct DeviceStatus {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 86 |     ping_status: Option<bool>,
[INFO] [stdout] 87 |     http_status: Option<bool>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 88 |     bandwidth_usage: Option<f64>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DeviceStatus` 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: type alias `DeviceStatusMap` is never used
[INFO] [stdout]    --> src/main.rs:117:6
[INFO] [stdout]     |
[INFO] [stdout] 117 | type DeviceStatusMap = Arc<Mutex<HashMap<String, DeviceStatus>>>;
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DeviceList` is never used
[INFO] [stdout]    --> src/main.rs:119:6
[INFO] [stdout]     |
[INFO] [stdout] 119 | type DeviceList = Arc<Mutex<Vec<WebDevice>>>;
[INFO] [stdout]     |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Missing` and `Invalid` are never constructed
[INFO] [stdout]    --> src/main.rs:362:5
[INFO] [stdout]     |
[INFO] [stdout] 361 | enum AuthError {
[INFO] [stdout]     |      --------- variants in this enum
[INFO] [stdout] 362 |     Missing,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 363 |     Invalid,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NOTIFICATION_INTERVAL` is never used
[INFO] [stdout]   --> src/email.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const NOTIFICATION_INTERVAL: Duration = Duration::from_secs(1800); // 30 minutes
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOG_COLLECTION_PERIOD` is never used
[INFO] [stdout]   --> src/email.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const LOG_COLLECTION_PERIOD: Duration = Duration::from_secs(1800); // 30 minutes
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/email.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct DeviceStatus {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 51 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 52 |     pub status: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 53 |     pub timestamp: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 54 |     pub ping_status: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 55 |     pub http_status: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 56 |     pub bandwidth: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 57 |     pub failure_count: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 58 |     pub last_failure: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DeviceStatus` 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 `pending_notifications`, `last_notification`, and `device_status_history` are never read
[INFO] [stdout]   --> src/email.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct EmailService {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pending_notifications: Arc<RwLock<Vec<DeviceStatus>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 65 |     last_notification: Arc<RwLock<chrono::DateTime<Utc>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     device_status_history: Arc<RwLock<HashMap<String, Vec<DeviceStatus>>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_notification` and `send_batch_notification` are never used
[INFO] [stdout]    --> src/email.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout]  69 | impl EmailService {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 192 |     pub async fn add_notification(&self, device_name: &str, status: &str, log_data: &LogData) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     async fn send_batch_notification(&self) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.71s
[INFO] running `Command { std: "docker" "inspect" "b8a301b3e343c4779865645ca87c98ba40dcc20c08bad69ed37b1b01ba0d0e6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8a301b3e343c4779865645ca87c98ba40dcc20c08bad69ed37b1b01ba0d0e6e", kill_on_drop: false }`
[INFO] [stdout] b8a301b3e343c4779865645ca87c98ba40dcc20c08bad69ed37b1b01ba0d0e6e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4ba6639ec83a6fa7b13ea73f5fbcca379a32b0e51696b6f73999bd9fe382812c
[INFO] running `Command { std: "docker" "start" "-a" "4ba6639ec83a6fa7b13ea73f5fbcca379a32b0e51696b6f73999bd9fe382812c", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `transport::smtp::client::SmtpConnection`
[INFO] [stderr]  --> src/email.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     transport::smtp::client::SmtpConnection,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rocket::http::ContentType`
[INFO] [stderr]   --> src/main.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 34 | use rocket::http::ContentType;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: irrefutable `if let` pattern
[INFO] [stderr]    --> src/main.rs:775:20
[INFO] [stderr]     |
[INFO] [stderr] 775 |                 if let Ok(config_content) = content.parse::<String>() {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stderr]     = help: consider replacing the `if let` with a `let`
[INFO] [stderr]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `process_logs` is never used
[INFO] [stderr]   --> src/main.rs:54:10
[INFO] [stderr]    |
[INFO] [stderr] 54 | async fn process_logs(start_date_parsed: Option<NaiveDate>, end_date_parsed: Option<NaiveDate>) -> Vec<String> {
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `http_status` and `bandwidth_usage` are never read
[INFO] [stderr]   --> src/main.rs:87:5
[INFO] [stderr]    |
[INFO] [stderr] 85 | struct DeviceStatus {
[INFO] [stderr]    |        ------------ fields in this struct
[INFO] [stderr] 86 |     ping_status: Option<bool>,
[INFO] [stderr] 87 |     http_status: Option<bool>,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 88 |     bandwidth_usage: Option<f64>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `DeviceStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `DeviceStatusMap` is never used
[INFO] [stderr]    --> src/main.rs:117:6
[INFO] [stderr]     |
[INFO] [stderr] 117 | type DeviceStatusMap = Arc<Mutex<HashMap<String, DeviceStatus>>>;
[INFO] [stderr]     |      ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `DeviceList` is never used
[INFO] [stderr]    --> src/main.rs:119:6
[INFO] [stderr]     |
[INFO] [stderr] 119 | type DeviceList = Arc<Mutex<Vec<WebDevice>>>;
[INFO] [stderr]     |      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Missing` and `Invalid` are never constructed
[INFO] [stderr]    --> src/main.rs:362:5
[INFO] [stderr]     |
[INFO] [stderr] 361 | enum AuthError {
[INFO] [stderr]     |      --------- variants in this enum
[INFO] [stderr] 362 |     Missing,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 363 |     Invalid,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: constant `NOTIFICATION_INTERVAL` is never used
[INFO] [stderr]   --> src/email.rs:21:7
[INFO] [stderr]    |
[INFO] [stderr] 21 | const NOTIFICATION_INTERVAL: Duration = Duration::from_secs(1800); // 30 minutes
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LOG_COLLECTION_PERIOD` is never used
[INFO] [stderr]   --> src/email.rs:22:7
[INFO] [stderr]    |
[INFO] [stderr] 22 | const LOG_COLLECTION_PERIOD: Duration = Duration::from_secs(1800); // 30 minutes
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/email.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub struct DeviceStatus {
[INFO] [stderr]    |            ------------ fields in this struct
[INFO] [stderr] 51 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 52 |     pub status: String,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 53 |     pub timestamp: String,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 54 |     pub ping_status: String,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 55 |     pub http_status: String,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 56 |     pub bandwidth: String,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 57 |     pub failure_count: u32,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr] 58 |     pub last_failure: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `DeviceStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `pending_notifications`, `last_notification`, and `device_status_history` are never read
[INFO] [stderr]   --> src/email.rs:64:5
[INFO] [stderr]    |
[INFO] [stderr] 61 | pub struct EmailService {
[INFO] [stderr]    |            ------------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 64 |     pending_notifications: Arc<RwLock<Vec<DeviceStatus>>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 65 |     last_notification: Arc<RwLock<chrono::DateTime<Utc>>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 66 |     device_status_history: Arc<RwLock<HashMap<String, Vec<DeviceStatus>>>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `add_notification` and `send_batch_notification` are never used
[INFO] [stderr]    --> src/email.rs:192:18
[INFO] [stderr]     |
[INFO] [stderr]  69 | impl EmailService {
[INFO] [stderr]     | ----------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 192 |     pub async fn add_notification(&self, device_name: &str, status: &str, log_data: &LogData) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 237 |     async fn send_batch_notification(&self) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `RustPing` (bin "RustPing" test) generated 13 warnings (run `cargo fix --bin "RustPing" -p RustPing --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/RustPing-0e717289f871c117)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4ba6639ec83a6fa7b13ea73f5fbcca379a32b0e51696b6f73999bd9fe382812c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ba6639ec83a6fa7b13ea73f5fbcca379a32b0e51696b6f73999bd9fe382812c", kill_on_drop: false }`
[INFO] [stdout] 4ba6639ec83a6fa7b13ea73f5fbcca379a32b0e51696b6f73999bd9fe382812c
