[INFO] cloning repository https://github.com/Tiggilyboo/gpio-fan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tiggilyboo/gpio-fan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTiggilyboo%2Fgpio-fan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTiggilyboo%2Fgpio-fan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddb1c2510795af7169d0723a8e44fe27a6d579d7 [INFO] checking Tiggilyboo/gpio-fan/ddb1c2510795af7169d0723a8e44fe27a6d579d7 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%2FTiggilyboo%2Fgpio-fan" "/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/Tiggilyboo/gpio-fan 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/Tiggilyboo/gpio-fan [INFO] finished tweaking git repo https://github.com/Tiggilyboo/gpio-fan [INFO] tweaked toml for git repo https://github.com/Tiggilyboo/gpio-fan written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Tiggilyboo/gpio-fan 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] 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] 6eb5368ca30a081647c7725b0fd5b496a8d615430b5e87291dda5e4c0578011e [INFO] running `Command { std: "docker" "start" "-a" "6eb5368ca30a081647c7725b0fd5b496a8d615430b5e87291dda5e4c0578011e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eb5368ca30a081647c7725b0fd5b496a8d615430b5e87291dda5e4c0578011e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eb5368ca30a081647c7725b0fd5b496a8d615430b5e87291dda5e4c0578011e", kill_on_drop: false }` [INFO] [stdout] 6eb5368ca30a081647c7725b0fd5b496a8d615430b5e87291dda5e4c0578011e [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] 573b66ea41cd5bea3b26a3df894e5bf90f37eab866005bcd06fb3709698e03ce [INFO] running `Command { std: "docker" "start" "-a" "573b66ea41cd5bea3b26a3df894e5bf90f37eab866005bcd06fb3709698e03ce", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking gpio-cdev v0.6.0 [INFO] [stderr] Checking sysinfo v0.29.10 [INFO] [stderr] Checking gpio-fan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env::args` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env::args, time::Duration}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Component` and `Cpu` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use sysinfo::{Component, ComponentExt, Cpu, CpuExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env::args` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env::args, time::Duration}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Component` and `Cpu` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use sysinfo::{Component, ComponentExt, Cpu, CpuExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fan_on` [INFO] [stdout] --> src/main.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | if let Some(fan_on) = self.fan_on { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_on` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let args: Vec = std::env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_history` [INFO] [stdout] --> src/main.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | let max_history = 100; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_crit` [INFO] [stdout] --> src/main.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let cpu_crit = 60f32; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_crit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let mut usage = Usage::new(cpu_intervals, temp_intervals); [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: method `interval` is never used [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Measurement { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn interval(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chip` and `fan_output` are never read [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct FanControl { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 118 | usage: Usage, [INFO] [stdout] 119 | chip: Chip, [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | fan_output: Line, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 130 | usage: Usage, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | let mut chip = Chip::new(chip)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | let fan_output = chip.get_line(line)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | [INFO] [stdout] 137 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 138 | | usage, [INFO] [stdout] 139 | | chip, [INFO] [stdout] 140 | | fan_output, [INFO] [stdout] ... | [INFO] [stdout] 143 | | max_fan_on_cpu, [INFO] [stdout] 144 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gpio-fan` (bin "gpio-fan" test) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fan_on` [INFO] [stdout] --> src/main.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | if let Some(fan_on) = self.fan_on { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_on` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let args: Vec = std::env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_history` [INFO] [stdout] --> src/main.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | let max_history = 100; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_crit` [INFO] [stdout] --> src/main.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let cpu_crit = 60f32; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_crit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let mut usage = Usage::new(cpu_intervals, temp_intervals); [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: method `interval` is never used [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Measurement { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn interval(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chip` and `fan_output` are never read [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct FanControl { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 118 | usage: Usage, [INFO] [stdout] 119 | chip: Chip, [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | fan_output: Line, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 130 | usage: Usage, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | let mut chip = Chip::new(chip)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | let fan_output = chip.get_line(line)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | [INFO] [stdout] 137 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 138 | | usage, [INFO] [stdout] 139 | | chip, [INFO] [stdout] 140 | | fan_output, [INFO] [stdout] ... | [INFO] [stdout] 143 | | max_fan_on_cpu, [INFO] [stdout] 144 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gpio-fan` (bin "gpio-fan") due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "573b66ea41cd5bea3b26a3df894e5bf90f37eab866005bcd06fb3709698e03ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "573b66ea41cd5bea3b26a3df894e5bf90f37eab866005bcd06fb3709698e03ce", kill_on_drop: false }` [INFO] [stdout] 573b66ea41cd5bea3b26a3df894e5bf90f37eab866005bcd06fb3709698e03ce