[INFO] cloning repository https://github.com/RafikYacoub/simple-disk-analyzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RafikYacoub/simple-disk-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafikYacoub%2Fsimple-disk-analyzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafikYacoub%2Fsimple-disk-analyzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d2b077803eb9435cb1429d67ac3b7cf4d4eaa10 [INFO] checking RafikYacoub/simple-disk-analyzer/4d2b077803eb9435cb1429d67ac3b7cf4d4eaa10 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafikYacoub%2Fsimple-disk-analyzer" "/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/RafikYacoub/simple-disk-analyzer on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RafikYacoub/simple-disk-analyzer [INFO] finished tweaking git repo https://github.com/RafikYacoub/simple-disk-analyzer [INFO] tweaked toml for git repo https://github.com/RafikYacoub/simple-disk-analyzer written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RafikYacoub/simple-disk-analyzer 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69b1788176f4a19f517a133069eff33df211276b5afe7e601a25b2ded8764e86 [INFO] running `Command { std: "docker" "start" "-a" "69b1788176f4a19f517a133069eff33df211276b5afe7e601a25b2ded8764e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69b1788176f4a19f517a133069eff33df211276b5afe7e601a25b2ded8764e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b1788176f4a19f517a133069eff33df211276b5afe7e601a25b2ded8764e86", kill_on_drop: false }` [INFO] [stdout] 69b1788176f4a19f517a133069eff33df211276b5afe7e601a25b2ded8764e86 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c388302095d00088ee440d898cd9bd9c71afc80cf894871d8c8489c8ca64ba2 [INFO] running `Command { std: "docker" "start" "-a" "9c388302095d00088ee440d898cd9bd9c71afc80cf894871d8c8489c8ca64ba2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking ttf-parser v0.17.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling sysinfo v0.26.4 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Compiling sysinfo-gui v0.1.14 (/opt/rustwide/workdir) [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling fltk-sys v1.3.16 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Checking fltk v1.3.16 [INFO] [stderr] Checking fltk-grid v0.1.4 [INFO] [stdout] warning: variant `tps` should have an upper camel case name [INFO] [stdout] --> src/gui/message.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | tps, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Tps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `files` should have an upper camel case name [INFO] [stdout] --> src/gui/message.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | files, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/view/tps.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NetworkExt`, `NetworksExt`, and `ProcessExt` [INFO] [stdout] --> src/view/tps.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysinfo::DiskExt` [INFO] [stdout] --> src/view/tps.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sysinfo::DiskExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fileNode` should have an upper camel case name [INFO] [stdout] --> src/view/tps.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct fileNode [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FileNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Card` and `Dial` [INFO] [stdout] --> src/view/tps.rs:453:20 [INFO] [stdout] | [INFO] [stdout] 453 | gui::widgets::{Card, Dial, HalfDial}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `enums::*`, and `prelude::*` [INFO] [stdout] --> src/view/tps.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 460 | use fltk::{enums::*, prelude::*, *}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/view/procs.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NetworkExt` [INFO] [stdout] --> src/view/procs.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `folderNode` should have an upper camel case name [INFO] [stdout] --> src/view/procs.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct folderNode [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FolderNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `tps` should have an upper camel case name [INFO] [stdout] --> src/gui/message.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | tps, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Tps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gui::styles` [INFO] [stdout] --> src/view/procs.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | use crate::gui::styles; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/view/procs.rs:602:5 [INFO] [stdout] | [INFO] [stdout] 602 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fileNode` should have an upper camel case name [INFO] [stdout] --> src/view/procs.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 665 | pub struct fileNode [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FileNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FancyHorSlider` [INFO] [stdout] --> src/view/settings.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::gui::widgets::{FancyHorSlider, Toggle}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/view/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NetworkExt` and `NetworksExt` [INFO] [stdout] --> src/view/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fileNode` should have an upper camel case name [INFO] [stdout] --> src/view/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct fileNode [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FileNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `folderNode` should have an upper camel case name [INFO] [stdout] --> src/view/lib.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct folderNode [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FolderNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `size` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | size, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revSize` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | revSize, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RevSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `acc` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | acc, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revAcc` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | revAcc, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RevAcc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modif` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | modif, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Modif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revModif` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | revModif, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `RevModif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cr` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | cr, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Cr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revCr` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | revCr, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `RevCr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `typ` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | typ, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revTyp` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | revTyp, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RevTyp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dir` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | dir, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revDir` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | revDir, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RevDir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `files` should have an upper camel case name [INFO] [stdout] --> src/gui/message.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | files, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/view/tps.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NetworkExt`, `NetworksExt`, and `ProcessExt` [INFO] [stdout] --> src/view/tps.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysinfo::DiskExt` [INFO] [stdout] --> src/view/tps.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sysinfo::DiskExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fileNode` should have an upper camel case name [INFO] [stdout] --> src/view/tps.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct fileNode [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FileNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Card` and `Dial` [INFO] [stdout] --> src/view/tps.rs:453:20 [INFO] [stdout] | [INFO] [stdout] 453 | gui::widgets::{Card, Dial, HalfDial}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `enums::*`, and `prelude::*` [INFO] [stdout] --> src/view/tps.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 460 | use fltk::{enums::*, prelude::*, *}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/view/procs.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NetworkExt` [INFO] [stdout] --> src/view/procs.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `folderNode` should have an upper camel case name [INFO] [stdout] --> src/view/procs.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct folderNode [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FolderNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gui::styles` [INFO] [stdout] --> src/view/procs.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | use crate::gui::styles; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/view/procs.rs:602:5 [INFO] [stdout] | [INFO] [stdout] 602 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fileNode` should have an upper camel case name [INFO] [stdout] --> src/view/procs.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 665 | pub struct fileNode [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FileNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FancyHorSlider` [INFO] [stdout] --> src/view/settings.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::gui::widgets::{FancyHorSlider, Toggle}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/view/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NetworkExt` and `NetworksExt` [INFO] [stdout] --> src/view/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fileNode` should have an upper camel case name [INFO] [stdout] --> src/view/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct fileNode [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FileNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `folderNode` should have an upper camel case name [INFO] [stdout] --> src/view/lib.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct folderNode [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FolderNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `size` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | size, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revSize` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | revSize, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RevSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `acc` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | acc, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revAcc` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | revAcc, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RevAcc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modif` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | modif, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Modif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revModif` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | revModif, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `RevModif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cr` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | cr, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Cr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revCr` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | revCr, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `RevCr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `typ` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | typ, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revTyp` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | revTyp, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RevTyp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dir` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | dir, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `revDir` should have an upper camel case name [INFO] [stdout] --> src/view/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | revDir, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RevDir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessExt` [INFO] [stdout] --> src/view/procs.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NetworksExt` [INFO] [stdout] --> src/view/procs.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessExt` [INFO] [stdout] --> src/view/lib.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessExt` [INFO] [stdout] --> src/view/procs.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NetworksExt` [INFO] [stdout] --> src/view/procs.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessExt` [INFO] [stdout] --> src/view/lib.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | use sysinfo::{NetworkExt, NetworksExt, ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | let mut comp_type: [&str;9 ] = [ [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: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | let mut text_type: [&str;12 ] = [ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | let mut img_type: [&str;12] = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | let mut vid_type: [&str;30 ] = [ [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sys` [INFO] [stdout] --> src/view/tps.rs:579:25 [INFO] [stdout] | [INFO] [stdout] 579 | if let Some(mut sys) = sys.try_lock() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:579:21 [INFO] [stdout] | [INFO] [stdout] 579 | if let Some(mut sys) = sys.try_lock() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | let mut data_list: & mut Vec = &mut Vec::::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | let mut data_list: & mut Vec = &mut Vec::::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/procs.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | let mut sys = System::new_all(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ord` [INFO] [stdout] --> src/view/procs.rs:641:29 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn new(label: &str, ord: Arc>) -> Self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_list2` [INFO] [stdout] --> src/view/procs.rs:920:13 [INFO] [stdout] | [INFO] [stdout] 920 | let mut data_list2 = data_list.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_list2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sys` [INFO] [stdout] --> src/view/procs.rs:1006:25 [INFO] [stdout] | [INFO] [stdout] 1006 | if let Some(mut sys) = sys.try_lock(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/procs.rs:1006:21 [INFO] [stdout] | [INFO] [stdout] 1006 | if let Some(mut sys) = sys.try_lock(){ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/procs.rs:1010:17 [INFO] [stdout] | [INFO] [stdout] 1010 | let mut data_list: & mut Vec = &mut Vec::::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | let mut comp_type: [&str;9 ] = [ [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: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | let mut text_type: [&str;12 ] = [ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | let mut img_type: [&str;12] = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/procs.rs:919:9 [INFO] [stdout] | [INFO] [stdout] 919 | let mut data_list: & mut Vec = &mut Vec::::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | let mut vid_type: [&str;30 ] = [ [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/procs.rs:920:9 [INFO] [stdout] | [INFO] [stdout] 920 | let mut data_list2 = data_list.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/view/settings.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut f = frame::Frame::default() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sys` [INFO] [stdout] --> src/view/tps.rs:579:25 [INFO] [stdout] | [INFO] [stdout] 579 | if let Some(mut sys) = sys.try_lock() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/settings.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut f = frame::Frame::default() [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:579:21 [INFO] [stdout] | [INFO] [stdout] 579 | if let Some(mut sys) = sys.try_lock() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | let mut data_list: & mut Vec = &mut Vec::::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/tps.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | let mut data_list: & mut Vec = &mut Vec::::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/lib.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | let mut sys = System::new_all(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/procs.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | let mut sys = System::new_all(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ord` [INFO] [stdout] --> src/view/procs.rs:641:29 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn new(label: &str, ord: Arc>) -> Self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `light_mode` is never used [INFO] [stdout] --> src/gui/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait View { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn light_mode(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROC` is never used [INFO] [stdout] --> src/gui/styles/svgs.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const PROC: &str = r#" [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET` is never used [INFO] [stdout] --> src/gui/styles/svgs.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const NET: &str = r#" src/gui/styles/svgs.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ASC: &str = r#" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/view/tps.rs:270:31 [INFO] [stdout] | [INFO] [stdout] 270 | let knd = get_kind(ext.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Types` should have a snake case name [INFO] [stdout] --> src/view/tps.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn Types(view: &MyViewF) -> Option> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [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] --> src/view/tps.rs:620:10 [INFO] [stdout] | [INFO] [stdout] 467 | let mut sys = view.system.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 511 | let mut dials = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | let mut dial = HalfDial::default().with_size(200, 200).with_label("Video %"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | let mut dial = HalfDial::default() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 539 | let mut dial = HalfDial::default().with_size(200, 200).with_label("Audio %"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 550 | let mut dial = HalfDial::default().with_size(200, 200).with_label("Image %"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | let mut dial = HalfDial::default() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 564 | let mut dial = HalfDial::default().with_size(200, 200).with_label("Other %"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 576 | let dials = Arc::new(Mutex::new(dials)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 577 | let sys = Arc::new(Mutex::new(System::new_all())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 578 | let cb = move || { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 620 | Some(Box::new(cb)) [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] warning: unused variable: `data_list2` [INFO] [stdout] --> src/view/procs.rs:920:13 [INFO] [stdout] | [INFO] [stdout] 920 | let mut data_list2 = data_list.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_list2` [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] --> src/view/procs.rs:1048:10 [INFO] [stdout] | [INFO] [stdout] 757 | let mut ord = view.ordering.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 761 | let mut sys = view.system.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1000 | let sys = Arc::new(Mutex::new(System::new_all())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1001 | let light_mode = view.light_mode.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1002 | let ord = view.ordering.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1003 | [INFO] [stdout] 1004 | let cb = move || { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1048 | Some(Box::new(cb)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view/procs.rs:1014:47 [INFO] [stdout] | [INFO] [stdout] 1014 | data_list.sort_by(|p1, p2| match *ord.lock() { [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] warning: unused variable: `sys` [INFO] [stdout] --> src/view/procs.rs:1006:25 [INFO] [stdout] | [INFO] [stdout] 1006 | if let Some(mut sys) = sys.try_lock(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/procs.rs:1006:21 [INFO] [stdout] | [INFO] [stdout] 1006 | if let Some(mut sys) = sys.try_lock(){ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/procs.rs:1010:17 [INFO] [stdout] | [INFO] [stdout] 1010 | let mut data_list: & mut Vec = &mut Vec::::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/procs.rs:919:9 [INFO] [stdout] | [INFO] [stdout] 919 | let mut data_list: & mut Vec = &mut Vec::::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/procs.rs:920:9 [INFO] [stdout] | [INFO] [stdout] 920 | let mut data_list2 = data_list.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/view/settings.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut f = frame::Frame::default() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/settings.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut f = frame::Frame::default() [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 123 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/view/lib.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | let mut sys = System::new_all(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sysinfo-gui` (bin "sysinfo-gui" test) due to 9 previous errors; 123 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `light_mode` is never used [INFO] [stdout] --> src/gui/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait View { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn light_mode(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROC` is never used [INFO] [stdout] --> src/gui/styles/svgs.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const PROC: &str = r#" [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET` is never used [INFO] [stdout] --> src/gui/styles/svgs.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const NET: &str = r#" src/gui/styles/svgs.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ASC: &str = r#" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/view/tps.rs:270:31 [INFO] [stdout] | [INFO] [stdout] 270 | let knd = get_kind(ext.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Types` should have a snake case name [INFO] [stdout] --> src/view/tps.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn Types(view: &MyViewF) -> Option> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [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] --> src/view/tps.rs:620:10 [INFO] [stdout] | [INFO] [stdout] 467 | let mut sys = view.system.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 511 | let mut dials = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | let mut dial = HalfDial::default().with_size(200, 200).with_label("Video %"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | let mut dial = HalfDial::default() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 539 | let mut dial = HalfDial::default().with_size(200, 200).with_label("Audio %"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 550 | let mut dial = HalfDial::default().with_size(200, 200).with_label("Image %"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | let mut dial = HalfDial::default() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 564 | let mut dial = HalfDial::default().with_size(200, 200).with_label("Other %"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 576 | let dials = Arc::new(Mutex::new(dials)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 577 | let sys = Arc::new(Mutex::new(System::new_all())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 578 | let cb = move || { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 620 | Some(Box::new(cb)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view/procs.rs:1048:10 [INFO] [stdout] | [INFO] [stdout] 757 | let mut ord = view.ordering.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 761 | let mut sys = view.system.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1000 | let sys = Arc::new(Mutex::new(System::new_all())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1001 | let light_mode = view.light_mode.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1002 | let ord = view.ordering.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1003 | [INFO] [stdout] 1004 | let cb = move || { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1048 | Some(Box::new(cb)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view/procs.rs:1014:47 [INFO] [stdout] | [INFO] [stdout] 1014 | data_list.sort_by(|p1, p2| match *ord.lock() { [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 8 previous errors; 123 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sysinfo-gui` (bin "sysinfo-gui") due to 9 previous errors; 123 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c388302095d00088ee440d898cd9bd9c71afc80cf894871d8c8489c8ca64ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c388302095d00088ee440d898cd9bd9c71afc80cf894871d8c8489c8ca64ba2", kill_on_drop: false }` [INFO] [stdout] 9c388302095d00088ee440d898cd9bd9c71afc80cf894871d8c8489c8ca64ba2