[INFO] fetching crate anyhow-std 0.1.4... [INFO] checking anyhow-std-0.1.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate anyhow-std 0.1.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate anyhow-std 0.1.4 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 anyhow-std 0.1.4 [INFO] finished tweaking crates.io crate anyhow-std 0.1.4 [INFO] tweaked toml for crates.io crate anyhow-std 0.1.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1fb0f7465744d61a1d18a7cc024f77041836d52399d7c09c0907df32b0942bb8 [INFO] running `Command { std: "docker" "start" "-a" "1fb0f7465744d61a1d18a7cc024f77041836d52399d7c09c0907df32b0942bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fb0f7465744d61a1d18a7cc024f77041836d52399d7c09c0907df32b0942bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fb0f7465744d61a1d18a7cc024f77041836d52399d7c09c0907df32b0942bb8", kill_on_drop: false }` [INFO] [stdout] 1fb0f7465744d61a1d18a7cc024f77041836d52399d7c09c0907df32b0942bb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a0add9a476437df52fc1a68e706389ef96a1f8581a6f03505438d423c6fcf41e [INFO] running `Command { std: "docker" "start" "-a" "a0add9a476437df52fc1a68e706389ef96a1f8581a6f03505438d423c6fcf41e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking anyhow-std v0.1.4 (/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/env.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn var_os(key: K) -> anyhow::Result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | var_os_without_context(os) [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/fs/readdir.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | item.map(|stditem| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | / stditem [INFO] [stdout] 35 | | .map(DirEntry::from) [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/path.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn $method(&self, $arg: Q) -> anyhow::Result<$ret> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / $cb(self, argref) [INFO] [stdout] 131 | | .with_context(|| format!("with {} {:?}", stringify!($arg), argref.display())) [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 154 | / wrap_method!( [INFO] [stdout] 155 | | strip_prefix_anyhow, [INFO] [stdout] 156 | | Path::strip_prefix, [INFO] [stdout] 157 | | AsRefPath: prefix, [INFO] [stdout] 158 | | &Path [INFO] [stdout] 159 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `wrap_method` (in Nightly builds, run with -Z macro-backtrace for more info) [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/path.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | |p: &Path| p.metadata().map(|md| Metadata::from((md, p.to_path_buf()))), [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/path.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | |p: &Path| p [INFO] [stdout] | ____________________^ [INFO] [stdout] 183 | | .symlink_metadata() [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/path.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn $method(&self, $arg: Q) -> anyhow::Result<$ret> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / $cb(self, argref) [INFO] [stdout] 131 | | .with_context(|| format!("with {} {:?}", stringify!($arg), argref.display())) [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 190 | wrap_method!(copy_anyhow, std::fs::copy, AsRefPath: copy_to, u64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `wrap_method` (in Nightly builds, run with -Z macro-backtrace for more info) [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/path.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn $method(&self, $arg: Q) -> anyhow::Result<$ret> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / $cb(self, argref) [INFO] [stdout] 131 | | .with_context(|| format!("with {} {:?}", stringify!($arg), argref.display())) [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 193 | wrap_method!(hard_link_anyhow, std::fs::hard_link, AsRefPath: link_to, ()); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `wrap_method` (in Nightly builds, run with -Z macro-backtrace for more info) [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/path.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn $method(&self, $arg: Q) -> anyhow::Result<$ret> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / $cb(self, argref) [INFO] [stdout] 131 | | .with_context(|| format!("with {} {:?}", stringify!($arg), argref.display())) [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 199 | wrap_method!(rename_anyhow, std::fs::rename, AsRefPath: rename_to, ()); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `wrap_method` (in Nightly builds, run with -Z macro-backtrace for more info) [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/path.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 213 | fn write_anyhow(&self, contents: C) -> anyhow::Result<()> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | std::fs::write(self, contents) [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/child.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn from((mut child, cmddesc): (std::process::Child, String)) -> Self { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | Child { [INFO] [stdout] 19 | stdin: child.stdin.take(), [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/child.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 17 | fn from((mut child, cmddesc): (std::process::Child, String)) -> Self { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | stdout: child.stdout.take(), [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/child.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 17 | fn from((mut child, cmddesc): (std::process::Child, String)) -> Self { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | stderr: child.stderr.take(), [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/child.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn wait_with_output(self) -> anyhow::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | / self.child [INFO] [stdout] 61 | | .wait_with_output() [INFO] [stdout] 62 | | .map(|o| Output::wrap(o, self.cmddesc.clone())) [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] [stderr] error: could not compile `anyhow-std` (lib) due to 15 previous errors [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/command.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|c| Child::from((c, self.anyhow_context()))) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors [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/env.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn var_os(key: K) -> anyhow::Result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | var_os_without_context(os) [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/fs/readdir.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | item.map(|stditem| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | / stditem [INFO] [stdout] 35 | | .map(DirEntry::from) [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/path.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn $method(&self, $arg: Q) -> anyhow::Result<$ret> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / $cb(self, argref) [INFO] [stdout] 131 | | .with_context(|| format!("with {} {:?}", stringify!($arg), argref.display())) [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 154 | / wrap_method!( [INFO] [stdout] 155 | | strip_prefix_anyhow, [INFO] [stdout] 156 | | Path::strip_prefix, [INFO] [stdout] 157 | | AsRefPath: prefix, [INFO] [stdout] 158 | | &Path [INFO] [stdout] 159 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `wrap_method` (in Nightly builds, run with -Z macro-backtrace for more info) [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/path.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | |p: &Path| p.metadata().map(|md| Metadata::from((md, p.to_path_buf()))), [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/path.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | |p: &Path| p [INFO] [stdout] | ____________________^ [INFO] [stdout] 183 | | .symlink_metadata() [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/path.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn $method(&self, $arg: Q) -> anyhow::Result<$ret> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / $cb(self, argref) [INFO] [stdout] 131 | | .with_context(|| format!("with {} {:?}", stringify!($arg), argref.display())) [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 190 | wrap_method!(copy_anyhow, std::fs::copy, AsRefPath: copy_to, u64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `wrap_method` (in Nightly builds, run with -Z macro-backtrace for more info) [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/path.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn $method(&self, $arg: Q) -> anyhow::Result<$ret> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / $cb(self, argref) [INFO] [stdout] 131 | | .with_context(|| format!("with {} {:?}", stringify!($arg), argref.display())) [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 193 | wrap_method!(hard_link_anyhow, std::fs::hard_link, AsRefPath: link_to, ()); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `wrap_method` (in Nightly builds, run with -Z macro-backtrace for more info) [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/path.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn $method(&self, $arg: Q) -> anyhow::Result<$ret> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / $cb(self, argref) [INFO] [stdout] 131 | | .with_context(|| format!("with {} {:?}", stringify!($arg), argref.display())) [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 199 | wrap_method!(rename_anyhow, std::fs::rename, AsRefPath: rename_to, ()); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `wrap_method` (in Nightly builds, run with -Z macro-backtrace for more info) [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/path.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 213 | fn write_anyhow(&self, contents: C) -> anyhow::Result<()> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | std::fs::write(self, contents) [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/path/tests.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | .and_then(|p| p.to_str_anyhow().map(String::from)), [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/path/tests.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | .and_then(|p| p.to_str_anyhow().map(String::from)), [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/child.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn from((mut child, cmddesc): (std::process::Child, String)) -> Self { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | Child { [INFO] [stdout] 19 | stdin: child.stdin.take(), [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/child.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 17 | fn from((mut child, cmddesc): (std::process::Child, String)) -> Self { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | stdout: child.stdout.take(), [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/child.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 17 | fn from((mut child, cmddesc): (std::process::Child, String)) -> Self { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | stderr: child.stderr.take(), [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/child.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn wait_with_output(self) -> anyhow::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | / self.child [INFO] [stdout] 61 | | .wait_with_output() [INFO] [stdout] 62 | | .map(|o| Output::wrap(o, self.cmddesc.clone())) [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/command.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|c| Child::from((c, self.anyhow_context()))) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anyhow-std` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "a0add9a476437df52fc1a68e706389ef96a1f8581a6f03505438d423c6fcf41e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0add9a476437df52fc1a68e706389ef96a1f8581a6f03505438d423c6fcf41e", kill_on_drop: false }` [INFO] [stdout] a0add9a476437df52fc1a68e706389ef96a1f8581a6f03505438d423c6fcf41e