[INFO] cloning repository https://github.com/PulfordJ/lastsignal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PulfordJ/lastsignal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPulfordJ%2Flastsignal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPulfordJ%2Flastsignal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3666891307fedac6a9517015ed290e7cdf067ab3 [INFO] testing PulfordJ/lastsignal against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPulfordJ%2Flastsignal" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PulfordJ/lastsignal [INFO] finished tweaking git repo https://github.com/PulfordJ/lastsignal [INFO] tweaked toml for git repo https://github.com/PulfordJ/lastsignal written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PulfordJ/lastsignal on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PulfordJ/lastsignal 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.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hostname v0.4.1 [INFO] [stderr] Downloaded quoted_printable v0.5.1 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded stop-token v0.7.0 [INFO] [stderr] Downloaded async-native-tls v0.5.0 [INFO] [stderr] Downloaded polling v3.10.0 [INFO] [stderr] Downloaded imap-proto v0.16.5 [INFO] [stderr] Downloaded async-io v2.5.0 [INFO] [stderr] Downloaded async-process v2.4.0 [INFO] [stderr] Downloaded async-imap v0.9.7 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded lettre v0.11.18 [INFO] [stderr] Downloaded async-signal v0.2.12 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d46cec4213318e9d96a75b02492aaad2a3351a4a79f07f1876ccb0e5bf4c232b [INFO] running `Command { std: "docker" "start" "-a" "d46cec4213318e9d96a75b02492aaad2a3351a4a79f07f1876ccb0e5bf4c232b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d46cec4213318e9d96a75b02492aaad2a3351a4a79f07f1876ccb0e5bf4c232b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46cec4213318e9d96a75b02492aaad2a3351a4a79f07f1876ccb0e5bf4c232b", kill_on_drop: false }` [INFO] [stdout] d46cec4213318e9d96a75b02492aaad2a3351a4a79f07f1876ccb0e5bf4c232b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dbedca756188d51e246c11657acd1f98e411fe8d4520732155599a63bca21ec [INFO] running `Command { std: "docker" "start" "-a" "2dbedca756188d51e246c11657acd1f98e411fe8d4520732155599a63bca21ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling stop-token v0.7.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling hostname v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling imap-proto v0.16.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [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 async-imap v0.9.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling async-native-tls v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling lettre v0.11.18 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.7.9 [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 lastsignal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/oauth.rs:361:37 [INFO] [stdout] | [INFO] [stdout] 361 | if let Some(message) = message_event.get("message") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_directory` [INFO] [stdout] --> src/oauth.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | data_directory: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_directory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/outputs/mod.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | for (i, (output_config, output)) in output_configs.iter().zip(outputs.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl LastSignalApp { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 22 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_duration` and `as_minutes` are never used [INFO] [stdout] --> src/duration_parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ConfigDuration { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 11 | pub fn as_duration(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn as_minutes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FacebookWebhookEntry` is never constructed [INFO] [stdout] --> src/oauth.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct FacebookWebhookEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FacebookMessagingEvent` is never constructed [INFO] [stdout] --> src/oauth.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct FacebookMessagingEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FacebookMessageSender` is never constructed [INFO] [stdout] --> src/oauth.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct FacebookMessageSender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FacebookMessage` is never constructed [INFO] [stdout] --> src/oauth.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct FacebookMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_success` and `error_message` are never used [INFO] [stdout] --> src/outputs/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl OutputResult { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 22 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn error_message(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_outputs_with_fallback` is never used [INFO] [stdout] --> src/outputs/mod.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn process_outputs_with_fallback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_outputs_to_all` is never used [INFO] [stdout] --> src/outputs/mod.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn process_outputs_to_all( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/outputs/bidirectional.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CheckinResponse { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 10 | /// No new responses found [INFO] [stdout] 11 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckinResponse` 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: method `get_state_mut` is never used [INFO] [stdout] --> src/state.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl StateManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn get_state_mut(&mut self) -> &mut AppState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "2dbedca756188d51e246c11657acd1f98e411fe8d4520732155599a63bca21ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dbedca756188d51e246c11657acd1f98e411fe8d4520732155599a63bca21ec", kill_on_drop: false }` [INFO] [stdout] 2dbedca756188d51e246c11657acd1f98e411fe8d4520732155599a63bca21ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a359e81881fd41f1c8d61a907a4704cf3b2bcd1ecb3290469ab7326acccd098d [INFO] running `Command { std: "docker" "start" "-a" "a359e81881fd41f1c8d61a907a4704cf3b2bcd1ecb3290469ab7326acccd098d", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling async-imap v0.9.7 [INFO] [stderr] Compiling lastsignal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/app.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/oauth.rs:361:37 [INFO] [stdout] | [INFO] [stdout] 361 | if let Some(message) = message_event.get("message") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_directory` [INFO] [stdout] --> src/oauth.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | data_directory: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_directory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/outputs/mod.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | for (i, (output_config, output)) in output_configs.iter().zip(outputs.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_duration` is never used [INFO] [stdout] --> src/duration_parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ConfigDuration { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 11 | pub fn as_duration(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FacebookWebhookEntry` is never constructed [INFO] [stdout] --> src/oauth.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct FacebookWebhookEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FacebookMessagingEvent` is never constructed [INFO] [stdout] --> src/oauth.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct FacebookMessagingEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FacebookMessageSender` is never constructed [INFO] [stdout] --> src/oauth.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct FacebookMessageSender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FacebookMessage` is never constructed [INFO] [stdout] --> src/oauth.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct FacebookMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/outputs/bidirectional.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CheckinResponse { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 10 | /// No new responses found [INFO] [stdout] 11 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckinResponse` 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: method `get_state_mut` is never used [INFO] [stdout] --> src/state.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl StateManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn get_state_mut(&mut self) -> &mut AppState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.98s [INFO] running `Command { std: "docker" "inspect" "a359e81881fd41f1c8d61a907a4704cf3b2bcd1ecb3290469ab7326acccd098d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a359e81881fd41f1c8d61a907a4704cf3b2bcd1ecb3290469ab7326acccd098d", kill_on_drop: false }` [INFO] [stdout] a359e81881fd41f1c8d61a907a4704cf3b2bcd1ecb3290469ab7326acccd098d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f4efd8a05f877833617980222048db8fe9d5c70725bb70ecf97ba235b568c36e [INFO] running `Command { std: "docker" "start" "-a" "f4efd8a05f877833617980222048db8fe9d5c70725bb70ecf97ba235b568c36e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/app.rs:511:9 [INFO] [stderr] | [INFO] [stderr] 511 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/oauth.rs:361:37 [INFO] [stderr] | [INFO] [stderr] 361 | if let Some(message) = message_event.get("message") { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data_directory` [INFO] [stderr] --> src/oauth.rs:485:5 [INFO] [stderr] | [INFO] [stderr] 485 | data_directory: std::path::PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_directory` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/outputs/mod.rs:233:10 [INFO] [stderr] | [INFO] [stderr] 233 | for (i, (output_config, output)) in output_configs.iter().zip(outputs.iter()).enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: method `as_duration` is never used [INFO] [stderr] --> src/duration_parser.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl ConfigDuration { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] 11 | pub fn as_duration(&self) -> Duration { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `FacebookWebhookEntry` is never constructed [INFO] [stderr] --> src/oauth.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | struct FacebookWebhookEntry { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FacebookMessagingEvent` is never constructed [INFO] [stderr] --> src/oauth.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | struct FacebookMessagingEvent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FacebookMessageSender` is never constructed [INFO] [stderr] --> src/oauth.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | struct FacebookMessageSender { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FacebookMessage` is never constructed [INFO] [stderr] --> src/oauth.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | struct FacebookMessage { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `None` is never constructed [INFO] [stderr] --> src/outputs/bidirectional.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum CheckinResponse { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] 10 | /// No new responses found [INFO] [stderr] 11 | None, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CheckinResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get_state_mut` is never used [INFO] [stderr] --> src/state.rs:189:12 [INFO] [stderr] | [INFO] [stderr] 174 | impl StateManager { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 189 | pub fn get_state_mut(&mut self) -> &mut AppState { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lastsignal` (bin "lastsignal" test) generated 11 warnings (run `cargo fix --bin "lastsignal" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lastsignal-3e5a169571eec970) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test duration_parser::tests::test_display ... ok [INFO] [stdout] test duration_parser::tests::test_conversion_methods ... ok [INFO] [stdout] test duration_parser::tests::test_display_prefers_larger_units ... ok [INFO] [stdout] test duration_parser::tests::test_invalid_durations ... ok [INFO] [stdout] test duration_parser::tests::test_parse_hours ... ok [INFO] [stdout] test duration_parser::tests::test_parse_minutes ... ok [INFO] [stdout] test oauth::tests::test_token_serialization ... ok [INFO] [stdout] test duration_parser::tests::test_parse_days ... ok [INFO] [stdout] test duration_parser::tests::test_serde_rejects_pure_numbers ... ok [INFO] [stdout] test duration_parser::tests::test_parse_seconds ... ok [INFO] [stdout] test outputs::email::tests::test_email_output_creation ... ok [INFO] [stdout] test outputs::email::tests::test_email_output_missing_config ... ok [INFO] [stdout] test message_adapter::tests::test_timestamp_replacement ... ok [INFO] [stdout] test outputs::email_bidirectional::tests::test_bidirectional_email_output_creation ... ok [INFO] [stdout] test outputs::email_bidirectional::tests::test_bidirectional_email_output_with_custom_imap ... ok [INFO] [stdout] test outputs::facebook_messenger::tests::test_facebook_messenger_output_missing_config ... ok [INFO] [stdout] test outputs::email::tests::test_email_output_creation_with_from ... ok [INFO] [stdout] test config::tests::test_config_duration_formats ... ok [INFO] [stdout] test config::tests::test_config_rejects_pure_numbers ... ok [INFO] [stdout] test message_adapter::tests::test_file_message_adapter_checkin_message ... ok [INFO] [stdout] test duration_parser::tests::test_serde ... ok [INFO] [stdout] test outputs::tests::test_process_outputs_fallback_to_second ... ok [INFO] [stdout] test message_adapter::tests::test_file_message_adapter_default_message ... ok [INFO] [stdout] test config::tests::test_config_validation ... ok [INFO] [stdout] test message_adapter::tests::test_file_message_adapter_existing_file ... ok [INFO] [stdout] test message_adapter::tests::test_message_adapter_factory_unknown_type ... ok [INFO] [stdout] test outputs::tests::test_process_outputs_all_fail ... ok [INFO] [stdout] test outputs::tests::test_process_outputs_skip_unhealthy ... ok [INFO] [stdout] test app::tests::test_app_initialization ... ok [INFO] [stdout] test state::tests::test_app_state_default ... ok [INFO] [stdout] test state::tests::test_app_state_record_checkin_request ... ok [INFO] [stdout] test state::tests::test_should_request_checkin ... ok [INFO] [stdout] test state::tests::test_app_state_record_checkin ... ok [INFO] [stdout] test outputs::tests::test_process_outputs_to_all_sends_to_all_recipients ... ok [INFO] [stdout] test state::tests::test_state_manager ... ok [INFO] [stdout] test state::tests::test_should_fire_last_signal ... ok [INFO] [stdout] test state::tests::test_state_persistence ... ok [INFO] [stdout] test message_adapter::tests::test_message_adapter_factory ... ok [INFO] [stdout] test outputs::tests::test_process_outputs_to_all_handles_health_check_failures ... ok [INFO] [stdout] test outputs::tests::test_process_outputs_success_on_first ... ok [INFO] [stdout] test outputs::facebook_messenger::tests::test_facebook_messenger_urls ... ok [INFO] [stdout] test outputs::facebook_messenger::tests::test_facebook_messenger_output_creation ... ok [INFO] [stdout] test oauth::tests::test_whoop_oauth_initialization ... ok [INFO] [stdout] test oauth::tests::test_authorization_url_generation ... ok [INFO] [stdout] test outputs::whoop::tests::test_whoop_send_message_returns_skipped ... ok [INFO] [stdout] test outputs::whoop::tests::test_whoop_output_creation_with_defaults ... ok [INFO] [stdout] test outputs::whoop::tests::test_whoop_output_creation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f4efd8a05f877833617980222048db8fe9d5c70725bb70ecf97ba235b568c36e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4efd8a05f877833617980222048db8fe9d5c70725bb70ecf97ba235b568c36e", kill_on_drop: false }` [INFO] [stdout] f4efd8a05f877833617980222048db8fe9d5c70725bb70ecf97ba235b568c36e