[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] 47a1b15dfd874e9dea8dfc4ffd3f327f52d4dfab [INFO] testing lukewaehner/toolbox against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukewaehner%2Ftoolbox" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukewaehner/toolbox on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumflags2_derive v0.7.11 [INFO] [stderr] Downloaded email-encoding v0.2.1 [INFO] [stderr] Downloaded redox_syscall v0.5.6 [INFO] [stderr] Downloaded mac-notification-sys v0.6.4 [INFO] [stderr] Downloaded quoted_printable v0.4.8 [INFO] [stderr] Downloaded native-tls v0.2.13 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded block2 v0.6.0 [INFO] [stderr] Downloaded tauri-winrt-notification v0.7.2 [INFO] [stderr] Downloaded zbus_macros v5.5.0 [INFO] [stderr] Downloaded zvariant v5.4.0 [INFO] [stderr] Downloaded objc2-core-foundation v0.3.0 [INFO] [stderr] Downloaded lettre v0.10.4 [INFO] [stderr] Downloaded zbus v5.5.0 [INFO] [stderr] Downloaded tui v0.19.0 [INFO] [stderr] Downloaded cc v1.2.12 [INFO] [stderr] Downloaded openssl-sys v0.9.105 [INFO] [stderr] Downloaded notify-rust v4.11.7 [INFO] [stderr] Downloaded openssl v0.10.70 [INFO] [stderr] Downloaded async-process v2.3.0 [INFO] [stderr] Downloaded enumflags2 v0.7.11 [INFO] [stderr] Downloaded objc2 v0.6.0 [INFO] [stderr] Downloaded httparse v1.10.0 [INFO] [stderr] Downloaded objc2-foundation v0.3.0 [INFO] [stderr] Downloaded windows-version v0.1.4 [INFO] [stderr] Downloaded zvariant_derive v5.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e61ef562583a84077e97daae9bb5257166895bbef2a84a323057e9d02ea87163 [INFO] running `Command { std: "docker" "start" "-a" "e61ef562583a84077e97daae9bb5257166895bbef2a84a323057e9d02ea87163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e61ef562583a84077e97daae9bb5257166895bbef2a84a323057e9d02ea87163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e61ef562583a84077e97daae9bb5257166895bbef2a84a323057e9d02ea87163", kill_on_drop: false }` [INFO] [stdout] e61ef562583a84077e97daae9bb5257166895bbef2a84a323057e9d02ea87163 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7f1111960b0c814e8001fbcfda375f3f5052aaa70b818eac274864786df6fb7 [INFO] running `Command { std: "docker" "start" "-a" "a7f1111960b0c814e8001fbcfda375f3f5052aaa70b818eac274864786df6fb7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling cc v1.2.12 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling async-task v4.7.1 [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 nix v0.29.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling email-encoding v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling quoted_printable v0.4.8 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling serde_derive v1.0.210 [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 enumflags2_derive v0.7.11 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [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-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling lettre v0.10.4 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling zvariant_utils v3.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zvariant_derive v5.4.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling zvariant v5.4.0 [INFO] [stderr] Compiling icu_normalizer v1.5.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 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:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | use notify_rust::{Notification, Timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/task_scheduler.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | 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:543:38 [INFO] [stdout] | [INFO] [stdout] 543 | 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:1062:40 [INFO] [stdout] | [INFO] [stdout] 1062 | 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:1430:26 [INFO] [stdout] | [INFO] [stdout] 1430 | return Some(date.timestamp()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/task_scheduler.rs:577:50 [INFO] [stdout] | [INFO] [stdout] 570 | ReminderType::Email | ReminderType::Both => { [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 577 | 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:892:5 [INFO] [stdout] | [INFO] [stdout] 892 | 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:1305:25 [INFO] [stdout] | [INFO] [stdout] 1305 | 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:1519:13 [INFO] [stdout] | [INFO] [stdout] 1519 | 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:1901:13 [INFO] [stdout] | [INFO] [stdout] 1901 | 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:1902:13 [INFO] [stdout] | [INFO] [stdout] 1902 | 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:1903:13 [INFO] [stdout] | [INFO] [stdout] 1903 | 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:101:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum InputMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 101 | 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:222:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 222 | selected_process_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | 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:299:5 [INFO] [stdout] | [INFO] [stdout] 293 | enum StatusMessageType { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 299 | 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:2385:4 [INFO] [stdout] | [INFO] [stdout] 2385 | 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:3392:4 [INFO] [stdout] | [INFO] [stdout] 3392 | 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:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | 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:371:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl SystemMonitor { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 371 | 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:187:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn is_due(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | 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:390:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl TaskScheduler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 390 | 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 26s [INFO] running `Command { std: "docker" "inspect" "a7f1111960b0c814e8001fbcfda375f3f5052aaa70b818eac274864786df6fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f1111960b0c814e8001fbcfda375f3f5052aaa70b818eac274864786df6fb7", kill_on_drop: false }` [INFO] [stdout] a7f1111960b0c814e8001fbcfda375f3f5052aaa70b818eac274864786df6fb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 759f99781a9cfe349dbb7cfe8d53d04c2b9a3b4ec31a67fc5a65986c8faa8e4e [INFO] running `Command { std: "docker" "start" "-a" "759f99781a9cfe349dbb7cfe8d53d04c2b9a3b4ec31a67fc5a65986c8faa8e4e", 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:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | use notify_rust::{Notification, Timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/task_scheduler.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | 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:543:38 [INFO] [stdout] | [INFO] [stdout] 543 | 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:1062:40 [INFO] [stdout] | [INFO] [stdout] 1062 | 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:1430:26 [INFO] [stdout] | [INFO] [stdout] 1430 | return Some(date.timestamp()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/task_scheduler.rs:577:50 [INFO] [stdout] | [INFO] [stdout] 570 | ReminderType::Email | ReminderType::Both => { [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 577 | 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:892:5 [INFO] [stdout] | [INFO] [stdout] 892 | 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:1305:25 [INFO] [stdout] | [INFO] [stdout] 1305 | 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:1519:13 [INFO] [stdout] | [INFO] [stdout] 1519 | 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:1901:13 [INFO] [stdout] | [INFO] [stdout] 1901 | 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:1902:13 [INFO] [stdout] | [INFO] [stdout] 1902 | 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:1903:13 [INFO] [stdout] | [INFO] [stdout] 1903 | 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:101:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum InputMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 101 | 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:222:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 222 | selected_process_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | 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:299:5 [INFO] [stdout] | [INFO] [stdout] 293 | enum StatusMessageType { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 299 | 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:2385:4 [INFO] [stdout] | [INFO] [stdout] 2385 | 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:3392:4 [INFO] [stdout] | [INFO] [stdout] 3392 | 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:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | 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:371:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl SystemMonitor { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 371 | 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:187:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn is_due(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | 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:390:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl TaskScheduler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 390 | 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.83s [INFO] running `Command { std: "docker" "inspect" "759f99781a9cfe349dbb7cfe8d53d04c2b9a3b4ec31a67fc5a65986c8faa8e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "759f99781a9cfe349dbb7cfe8d53d04c2b9a3b4ec31a67fc5a65986c8faa8e4e", kill_on_drop: false }` [INFO] [stdout] 759f99781a9cfe349dbb7cfe8d53d04c2b9a3b4ec31a67fc5a65986c8faa8e4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0dd7d66520bb2a6a3b83943abd78e500f9f0918ce3761777023413c448ee30a [INFO] running `Command { std: "docker" "start" "-a" "b0dd7d66520bb2a6a3b83943abd78e500f9f0918ce3761777023413c448ee30a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/system_utilities.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Timeout` [INFO] [stderr] --> src/task_scheduler.rs:43:33 [INFO] [stderr] | [INFO] [stderr] 43 | use notify_rust::{Notification, Timeout}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/task_scheduler.rs:47:15 [INFO] [stderr] | [INFO] [stderr] 47 | use std::io::{self, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/task_scheduler.rs:543:38 [INFO] [stderr] | [INFO] [stderr] 543 | if let Some(dt) = NaiveDateTime::from_timestamp_opt(timestamp, 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stderr] --> src/main.rs:1062:40 [INFO] [stderr] | [INFO] [stderr] 1062 | let timestamp = dt.timestamp(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stderr] --> src/main.rs:1430:26 [INFO] [stderr] | [INFO] [stderr] 1430 | return Some(date.timestamp()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/task_scheduler.rs:577:50 [INFO] [stderr] | [INFO] [stderr] 570 | ReminderType::Email | ReminderType::Both => { [INFO] [stderr] | ------------------ matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 577 | ReminderType::Notification | ReminderType::Both => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `running` [INFO] [stderr] --> src/main.rs:892:5 [INFO] [stderr] | [INFO] [stderr] 892 | running: &Arc, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `task_id` [INFO] [stderr] --> src/main.rs:1305:25 [INFO] [stderr] | [INFO] [stderr] 1305 | if let Some(task_id) = app_state.selected_task_id { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_style` [INFO] [stderr] --> src/main.rs:1519:13 [INFO] [stderr] | [INFO] [stderr] 1519 | let block_style = if *is_selected { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_style` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field_layout` [INFO] [stderr] --> src/main.rs:1901:13 [INFO] [stderr] | [INFO] [stderr] 1901 | let field_layout = layout[app_state.email_config_field + 1]; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_layout` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_len` [INFO] [stderr] --> src/main.rs:1902:13 [INFO] [stderr] | [INFO] [stderr] 1902 | let label_len = fields[app_state.email_config_field].0.len(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value_len` [INFO] [stderr] --> src/main.rs:1903:13 [INFO] [stderr] | [INFO] [stderr] 1903 | let value_len = if app_state.email_config_field == 4 { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_len` [INFO] [stderr] [INFO] [stderr] warning: variant `EditingTask` is never constructed [INFO] [stderr] --> src/main.rs:101:5 [INFO] [stderr] | [INFO] [stderr] 85 | enum InputMode { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 101 | EditingTask, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InputMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `selected_process_index` and `task_filter` are never read [INFO] [stderr] --> src/main.rs:222:5 [INFO] [stderr] | [INFO] [stderr] 183 | struct AppState { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 222 | selected_process_index: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 236 | task_filter: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Warning` is never constructed [INFO] [stderr] --> src/main.rs:299:5 [INFO] [stderr] | [INFO] [stderr] 293 | enum StatusMessageType { [INFO] [stderr] | ----------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 299 | Warning, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StatusMessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `is_dark_mode` is never used [INFO] [stderr] --> src/main.rs:2385:4 [INFO] [stderr] | [INFO] [stderr] 2385 | fn is_dark_mode() -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `set_status_message` is never used [INFO] [stderr] --> src/main.rs:3392:4 [INFO] [stderr] | [INFO] [stderr] 3392 | fn set_status_message( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `speed_test` is never used [INFO] [stderr] --> src/network_tools.rs:310:8 [INFO] [stderr] | [INFO] [stderr] 310 | pub fn speed_test() -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `history` is never used [INFO] [stderr] --> src/system_utilities.rs:371:12 [INFO] [stderr] | [INFO] [stderr] 183 | impl SystemMonitor { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 371 | pub fn history(&self) -> &SystemHistory { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_due` and `has_pending_reminders` are never used [INFO] [stderr] --> src/task_scheduler.rs:187:12 [INFO] [stderr] | [INFO] [stderr] 139 | impl Task { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 187 | pub fn is_due(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 192 | pub fn has_pending_reminders(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_pending_tasks` is never used [INFO] [stderr] --> src/task_scheduler.rs:390:12 [INFO] [stderr] | [INFO] [stderr] 208 | impl TaskScheduler { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 390 | pub fn get_pending_tasks(&self) -> Vec<&Task> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `toolbox` (bin "toolbox" test) generated 22 warnings (run `cargo fix --bin "toolbox" -p toolbox --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/toolbox-1c0656acb16da1c8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test password_manager::tests::test_encrypt_decrypt ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- password_manager::tests::test_encrypt_decrypt stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'password_manager::tests::test_encrypt_decrypt' (25) panicked at src/password_manager.rs:274:23: [INFO] [stdout] Encryption failed with error: Failed to get encryption key [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a4db87a082 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a4db87a082 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a4db87a082 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a4db87a082 - <::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a4db88f29a - ::fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a4db88f29a - core[c5ed12ab89cc536a]::fmt::write [INFO] [stdout] 6: 0x58a4db87ef46 - std[716c9a7a72e5c14e]::io::default_write_fmt::> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58a4db87ef46 - as std[716c9a7a72e5c14e]::io::Write>::write_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x58a4db8581af - ::print [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a4db8581af - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a4db872259 - std[716c9a7a72e5c14e]::panicking::default_hook [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a4db7a2bbe - core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x58a4db7a2bbe - test[64760d2bdea328cc]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a4db872412 - core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x58a4db872412 - std[716c9a7a72e5c14e]::panicking::panic_with_hook [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a4db858268 - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a4db84fa59 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a4db85915d - __rustc[4f0b026143eab78e]::rust_begin_unwind [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a4db88f96c - core[c5ed12ab89cc536a]::panicking::panic_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a4db78a711 - toolbox[4c9b2fe4be6bbeb8]::password_manager::tests::test_encrypt_decrypt [INFO] [stdout] at /opt/rustwide/workdir/src/password_manager.rs:274:23 [INFO] [stdout] 20: 0x58a4db789467 - toolbox[4c9b2fe4be6bbeb8]::password_manager::tests::test_encrypt_decrypt::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/password_manager.rs:268:30 [INFO] [stdout] 21: 0x58a4db78cdb6 - >::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x58a4db796f6b - core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x58a4db796f6b - test[64760d2bdea328cc]::__rust_begin_short_backtrace::, fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x58a4db7a37ca - test[64760d2bdea328cc]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x58a4db7a37ca - as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 26: 0x58a4db7a37ca - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40 [INFO] [stdout] 27: 0x58a4db7a37ca - std[716c9a7a72e5c14e]::panicking::catch_unwind::, core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19 [INFO] [stdout] 28: 0x58a4db7a37ca - std[716c9a7a72e5c14e]::panic::catch_unwind::, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x58a4db7a37ca - test[64760d2bdea328cc]::run_test_in_process [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x58a4db7a37ca - test[64760d2bdea328cc]::run_test::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x58a4db79dc94 - test[64760d2bdea328cc]::run_test::{closure#1} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x58a4db79dc94 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 33: 0x58a4db7a62c2 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 34: 0x58a4db7a62c2 - ::{closure#1}::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 35: 0x58a4db7a62c2 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40 [INFO] [stdout] 36: 0x58a4db7a62c2 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<(), core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19 [INFO] [stdout] 37: 0x58a4db7a62c2 - std[716c9a7a72e5c14e]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x58a4db7a62c2 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 39: 0x58a4db7a62c2 - ::{closure#1} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x58a4db87992f - + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 41: 0x58a4db87992f - ::new::thread_start [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 42: 0x78baa3d50aa4 - [INFO] [stdout] 43: 0x78baa3ddda64 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] password_manager::tests::test_encrypt_decrypt [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin toolbox` [INFO] running `Command { std: "docker" "inspect" "b0dd7d66520bb2a6a3b83943abd78e500f9f0918ce3761777023413c448ee30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0dd7d66520bb2a6a3b83943abd78e500f9f0918ce3761777023413c448ee30a", kill_on_drop: false }` [INFO] [stdout] b0dd7d66520bb2a6a3b83943abd78e500f9f0918ce3761777023413c448ee30a