[INFO] cloning repository https://github.com/MSBarbieri/rpm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MSBarbieri/rpm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMSBarbieri%2Frpm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMSBarbieri%2Frpm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2df4d5172f1a86e641bf43424c634df67895807 [INFO] checking MSBarbieri/rpm against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMSBarbieri%2Frpm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MSBarbieri/rpm on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MSBarbieri/rpm [INFO] finished tweaking git repo https://github.com/MSBarbieri/rpm [INFO] tweaked toml for git repo https://github.com/MSBarbieri/rpm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MSBarbieri/rpm 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.130 [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded tokio-macros v1.5.1 [INFO] [stderr] Downloaded dotenv_codegen v0.10.0 [INFO] [stderr] Downloaded signal-hook-mio v0.2.1 [INFO] [stderr] Downloaded error-code v2.3.0 [INFO] [stderr] Downloaded memchr v0.1.11 [INFO] [stderr] Downloaded str-buf v1.0.5 [INFO] [stderr] Downloaded clipboard-win v4.2.2 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded utf8-ranges v0.1.3 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded gethostname v0.2.1 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded arboard v2.0.1 [INFO] [stderr] Downloaded cc v1.0.71 [INFO] [stderr] Downloaded backtrace v0.3.62 [INFO] [stderr] Downloaded crossterm v0.22.1 [INFO] [stderr] Downloaded regex-syntax v0.3.9 [INFO] [stderr] Downloaded tui v0.16.0 [INFO] [stderr] Downloaded serde_json v1.0.68 [INFO] [stderr] Downloaded crossterm v0.20.0 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded signal-hook v0.3.10 [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.5 [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded crossterm_winapi v0.9.0 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded anyhow v1.0.44 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded crossterm_winapi v0.8.0 [INFO] [stderr] Downloaded tokio v1.13.0 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded thread-id v2.0.0 [INFO] [stderr] Downloaded dotenv v0.8.0 [INFO] [stderr] Downloaded dotenv_macros v0.10.0 [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded libc v0.2.105 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] [stderr] Downloaded x11rb v0.8.1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1120cdc3c5654293e82ef323d911a1a3ccca5040d9c1ae62b38f32883da98bdf [INFO] running `Command { std: "docker" "start" "-a" "1120cdc3c5654293e82ef323d911a1a3ccca5040d9c1ae62b38f32883da98bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1120cdc3c5654293e82ef323d911a1a3ccca5040d9c1ae62b38f32883da98bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1120cdc3c5654293e82ef323d911a1a3ccca5040d9c1ae62b38f32883da98bdf", kill_on_drop: false }` [INFO] [stdout] 1120cdc3c5654293e82ef323d911a1a3ccca5040d9c1ae62b38f32883da98bdf [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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e35e13926e3ccd10deda962bab30b9d4e5a275bb1f677d97ae471cee0c1221d [INFO] running `Command { std: "docker" "start" "-a" "1e35e13926e3ccd10deda962bab30b9d4e5a275bb1f677d97ae471cee0c1221d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: manager v0.1.0 (/opt/rustwide/workdir/manager) ignoring invalid dependency `clippy` which is missing a lib target [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling backtrace v0.3.62 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking gethostname v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Checking crossterm v0.22.1 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking x11rb v0.8.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking arboard v2.0.1 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking tui v0.16.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking manager v0.1.0 (/opt/rustwide/workdir/manager) [INFO] [stdout] warning: unused variable: `versions` [INFO] [stdout] --> manager/src/packge.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn is_latest_version(&self, versions: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_versions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `versions` [INFO] [stdout] --> manager/src/packge.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn is_latest_version(&self, versions: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_versions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> manager/src/engine.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(path: String, history_path: String) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_path` [INFO] [stdout] --> manager/src/engine.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(path: String, history_path: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash`, `tag`, and `commit` are never read [INFO] [stdout] --> manager/src/packge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | commit: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> manager/src/engine.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(path: String, history_path: String) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_path` [INFO] [stdout] --> manager/src/engine.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(path: String, history_path: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `uri`, and `installed_version` are never read [INFO] [stdout] --> manager/src/packge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | installed_version: Version, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `history_path` are never read [INFO] [stdout] --> manager/src/engine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | history_path: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Engine` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> manager/src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct App{ [INFO] [stdout] | --- field in this struct [INFO] [stdout] 3 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash`, `tag`, and `commit` are never read [INFO] [stdout] --> manager/src/packge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | commit: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `uri`, and `installed_version` are never read [INFO] [stdout] --> manager/src/packge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | installed_version: Version, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `history_path` are never read [INFO] [stdout] --> manager/src/engine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | history_path: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Engine` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> manager/src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct App{ [INFO] [stdout] | --- field in this struct [INFO] [stdout] 3 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_BANNER` should have a snake case name [INFO] [stdout] --> manager/src/banner.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_BANNER() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `print_banner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rpm_tui v0.1.0 (/opt/rustwide/workdir/tui) [INFO] [stdout] warning: unused import: `help_page::*` [INFO] [stdout] --> tui/src/ui/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use help_page::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `help_page::*` [INFO] [stdout] --> tui/src/ui/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use help_page::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> tui/src/lib.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | use std::{io::Stdout, panic::PanicInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> tui/src/lib.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> tui/src/lib.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | use std::{io::Stdout, panic::PanicInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> tui/src/lib.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package_manager` [INFO] [stdout] --> tui/src/app.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let package_manager = config.package_manager.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package_manager` [INFO] [stdout] --> tui/src/app.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let package_manager = config.package_manager.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> tui/src/handlers/mod.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn handle_block_events(key: Key, app: &mut App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tui/src/router.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut current_route = self.get_current_route_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> tui/src/handlers/mod.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn handle_block_events(key: Key, app: &mut App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tui/src/router.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut current_route = self.get_current_route_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help_menu_offset`, `help_menu_max_lines`, `help_docs_size`, and `help_menu_page` are never read [INFO] [stdout] --> tui/src/app.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HelpSettings { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | pub help_menu_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub help_menu_max_lines: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub help_docs_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub help_menu_page: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HelpSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_width` and `home_scroll` are never read [INFO] [stdout] --> tui/src/app.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct WindowSettings { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | pub size_width: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | pub home_scroll: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help_settings`, `input`, `input_idx`, and `input_cursor_position` are never read [INFO] [stdout] --> tui/src/app.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub help_settings: HelpSettings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub input: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | pub input_idx: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | pub input_cursor_position: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_help_menu_offset` is never used [INFO] [stdout] --> tui/src/app.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn calculate_help_menu_offset(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RPM_DIR` is never used [INFO] [stdout] --> tui/src/config/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const RPM_DIR: &str = "/etc/rpm"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_config`, `create_configs`, and `save_configs` are never used [INFO] [stdout] --> tui/src/config/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn load_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn create_configs() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn save_configs(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit_key` is never read [INFO] [stdout] --> tui/src/event/events.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EventConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | /// The key that is used to exit the application. [INFO] [stdout] 10 | pub exit_key: Key, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventConfig` 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: variant `Home` is never constructed [INFO] [stdout] --> tui/src/router.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ActiveBlock { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 4 | Home, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_color` is never used [INFO] [stdout] --> tui/src/ui/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get_color((is_active, is_hovered): (bool, bool), theme: &Theme) -> Style { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help_menu_offset`, `help_menu_max_lines`, `help_docs_size`, and `help_menu_page` are never read [INFO] [stdout] --> tui/src/app.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HelpSettings { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | pub help_menu_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub help_menu_max_lines: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub help_docs_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub help_menu_page: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HelpSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_width` and `home_scroll` are never read [INFO] [stdout] --> tui/src/app.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct WindowSettings { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | pub size_width: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | pub home_scroll: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help_settings`, `input`, `input_idx`, and `input_cursor_position` are never read [INFO] [stdout] --> tui/src/app.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub help_settings: HelpSettings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub input: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | pub input_idx: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | pub input_cursor_position: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_help_menu_offset` is never used [INFO] [stdout] --> tui/src/app.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn calculate_help_menu_offset(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RPM_DIR` is never used [INFO] [stdout] --> tui/src/config/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const RPM_DIR: &str = "/etc/rpm"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_config`, `create_configs`, and `save_configs` are never used [INFO] [stdout] --> tui/src/config/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn load_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn create_configs() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn save_configs(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit_key` is never read [INFO] [stdout] --> tui/src/event/events.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EventConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | /// The key that is used to exit the application. [INFO] [stdout] 10 | pub exit_key: Key, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventConfig` 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: variant `Home` is never constructed [INFO] [stdout] --> tui/src/router.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ActiveBlock { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 4 | Home, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_color` is never used [INFO] [stdout] --> tui/src/ui/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get_color((is_active, is_hovered): (bool, bool), theme: &Theme) -> Style { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.37s [INFO] running `Command { std: "docker" "inspect" "1e35e13926e3ccd10deda962bab30b9d4e5a275bb1f677d97ae471cee0c1221d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e35e13926e3ccd10deda962bab30b9d4e5a275bb1f677d97ae471cee0c1221d", kill_on_drop: false }` [INFO] [stdout] 1e35e13926e3ccd10deda962bab30b9d4e5a275bb1f677d97ae471cee0c1221d [INFO] checking MSBarbieri/rpm against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMSBarbieri%2Frpm" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MSBarbieri/rpm on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MSBarbieri/rpm [INFO] finished tweaking git repo https://github.com/MSBarbieri/rpm [INFO] tweaked toml for git repo https://github.com/MSBarbieri/rpm written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MSBarbieri/rpm 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3323ee78e1be28f5db310174997c3843ee8d08867c6581966bb00749660eb220 [INFO] running `Command { std: "docker" "start" "-a" "3323ee78e1be28f5db310174997c3843ee8d08867c6581966bb00749660eb220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3323ee78e1be28f5db310174997c3843ee8d08867c6581966bb00749660eb220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3323ee78e1be28f5db310174997c3843ee8d08867c6581966bb00749660eb220", kill_on_drop: false }` [INFO] [stdout] 3323ee78e1be28f5db310174997c3843ee8d08867c6581966bb00749660eb220 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8860f05638424456de162e0704e449c5d17c853814193b14fe4d8a5204e25ff8 [INFO] running `Command { std: "docker" "start" "-a" "8860f05638424456de162e0704e449c5d17c853814193b14fe4d8a5204e25ff8", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: manager v0.1.0 (/opt/rustwide/workdir/manager) ignoring invalid dependency `clippy` which is missing a lib target [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.62 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking gethostname v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Checking crossterm v0.22.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking x11rb v0.8.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking arboard v2.0.1 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking tui v0.16.0 [INFO] [stderr] Checking manager v0.1.0 (/opt/rustwide/workdir/manager) [INFO] [stdout] warning: unused variable: `versions` [INFO] [stdout] --> manager/src/packge.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn is_latest_version(&self, versions: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_versions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `versions` [INFO] [stdout] --> manager/src/packge.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn is_latest_version(&self, versions: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_versions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> manager/src/engine.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(path: String, history_path: String) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_path` [INFO] [stdout] --> manager/src/engine.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(path: String, history_path: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash`, `tag`, and `commit` are never read [INFO] [stdout] --> manager/src/packge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | commit: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `uri`, and `installed_version` are never read [INFO] [stdout] --> manager/src/packge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | installed_version: Version, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `history_path` are never read [INFO] [stdout] --> manager/src/engine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | history_path: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Engine` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> manager/src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct App{ [INFO] [stdout] | --- field in this struct [INFO] [stdout] 3 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> manager/src/engine.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(path: String, history_path: String) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_path` [INFO] [stdout] --> manager/src/engine.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(path: String, history_path: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash`, `tag`, and `commit` are never read [INFO] [stdout] --> manager/src/packge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | commit: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `uri`, and `installed_version` are never read [INFO] [stdout] --> manager/src/packge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | installed_version: Version, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `history_path` are never read [INFO] [stdout] --> manager/src/engine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | history_path: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Engine` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> manager/src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct App{ [INFO] [stdout] | --- field in this struct [INFO] [stdout] 3 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_BANNER` should have a snake case name [INFO] [stdout] --> manager/src/banner.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_BANNER() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `print_banner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rpm_tui v0.1.0 (/opt/rustwide/workdir/tui) [INFO] [stdout] warning: unused import: `help_page::*` [INFO] [stdout] --> tui/src/ui/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use help_page::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `help_page::*` [INFO] [stdout] --> tui/src/ui/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use help_page::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> tui/src/lib.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | use std::{io::Stdout, panic::PanicInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> tui/src/lib.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> tui/src/lib.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | use std::{io::Stdout, panic::PanicInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> tui/src/lib.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package_manager` [INFO] [stdout] --> tui/src/app.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let package_manager = config.package_manager.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package_manager` [INFO] [stdout] --> tui/src/app.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let package_manager = config.package_manager.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> tui/src/handlers/mod.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn handle_block_events(key: Key, app: &mut App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tui/src/router.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut current_route = self.get_current_route_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help_menu_offset`, `help_menu_max_lines`, `help_docs_size`, and `help_menu_page` are never read [INFO] [stdout] --> tui/src/app.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HelpSettings { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | pub help_menu_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub help_menu_max_lines: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub help_docs_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub help_menu_page: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HelpSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_width` and `home_scroll` are never read [INFO] [stdout] --> tui/src/app.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct WindowSettings { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | pub size_width: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | pub home_scroll: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help_settings`, `input`, `input_idx`, and `input_cursor_position` are never read [INFO] [stdout] --> tui/src/app.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub help_settings: HelpSettings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub input: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | pub input_idx: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | pub input_cursor_position: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_help_menu_offset` is never used [INFO] [stdout] --> tui/src/app.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn calculate_help_menu_offset(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RPM_DIR` is never used [INFO] [stdout] --> tui/src/config/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const RPM_DIR: &str = "/etc/rpm"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_config`, `create_configs`, and `save_configs` are never used [INFO] [stdout] --> tui/src/config/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn load_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn create_configs() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn save_configs(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit_key` is never read [INFO] [stdout] --> tui/src/event/events.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EventConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | /// The key that is used to exit the application. [INFO] [stdout] 10 | pub exit_key: Key, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventConfig` 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: variant `Home` is never constructed [INFO] [stdout] --> tui/src/router.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ActiveBlock { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 4 | Home, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_color` is never used [INFO] [stdout] --> tui/src/ui/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get_color((is_active, is_hovered): (bool, bool), theme: &Theme) -> Style { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tui/src/app.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 76 | let events = Events::new(config.behavior.tick_rate_milliseconds); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | [INFO] [stdout] 78 | Ok(App { [INFO] [stdout] | ____________^ [INFO] [stdout] 79 | | title: String::from(TITLE), [INFO] [stdout] 80 | | config, [INFO] [stdout] 81 | | events, [INFO] [stdout] ... | [INFO] [stdout] 89 | | is_loading: false, [INFO] [stdout] 90 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tui/src/event/events.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 63 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | let event_tx = tx.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Events { rx: Rc::new(rx), _tx: tx } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> tui/src/handlers/mod.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn handle_block_events(key: Key, app: &mut App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tui/src/router.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut current_route = self.get_current_route_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rpm_tui` (lib test) due to 3 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `help_menu_offset`, `help_menu_max_lines`, `help_docs_size`, and `help_menu_page` are never read [INFO] [stdout] --> tui/src/app.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HelpSettings { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | pub help_menu_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub help_menu_max_lines: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub help_docs_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub help_menu_page: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HelpSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_width` and `home_scroll` are never read [INFO] [stdout] --> tui/src/app.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct WindowSettings { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | pub size_width: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | pub home_scroll: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help_settings`, `input`, `input_idx`, and `input_cursor_position` are never read [INFO] [stdout] --> tui/src/app.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub help_settings: HelpSettings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub input: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | pub input_idx: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | pub input_cursor_position: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_help_menu_offset` is never used [INFO] [stdout] --> tui/src/app.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn calculate_help_menu_offset(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RPM_DIR` is never used [INFO] [stdout] --> tui/src/config/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const RPM_DIR: &str = "/etc/rpm"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_config`, `create_configs`, and `save_configs` are never used [INFO] [stdout] --> tui/src/config/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn load_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn create_configs() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn save_configs(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit_key` is never read [INFO] [stdout] --> tui/src/event/events.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EventConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | /// The key that is used to exit the application. [INFO] [stdout] 10 | pub exit_key: Key, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventConfig` 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: variant `Home` is never constructed [INFO] [stdout] --> tui/src/router.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ActiveBlock { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 4 | Home, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_color` is never used [INFO] [stdout] --> tui/src/ui/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get_color((is_active, is_hovered): (bool, bool), theme: &Theme) -> Style { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tui/src/app.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 76 | let events = Events::new(config.behavior.tick_rate_milliseconds); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | [INFO] [stdout] 78 | Ok(App { [INFO] [stdout] | ____________^ [INFO] [stdout] 79 | | title: String::from(TITLE), [INFO] [stdout] 80 | | config, [INFO] [stdout] 81 | | events, [INFO] [stdout] ... | [INFO] [stdout] 89 | | is_loading: false, [INFO] [stdout] 90 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tui/src/event/events.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 63 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | let event_tx = tx.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Events { rx: Rc::new(rx), _tx: tx } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rpm_tui` (lib) due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8860f05638424456de162e0704e449c5d17c853814193b14fe4d8a5204e25ff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8860f05638424456de162e0704e449c5d17c853814193b14fe4d8a5204e25ff8", kill_on_drop: false }` [INFO] [stdout] 8860f05638424456de162e0704e449c5d17c853814193b14fe4d8a5204e25ff8