[INFO] cloning repository https://github.com/lukewaehner/toolbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukewaehner/toolbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukewaehner%2Ftoolbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukewaehner%2Ftoolbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c21b7e8387b729345d534cf8a54c76f1e62ffb93 [INFO] building lukewaehner/toolbox against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukewaehner%2Ftoolbox" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lukewaehner/toolbox [INFO] finished tweaking git repo https://github.com/lukewaehner/toolbox [INFO] tweaked toml for git repo https://github.com/lukewaehner/toolbox written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukewaehner/toolbox on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lukewaehner/toolbox 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tauri-winrt-notification v0.7.2 [INFO] [stderr] Downloaded redox_syscall v0.5.6 [INFO] [stderr] Downloaded mac-notification-sys v0.6.4 [INFO] [stderr] Downloaded windows-future v0.2.0 [INFO] [stderr] Downloaded email-encoding v0.2.1 [INFO] [stderr] Downloaded quoted_printable v0.4.8 [INFO] [stderr] Downloaded block2 v0.6.0 [INFO] [stderr] Downloaded quick-xml v0.37.4 [INFO] [stderr] Downloaded openssl v0.10.70 [INFO] [stderr] Downloaded objc2 v0.6.0 [INFO] [stderr] Downloaded notify-rust v4.11.7 [INFO] [stderr] Downloaded objc2-foundation v0.3.0 [INFO] [stderr] Downloaded openssl-sys v0.9.105 [INFO] [stderr] Downloaded lettre v0.10.4 [INFO] [stderr] Downloaded objc2-core-foundation v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 330b4791ff4a137db03875425324e016d81265cf0b514aa0b9845aa567bb1eac [INFO] running `Command { std: "docker" "start" "-a" "330b4791ff4a137db03875425324e016d81265cf0b514aa0b9845aa567bb1eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "330b4791ff4a137db03875425324e016d81265cf0b514aa0b9845aa567bb1eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "330b4791ff4a137db03875425324e016d81265cf0b514aa0b9845aa567bb1eac", kill_on_drop: false }` [INFO] [stdout] 330b4791ff4a137db03875425324e016d81265cf0b514aa0b9845aa567bb1eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9043e9aade7a11025d9827fe1ad183307fd7a38bc4c70564b98138af8d6218a [INFO] running `Command { std: "docker" "start" "-a" "b9043e9aade7a11025d9827fe1ad183307fd7a38bc4c70564b98138af8d6218a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling cc v1.2.12 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling email-encoding v0.2.1 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling quoted_printable v0.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling lettre v0.10.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling zvariant_utils v3.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling zvariant_derive v5.4.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zvariant v5.4.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.5.0 [INFO] [stderr] Compiling zbus v5.5.0 [INFO] [stderr] Compiling notify-rust v4.11.7 [INFO] [stderr] Compiling toolbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/system_utilities.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [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: `Timeout` [INFO] [stdout] --> src/task_scheduler.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use notify_rust::{Notification, Timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/task_scheduler.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/task_scheduler.rs:456:38 [INFO] [stdout] | [INFO] [stdout] 456 | if let Some(dt) = NaiveDateTime::from_timestamp_opt(timestamp, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/main.rs:886:40 [INFO] [stdout] | [INFO] [stdout] 886 | let timestamp = dt.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/main.rs:1254:26 [INFO] [stdout] | [INFO] [stdout] 1254 | return Some(date.timestamp()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/task_scheduler.rs:490:50 [INFO] [stdout] | [INFO] [stdout] 483 | ReminderType::Email | ReminderType::Both => { [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 490 | ReminderType::Notification | ReminderType::Both => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `running` [INFO] [stdout] --> src/main.rs:716:5 [INFO] [stdout] | [INFO] [stdout] 716 | running: &Arc, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/main.rs:1129:25 [INFO] [stdout] | [INFO] [stdout] 1129 | if let Some(task_id) = app_state.selected_task_id { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_style` [INFO] [stdout] --> src/main.rs:1343:13 [INFO] [stdout] | [INFO] [stdout] 1343 | let block_style = if *is_selected { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_layout` [INFO] [stdout] --> src/main.rs:1725:13 [INFO] [stdout] | [INFO] [stdout] 1725 | let field_layout = layout[app_state.email_config_field + 1]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_len` [INFO] [stdout] --> src/main.rs:1726:13 [INFO] [stdout] | [INFO] [stdout] 1726 | let label_len = fields[app_state.email_config_field].0.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_len` [INFO] [stdout] --> src/main.rs:1727:13 [INFO] [stdout] | [INFO] [stdout] 1727 | let value_len = if app_state.email_config_field == 4 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EditingTask` is never constructed [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum InputMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 61 | EditingTask, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `selected_process_index` and `task_filter` are never read [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 101 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | selected_process_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | task_filter: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 150 | enum StatusMessageType { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 153 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusMessageType` 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: function `is_dark_mode` is never used [INFO] [stdout] --> src/main.rs:2209:4 [INFO] [stdout] | [INFO] [stdout] 2209 | fn is_dark_mode() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_status_message` is never used [INFO] [stdout] --> src/main.rs:3216:4 [INFO] [stdout] | [INFO] [stdout] 3216 | fn set_status_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `speed_test` is never used [INFO] [stdout] --> src/network_tools.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn speed_test() -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `history` is never used [INFO] [stdout] --> src/system_utilities.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl SystemMonitor { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn history(&self) -> &SystemHistory { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_due` and `has_pending_reminders` are never used [INFO] [stdout] --> src/task_scheduler.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn is_due(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn has_pending_reminders(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pending_tasks` is never used [INFO] [stdout] --> src/task_scheduler.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl TaskScheduler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn get_pending_tasks(&self) -> Vec<&Task> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "b9043e9aade7a11025d9827fe1ad183307fd7a38bc4c70564b98138af8d6218a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9043e9aade7a11025d9827fe1ad183307fd7a38bc4c70564b98138af8d6218a", kill_on_drop: false }` [INFO] [stdout] b9043e9aade7a11025d9827fe1ad183307fd7a38bc4c70564b98138af8d6218a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84e80e859544d16ac80aec6b3e8a9c50eea49d0813446464f73b41a87e778639 [INFO] running `Command { std: "docker" "start" "-a" "84e80e859544d16ac80aec6b3e8a9c50eea49d0813446464f73b41a87e778639", kill_on_drop: false }` [INFO] [stderr] Compiling toolbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/system_utilities.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [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: `Timeout` [INFO] [stdout] --> src/task_scheduler.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use notify_rust::{Notification, Timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/task_scheduler.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/task_scheduler.rs:456:38 [INFO] [stdout] | [INFO] [stdout] 456 | if let Some(dt) = NaiveDateTime::from_timestamp_opt(timestamp, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/main.rs:886:40 [INFO] [stdout] | [INFO] [stdout] 886 | let timestamp = dt.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/main.rs:1254:26 [INFO] [stdout] | [INFO] [stdout] 1254 | return Some(date.timestamp()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/task_scheduler.rs:490:50 [INFO] [stdout] | [INFO] [stdout] 483 | ReminderType::Email | ReminderType::Both => { [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 490 | ReminderType::Notification | ReminderType::Both => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `running` [INFO] [stdout] --> src/main.rs:716:5 [INFO] [stdout] | [INFO] [stdout] 716 | running: &Arc, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/main.rs:1129:25 [INFO] [stdout] | [INFO] [stdout] 1129 | if let Some(task_id) = app_state.selected_task_id { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_style` [INFO] [stdout] --> src/main.rs:1343:13 [INFO] [stdout] | [INFO] [stdout] 1343 | let block_style = if *is_selected { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_layout` [INFO] [stdout] --> src/main.rs:1725:13 [INFO] [stdout] | [INFO] [stdout] 1725 | let field_layout = layout[app_state.email_config_field + 1]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_len` [INFO] [stdout] --> src/main.rs:1726:13 [INFO] [stdout] | [INFO] [stdout] 1726 | let label_len = fields[app_state.email_config_field].0.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_len` [INFO] [stdout] --> src/main.rs:1727:13 [INFO] [stdout] | [INFO] [stdout] 1727 | let value_len = if app_state.email_config_field == 4 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EditingTask` is never constructed [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum InputMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 61 | EditingTask, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `selected_process_index` and `task_filter` are never read [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 101 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | selected_process_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | task_filter: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 150 | enum StatusMessageType { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 153 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusMessageType` 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: function `is_dark_mode` is never used [INFO] [stdout] --> src/main.rs:2209:4 [INFO] [stdout] | [INFO] [stdout] 2209 | fn is_dark_mode() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_status_message` is never used [INFO] [stdout] --> src/main.rs:3216:4 [INFO] [stdout] | [INFO] [stdout] 3216 | fn set_status_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `speed_test` is never used [INFO] [stdout] --> src/network_tools.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn speed_test() -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `history` is never used [INFO] [stdout] --> src/system_utilities.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl SystemMonitor { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn history(&self) -> &SystemHistory { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_due` and `has_pending_reminders` are never used [INFO] [stdout] --> src/task_scheduler.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn is_due(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn has_pending_reminders(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pending_tasks` is never used [INFO] [stdout] --> src/task_scheduler.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl TaskScheduler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn get_pending_tasks(&self) -> Vec<&Task> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.78s [INFO] running `Command { std: "docker" "inspect" "84e80e859544d16ac80aec6b3e8a9c50eea49d0813446464f73b41a87e778639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e80e859544d16ac80aec6b3e8a9c50eea49d0813446464f73b41a87e778639", kill_on_drop: false }` [INFO] [stdout] 84e80e859544d16ac80aec6b3e8a9c50eea49d0813446464f73b41a87e778639