[INFO] cloning repository https://github.com/ayosec/sysinfo-lemonbar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayosec/sysinfo-lemonbar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayosec%2Fsysinfo-lemonbar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayosec%2Fsysinfo-lemonbar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 201fefe747405be01d4f8eaf87953b5950b2fcb3 [INFO] building ayosec/sysinfo-lemonbar against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayosec%2Fsysinfo-lemonbar" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ayosec/sysinfo-lemonbar on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ayosec/sysinfo-lemonbar [INFO] finished tweaking git repo https://github.com/ayosec/sysinfo-lemonbar [INFO] tweaked toml for git repo https://github.com/ayosec/sysinfo-lemonbar written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ayosec/sysinfo-lemonbar 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gumdrop v0.3.0 [INFO] [stderr] Downloaded gumdrop_derive v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c749c51aa64a15d42dfbe64ba1c4ead43049d4d45232d559214d28f0cfaaef10 [INFO] running `Command { std: "docker" "start" "-a" "c749c51aa64a15d42dfbe64ba1c4ead43049d4d45232d559214d28f0cfaaef10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c749c51aa64a15d42dfbe64ba1c4ead43049d4d45232d559214d28f0cfaaef10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c749c51aa64a15d42dfbe64ba1c4ead43049d4d45232d559214d28f0cfaaef10", kill_on_drop: false }` [INFO] [stdout] c749c51aa64a15d42dfbe64ba1c4ead43049d4d45232d559214d28f0cfaaef10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6470d6c0423667fdf899c171cdd453a86b0886b1aa92cada4caec6ffb609d8b5 [INFO] running `Command { std: "docker" "start" "-a" "6470d6c0423667fdf899c171cdd453a86b0886b1aa92cada4caec6ffb609d8b5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling gumdrop v0.3.0 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling gumdrop_derive v0.3.0 [INFO] [stderr] Compiling sysinfo-lemonbar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filesystem.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_fs<'a>(path: &'a str) -> io::Result { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/options.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hwmon.rs:42:75 [INFO] [stdout] | [INFO] [stdout] 42 | fn load_temp>(path: T, num: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn load_temp>(path: T, num: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hwmon.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn load_core_temp() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn load_core_temp() -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/info.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | fn mem_available() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | fn mem_available() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main_loop.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn run(options: AppOptions) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn run(options: AppOptions) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/options.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/hwmon.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CoreTemp { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | pub input: f64, [INFO] [stdout] 9 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoreTemp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uptime`, `memory_total`, `memory_free`, `swap_total`, `swap_free`, and `num_procs` are never read [INFO] [stdout] --> src/info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SystemInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | pub uptime: Duration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub memory_total: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub memory_free: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub memory_available: u64, [INFO] [stdout] 18 | pub swap_total: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub swap_free: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub num_procs: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "6470d6c0423667fdf899c171cdd453a86b0886b1aa92cada4caec6ffb609d8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6470d6c0423667fdf899c171cdd453a86b0886b1aa92cada4caec6ffb609d8b5", kill_on_drop: false }` [INFO] [stdout] 6470d6c0423667fdf899c171cdd453a86b0886b1aa92cada4caec6ffb609d8b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdd5ff2aeb96f0ea3d6a6d30aa5078beb13b740dab4cdea341f25cc395678241 [INFO] running `Command { std: "docker" "start" "-a" "cdd5ff2aeb96f0ea3d6a6d30aa5078beb13b740dab4cdea341f25cc395678241", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling sysinfo-lemonbar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filesystem.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_fs<'a>(path: &'a str) -> io::Result { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/options.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hwmon.rs:42:75 [INFO] [stdout] | [INFO] [stdout] 42 | fn load_temp>(path: T, num: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn load_temp>(path: T, num: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hwmon.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn load_core_temp() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn load_core_temp() -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/info.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | fn mem_available() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | fn mem_available() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main_loop.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn run(options: AppOptions) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn run(options: AppOptions) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/options.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/hwmon.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CoreTemp { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | pub input: f64, [INFO] [stdout] 9 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoreTemp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uptime`, `memory_total`, `memory_free`, `swap_total`, `swap_free`, and `num_procs` are never read [INFO] [stdout] --> src/info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SystemInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | pub uptime: Duration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub memory_total: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub memory_free: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub memory_available: u64, [INFO] [stdout] 18 | pub swap_total: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub swap_free: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub num_procs: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "cdd5ff2aeb96f0ea3d6a6d30aa5078beb13b740dab4cdea341f25cc395678241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd5ff2aeb96f0ea3d6a6d30aa5078beb13b740dab4cdea341f25cc395678241", kill_on_drop: false }` [INFO] [stdout] cdd5ff2aeb96f0ea3d6a6d30aa5078beb13b740dab4cdea341f25cc395678241