[INFO] cloning repository https://github.com/Lunderberg/dwarf-to-struct [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lunderberg/dwarf-to-struct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunderberg%2Fdwarf-to-struct", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunderberg%2Fdwarf-to-struct'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e650c7d080d415aeb6738b3c7880dd85e2b96f32 [INFO] checking Lunderberg/dwarf-to-struct/e650c7d080d415aeb6738b3c7880dd85e2b96f32 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%2FLunderberg%2Fdwarf-to-struct" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lunderberg/dwarf-to-struct 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/Lunderberg/dwarf-to-struct [INFO] finished tweaking git repo https://github.com/Lunderberg/dwarf-to-struct [INFO] tweaked toml for git repo https://github.com/Lunderberg/dwarf-to-struct written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lunderberg/dwarf-to-struct 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6d9f605c3fd2a4bf69ff45c8cc3d2c67d8c65f04c11827542d14e0740afb9ae8 [INFO] running `Command { std: "docker" "start" "-a" "6d9f605c3fd2a4bf69ff45c8cc3d2c67d8c65f04c11827542d14e0740afb9ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d9f605c3fd2a4bf69ff45c8cc3d2c67d8c65f04c11827542d14e0740afb9ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9f605c3fd2a4bf69ff45c8cc3d2c67d8c65f04c11827542d14e0740afb9ae8", kill_on_drop: false }` [INFO] [stdout] 6d9f605c3fd2a4bf69ff45c8cc3d2c67d8c65f04c11827542d14e0740afb9ae8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f82910ba382d9a36bdc7e2f29dcfcf3a67f81ca3c5365bd357e69e0e33558104 [INFO] running `Command { std: "docker" "start" "-a" "f82910ba382d9a36bdc7e2f29dcfcf3a67f81ca3c5365bd357e69e0e33558104", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking ruzstd v0.7.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.73 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Checking dwarf-to-struct v0.1.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/main.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | let units = dwarf.units().map(|header| dwarf.unit(header)).collect()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Ok(Self { dwarf, units }) [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] = 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/main.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 202 | .map(|attr_value| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | / self.dwarf [INFO] [stdout] 204 | | .attr_string(self.unit, attr_value) [INFO] [stdout] 205 | | .unwrap() [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/main.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 278 | fn expand_type_defs(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | / std::iter::successors(Some(self), |entry| { [INFO] [stdout] 280 | | (entry.tag() == gimli::DW_TAG_typedef).then(|| entry.class().unwrap()) [INFO] [stdout] 281 | | }) [INFO] [stdout] 282 | | .last() [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/main.rs:280:60 [INFO] [stdout] | [INFO] [stdout] 280 | (entry.tag() == gimli::DW_TAG_typedef).then(|| entry.class().unwrap()) [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/main.rs:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | .map(|path| std::fs::read(path).unwrap()); [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/main.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | let units = dwarf.units().map(|header| dwarf.unit(header)).collect()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Ok(Self { dwarf, units }) [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] = 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/main.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 202 | .map(|attr_value| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | / self.dwarf [INFO] [stdout] 204 | | .attr_string(self.unit, attr_value) [INFO] [stdout] 205 | | .unwrap() [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 5 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/main.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 278 | fn expand_type_defs(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | / std::iter::successors(Some(self), |entry| { [INFO] [stdout] 280 | | (entry.tag() == gimli::DW_TAG_typedef).then(|| entry.class().unwrap()) [INFO] [stdout] 281 | | }) [INFO] [stdout] 282 | | .last() [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/main.rs:280:60 [INFO] [stdout] | [INFO] [stdout] 280 | (entry.tag() == gimli::DW_TAG_typedef).then(|| entry.class().unwrap()) [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/main.rs:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | .map(|path| std::fs::read(path).unwrap()); [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dwarf-to-struct` (bin "dwarf-to-struct") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dwarf-to-struct` (bin "dwarf-to-struct" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "f82910ba382d9a36bdc7e2f29dcfcf3a67f81ca3c5365bd357e69e0e33558104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f82910ba382d9a36bdc7e2f29dcfcf3a67f81ca3c5365bd357e69e0e33558104", kill_on_drop: false }` [INFO] [stdout] f82910ba382d9a36bdc7e2f29dcfcf3a67f81ca3c5365bd357e69e0e33558104