[INFO] fetching crate psutil 3.3.0... [INFO] checking psutil-3.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate psutil 3.3.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate psutil 3.3.0 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 crates.io crate psutil 3.3.0 [INFO] finished tweaking crates.io crate psutil 3.3.0 [INFO] tweaked toml for crates.io crate psutil 3.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate psutil 3.3.0 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e623eb74995efb0cc0aa85813e644a544e6f0ed20c0a4085abd1f3c0a6e55152 [INFO] running `Command { std: "docker" "start" "-a" "e623eb74995efb0cc0aa85813e644a544e6f0ed20c0a4085abd1f3c0a6e55152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e623eb74995efb0cc0aa85813e644a544e6f0ed20c0a4085abd1f3c0a6e55152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e623eb74995efb0cc0aa85813e644a544e6f0ed20c0a4085abd1f3c0a6e55152", kill_on_drop: false }` [INFO] [stdout] e623eb74995efb0cc0aa85813e644a544e6f0ed20c0a4085abd1f3c0a6e55152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7d8eb2c8c736e334bbed2ff20aa792e9393372b1ee72a537d5f80b9be5b03aa3 [INFO] running `Command { std: "docker" "start" "-a" "7d8eb2c8c736e334bbed2ff20aa792e9393372b1ee72a537d5f80b9be5b03aa3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.73 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling platforms v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.53 [INFO] [stderr] Checking unescape v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.34 [INFO] [stderr] Compiling syn v2.0.44 [INFO] [stderr] Checking float-cmp v0.6.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling thiserror-impl v1.0.53 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking psutil v3.3.0 (/opt/rustwide/workdir) [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/errors.rs:82:2 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn read_file

(path: P) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | fs::read_to_string(&path).map_err(|err| Error::ReadFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/errors.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn read_dir

(path: P) -> Result> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | / fs::read_dir(&path) [INFO] [stdout] 93 | | .map_err(|err| Error::ReadFile { [INFO] [stdout] 94 | | path: path.as_ref().into(), [INFO] [stdout] 95 | | source: err, [INFO] [stdout] ... | [INFO] [stdout] 101 | | }) [INFO] [stdout] 102 | | }) [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/errors.rs:110:2 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn read_link

(path: P) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | fs::read_link(&path).map_err(|err| Error::ReadFile { [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/errors.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 121 | result.map_err(|err| Error::ReadFile { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | path: path.into(), [INFO] [stdout] 123 | source: err.into_error(), [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/process/os/linux/process.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | parse_environ(&contents).map_err(|e| psutil_error_to_process_error(e, self.pid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/process/os/linux/procfs/stat.rs:386:2 [INFO] [stdout] | [INFO] [stdout] 386 | ProcfsStat::from_str(&contents).map_err(|e| psutil_error_to_process_error(e, pid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/process/os/linux/procfs/statm.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | ProcfsStatm::from_str(&contents).map_err(|e| psutil_error_to_process_error(e, pid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/process/os/linux/procfs/status.rs:116:2 [INFO] [stdout] | [INFO] [stdout] 116 | ProcfsStatus::from_str(&contents).map_err(|e| psutil_error_to_process_error(e, pid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/process/sys/linux/process.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 131 | .filter_map(|entry| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | Err(e) => return Some(Err(psutil_error_to_process_error(e, self.pid))), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Some(Ok(OpenFile { [INFO] [stdout] | ______________________^ [INFO] [stdout] 146 | | fd: Some(fd), [INFO] [stdout] 147 | | path: open_file, [INFO] [stdout] 148 | | })) [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/sensors/sys/linux/temperatures.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 87 | let mut glob_results = glob("/sys/class/hwmon/hwmon*/temp*_input"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | / glob_results [INFO] [stdout] 97 | | .into_iter() [INFO] [stdout] 98 | | .map(|result| match result { [INFO] [stdout] 99 | | Ok(path) => hwmon_sensor(path), [INFO] [stdout] 100 | | Err(e) => Err(e), [INFO] [stdout] 101 | | }) [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/errors.rs:82:2 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn read_file

(path: P) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | fs::read_to_string(&path).map_err(|err| Error::ReadFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/errors.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn read_dir

(path: P) -> Result> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | / fs::read_dir(&path) [INFO] [stdout] 93 | | .map_err(|err| Error::ReadFile { [INFO] [stdout] 94 | | path: path.as_ref().into(), [INFO] [stdout] 95 | | source: err, [INFO] [stdout] ... | [INFO] [stdout] 101 | | }) [INFO] [stdout] 102 | | }) [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/errors.rs:110:2 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn read_link

(path: P) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | fs::read_link(&path).map_err(|err| Error::ReadFile { [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/errors.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 121 | result.map_err(|err| Error::ReadFile { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | path: path.into(), [INFO] [stdout] 123 | source: err.into_error(), [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/process/os/linux/process.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | parse_environ(&contents).map_err(|e| psutil_error_to_process_error(e, self.pid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/process/os/linux/procfs/stat.rs:386:2 [INFO] [stdout] | [INFO] [stdout] 386 | ProcfsStat::from_str(&contents).map_err(|e| psutil_error_to_process_error(e, pid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/process/os/linux/procfs/statm.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | ProcfsStatm::from_str(&contents).map_err(|e| psutil_error_to_process_error(e, pid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/process/os/linux/procfs/status.rs:116:2 [INFO] [stdout] | [INFO] [stdout] 116 | ProcfsStatus::from_str(&contents).map_err(|e| psutil_error_to_process_error(e, pid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/process/sys/linux/process.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 131 | .filter_map(|entry| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | Err(e) => return Some(Err(psutil_error_to_process_error(e, self.pid))), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Some(Ok(OpenFile { [INFO] [stdout] | ______________________^ [INFO] [stdout] 146 | | fd: Some(fd), [INFO] [stdout] 147 | | path: open_file, [INFO] [stdout] 148 | | })) [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/sensors/sys/linux/temperatures.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 87 | let mut glob_results = glob("/sys/class/hwmon/hwmon*/temp*_input"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | / glob_results [INFO] [stdout] 97 | | .into_iter() [INFO] [stdout] 98 | | .map(|result| match result { [INFO] [stdout] 99 | | Ok(path) => hwmon_sensor(path), [INFO] [stdout] 100 | | Err(e) => Err(e), [INFO] [stdout] 101 | | }) [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `psutil` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `psutil` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "7d8eb2c8c736e334bbed2ff20aa792e9393372b1ee72a537d5f80b9be5b03aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8eb2c8c736e334bbed2ff20aa792e9393372b1ee72a537d5f80b9be5b03aa3", kill_on_drop: false }` [INFO] [stdout] 7d8eb2c8c736e334bbed2ff20aa792e9393372b1ee72a537d5f80b9be5b03aa3