[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] testing MSBarbieri/rpm against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMSBarbieri%2Frpm" "/workspace/builds/worker-60/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-60/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MSBarbieri/rpm on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-60/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dotenv v0.8.0 [INFO] [stderr] Downloaded arboard v2.0.1 [INFO] [stderr] Downloaded tui v0.16.0 [INFO] [stderr] Downloaded signal-hook-mio v0.2.1 [INFO] [stderr] Downloaded crossterm_winapi v0.8.0 [INFO] [stderr] Downloaded backtrace v0.3.62 [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded dotenv_macros v0.10.0 [INFO] [stderr] Downloaded crossterm v0.20.0 [INFO] [stderr] Downloaded dotenv_codegen v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f10c4993a9b94422c47b204380070aeaf3d3de651e25866d9d1682f381aa4053 [INFO] running `Command { std: "docker" "start" "-a" "f10c4993a9b94422c47b204380070aeaf3d3de651e25866d9d1682f381aa4053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f10c4993a9b94422c47b204380070aeaf3d3de651e25866d9d1682f381aa4053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f10c4993a9b94422c47b204380070aeaf3d3de651e25866d9d1682f381aa4053", kill_on_drop: false }` [INFO] [stdout] f10c4993a9b94422c47b204380070aeaf3d3de651e25866d9d1682f381aa4053 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 053eb339fac15a86f8fb7e4ed0c4f2e0af1b610b5eecc6c76cac13a3c1822fcf [INFO] running `Command { std: "docker" "start" "-a" "053eb339fac15a86f8fb7e4ed0c4f2e0af1b610b5eecc6c76cac13a3c1822fcf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 cfg-if v1.0.0 [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 log v0.4.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling gethostname v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace v0.3.62 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling x11rb v0.8.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling crossterm v0.22.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling arboard v2.0.1 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling tui v0.16.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling 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: `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: field is never read: `hash` [INFO] [stdout] --> manager/src/packge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | hash: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> manager/src/packge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tag` [INFO] [stdout] --> manager/src/packge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | tag: Option, [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] --> manager/src/packge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `commit` [INFO] [stdout] --> manager/src/packge.rs:5:5 [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] --> manager/src/packge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> manager/src/packge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | title: String, [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] --> manager/src/packge.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uri` [INFO] [stdout] --> manager/src/packge.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | uri: String, [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] --> manager/src/packge.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `installed_version` [INFO] [stdout] --> manager/src/packge.rs:22:5 [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] --> manager/src/packge.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> manager/src/engine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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] --> manager/src/engine.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Default, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `history_path` [INFO] [stdout] --> manager/src/engine.rs:16:5 [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] --> manager/src/engine.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Default, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> manager/src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rpm_tui v0.1.0 (/opt/rustwide/workdir/tui) [INFO] [stdout] warning: 12 warnings emitted [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: associated function is never used: `calculate_help_menu_offset` [INFO] [stdout] --> tui/src/app.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn calculate_help_menu_offset(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RPM_DIR` [INFO] [stdout] --> tui/src/config/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | const RPM_DIR: &str = "/etc/rpm"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> tui/src/config/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_config` [INFO] [stdout] --> tui/src/config/mod.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn load_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_configs` [INFO] [stdout] --> tui/src/config/mod.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn create_configs() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_configs` [INFO] [stdout] --> tui/src/config/mod.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn save_configs(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Home` [INFO] [stdout] --> tui/src/router.rs:4:5 [INFO] [stdout] | [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] --> tui/src/router.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_color` [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "053eb339fac15a86f8fb7e4ed0c4f2e0af1b610b5eecc6c76cac13a3c1822fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "053eb339fac15a86f8fb7e4ed0c4f2e0af1b610b5eecc6c76cac13a3c1822fcf", kill_on_drop: false }` [INFO] [stdout] 053eb339fac15a86f8fb7e4ed0c4f2e0af1b610b5eecc6c76cac13a3c1822fcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b5b1028a92e53202c2af6c6cc717689cc897316c9d58a3657fe742ed721b532 [INFO] running `Command { std: "docker" "start" "-a" "9b5b1028a92e53202c2af6c6cc717689cc897316c9d58a3657fe742ed721b532", kill_on_drop: false }` [INFO] [stderr] warning: manager v0.1.0 (/opt/rustwide/workdir/manager) ignoring invalid dependency `clippy` which is missing a lib target [INFO] [stderr] Compiling manager v0.1.0 (/opt/rustwide/workdir/manager) [INFO] [stderr] Compiling rpm_tui v0.1.0 (/opt/rustwide/workdir/tui) [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/cli) [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: field is never read: `hash` [INFO] [stdout] --> manager/src/packge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | hash: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> manager/src/packge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tag` [INFO] [stdout] --> manager/src/packge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | tag: Option, [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] --> manager/src/packge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `commit` [INFO] [stdout] --> manager/src/packge.rs:5:5 [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] --> manager/src/packge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> manager/src/packge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | title: String, [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] --> manager/src/packge.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uri` [INFO] [stdout] --> manager/src/packge.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | uri: String, [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] --> manager/src/packge.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `installed_version` [INFO] [stdout] --> manager/src/packge.rs:22:5 [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] --> manager/src/packge.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> manager/src/engine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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] --> manager/src/engine.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Default, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `history_path` [INFO] [stdout] --> manager/src/engine.rs:16:5 [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] --> manager/src/engine.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Default, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> manager/src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [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: associated function is never used: `calculate_help_menu_offset` [INFO] [stdout] --> tui/src/app.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn calculate_help_menu_offset(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RPM_DIR` [INFO] [stdout] --> tui/src/config/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | const RPM_DIR: &str = "/etc/rpm"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> tui/src/config/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_config` [INFO] [stdout] --> tui/src/config/mod.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn load_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_configs` [INFO] [stdout] --> tui/src/config/mod.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn create_configs() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_configs` [INFO] [stdout] --> tui/src/config/mod.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn save_configs(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Home` [INFO] [stdout] --> tui/src/router.rs:4:5 [INFO] [stdout] | [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] --> tui/src/router.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_color` [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: 10 warnings emitted [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: field is never read: `hash` [INFO] [stdout] --> manager/src/packge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | hash: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> manager/src/packge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tag` [INFO] [stdout] --> manager/src/packge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | tag: Option, [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] --> manager/src/packge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `commit` [INFO] [stdout] --> manager/src/packge.rs:5:5 [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] --> manager/src/packge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> manager/src/packge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | title: String, [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] --> manager/src/packge.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uri` [INFO] [stdout] --> manager/src/packge.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | uri: String, [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] --> manager/src/packge.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `installed_version` [INFO] [stdout] --> manager/src/packge.rs:22:5 [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] --> manager/src/packge.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> manager/src/engine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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] --> manager/src/engine.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Default, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `history_path` [INFO] [stdout] --> manager/src/engine.rs:16:5 [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] --> manager/src/engine.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Default, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> manager/src/app.rs:3:5 [INFO] [stdout] | [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: 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: associated function is never used: `calculate_help_menu_offset` [INFO] [stdout] --> tui/src/app.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn calculate_help_menu_offset(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RPM_DIR` [INFO] [stdout] --> tui/src/config/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | const RPM_DIR: &str = "/etc/rpm"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> tui/src/config/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_config` [INFO] [stdout] --> tui/src/config/mod.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn load_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_configs` [INFO] [stdout] --> tui/src/config/mod.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn create_configs() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_configs` [INFO] [stdout] --> tui/src/config/mod.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn save_configs(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Home` [INFO] [stdout] --> tui/src/router.rs:4:5 [INFO] [stdout] | [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] --> tui/src/router.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_color` [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "9b5b1028a92e53202c2af6c6cc717689cc897316c9d58a3657fe742ed721b532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5b1028a92e53202c2af6c6cc717689cc897316c9d58a3657fe742ed721b532", kill_on_drop: false }` [INFO] [stdout] 9b5b1028a92e53202c2af6c6cc717689cc897316c9d58a3657fe742ed721b532 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dbbf48aead4743a0d357b885e23e20ff6d910f16b6b875866167fcd4d0747a6a [INFO] running `Command { std: "docker" "start" "-a" "dbbf48aead4743a0d357b885e23e20ff6d910f16b6b875866167fcd4d0747a6a", kill_on_drop: false }` [INFO] [stderr] warning: manager v0.1.0 (/opt/rustwide/workdir/manager) ignoring invalid dependency `clippy` which is missing a lib target [INFO] [stderr] warning: unused variable: `versions` [INFO] [stderr] --> manager/src/packge.rs:13:43 [INFO] [stderr] | [INFO] [stderr] 13 | pub async fn is_latest_version(&self, versions: Vec) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_versions` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> manager/src/engine.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(path: String, history_path: String) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `history_path` [INFO] [stderr] --> manager/src/engine.rs:20:30 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(path: String, history_path: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_path` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hash` [INFO] [stderr] --> manager/src/packge.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | hash: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> manager/src/packge.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tag` [INFO] [stderr] --> manager/src/packge.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | tag: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> manager/src/packge.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `commit` [INFO] [stderr] --> manager/src/packge.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | commit: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> manager/src/packge.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `title` [INFO] [stderr] --> manager/src/packge.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | title: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> manager/src/packge.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `uri` [INFO] [stderr] --> manager/src/packge.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | uri: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> manager/src/packge.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `installed_version` [INFO] [stderr] --> manager/src/packge.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | installed_version: Version, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> manager/src/packge.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `path` [INFO] [stderr] --> manager/src/engine.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | path: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Engine` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> manager/src/engine.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Clone, Default, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `history_path` [INFO] [stderr] --> manager/src/engine.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | history_path: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Engine` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> manager/src/engine.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Clone, Default, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `title` [INFO] [stderr] --> manager/src/app.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | title: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_BANNER` should have a snake case name [INFO] [stderr] --> manager/src/banner.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn print_BANNER() { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `print_banner` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `manager` (lib) generated 12 warnings [INFO] [stderr] warning: `manager` (lib test) generated 13 warnings (12 duplicates) [INFO] [stderr] warning: unused variable: `package_manager` [INFO] [stderr] --> tui/src/app.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | let package_manager = config.package_manager.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_manager` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> tui/src/handlers/mod.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | fn handle_block_events(key: Key, app: &mut App) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `calculate_help_menu_offset` [INFO] [stderr] --> tui/src/app.rs:93:18 [INFO] [stderr] | [INFO] [stderr] 93 | pub async fn calculate_help_menu_offset(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `RPM_DIR` [INFO] [stderr] --> tui/src/config/mod.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | const RPM_DIR: &str = "/etc/rpm"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> tui/src/config/mod.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load_config` [INFO] [stderr] --> tui/src/config/mod.rs:42:18 [INFO] [stderr] | [INFO] [stderr] 42 | pub async fn load_config() -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `create_configs` [INFO] [stderr] --> tui/src/config/mod.rs:57:18 [INFO] [stderr] | [INFO] [stderr] 57 | pub async fn create_configs() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `save_configs` [INFO] [stderr] --> tui/src/config/mod.rs:63:18 [INFO] [stderr] | [INFO] [stderr] 63 | pub async fn save_configs(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Home` [INFO] [stderr] --> tui/src/router.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | Home, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ActiveBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> tui/src/router.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_color` [INFO] [stderr] --> tui/src/ui/mod.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn get_color((is_active, is_hovered): (bool, bool), theme: &Theme) -> Style { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rpm_tui` (lib) generated 10 warnings [INFO] [stderr] warning: `rpm_tui` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rpm-7229ede8c2021d31) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/manager-85dbf47b4f21a09d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rpm_tui-7a3ae25c680ae386) [INFO] [stdout] test banner::print_BANNER ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests manager [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rpm_tui [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dbbf48aead4743a0d357b885e23e20ff6d910f16b6b875866167fcd4d0747a6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbbf48aead4743a0d357b885e23e20ff6d910f16b6b875866167fcd4d0747a6a", kill_on_drop: false }` [INFO] [stdout] dbbf48aead4743a0d357b885e23e20ff6d910f16b6b875866167fcd4d0747a6a