[INFO] cloning repository https://github.com/JuniMay/zuan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JuniMay/zuan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuniMay%2Fzuan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuniMay%2Fzuan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0692933827c8e810a2c00f3bca0f039876b82c99 [INFO] checking JuniMay/zuan/0692933827c8e810a2c00f3bca0f039876b82c99 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%2FJuniMay%2Fzuan" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JuniMay/zuan 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/JuniMay/zuan [INFO] finished tweaking git repo https://github.com/JuniMay/zuan [INFO] tweaked toml for git repo https://github.com/JuniMay/zuan written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JuniMay/zuan 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cf584d9332b36f8754f6e122193382a6d88fedde153bf1806cc986b42bb99bd0 [INFO] running `Command { std: "docker" "start" "-a" "cf584d9332b36f8754f6e122193382a6d88fedde153bf1806cc986b42bb99bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf584d9332b36f8754f6e122193382a6d88fedde153bf1806cc986b42bb99bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf584d9332b36f8754f6e122193382a6d88fedde153bf1806cc986b42bb99bd0", kill_on_drop: false }` [INFO] [stdout] cf584d9332b36f8754f6e122193382a6d88fedde153bf1806cc986b42bb99bd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f513f82c073067b9123e062badcb3043092799561c03abb7f74230f94f8dc17c [INFO] running `Command { std: "docker" "start" "-a" "f513f82c073067b9123e062badcb3043092799561c03abb7f74230f94f8dc17c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking zuan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `valid` is never read [INFO] [stdout] --> src/core/graph/control_dependence.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ControlDependenceGraph { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 18 | cdg: HashMap>, [INFO] [stdout] 19 | valid: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_valid`, `clear`, `invalidate`, `compute`, and `compute_from_df` are never used [INFO] [stdout] --> src/core/graph/control_dependence.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 31 | / impl ControlDependenceGraph [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | N: Copy + Eq + Hash, [INFO] [stdout] | |________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn is_valid(&self) -> bool { self.valid } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn invalidate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn compute(&mut self, graph: &G, post_domtree: &mut D) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn compute_from_df(&mut self, post_df: &DominanceFrontierInfo, nodes: &[N]) [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/core/graph/adapters/exit_consolidator.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | .filter(|&n| graph.succs(n).into_iter().next().is_none()) [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/core/storage.rs:81:67 [INFO] [stdout] | [INFO] [stdout] 81 | fn alloc(&mut self, data: Ptr::Data) -> Ptr { self.alloc_with(|_| data) } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/union_find.rs:448:72 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn insert(&mut self, value: T) -> Set { self.insert_with(|_| value) } [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zuan` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `valid` is never read [INFO] [stdout] --> src/core/graph/control_dependence.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ControlDependenceGraph { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 18 | cdg: HashMap>, [INFO] [stdout] 19 | valid: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_valid`, `clear`, `invalidate`, `compute`, and `compute_from_df` are never used [INFO] [stdout] --> src/core/graph/control_dependence.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 31 | / impl ControlDependenceGraph [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | N: Copy + Eq + Hash, [INFO] [stdout] | |________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn is_valid(&self) -> bool { self.valid } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn invalidate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn compute(&mut self, graph: &G, post_domtree: &mut D) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn compute_from_df(&mut self, post_df: &DominanceFrontierInfo, nodes: &[N]) [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/core/graph/adapters/exit_consolidator.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | .filter(|&n| graph.succs(n).into_iter().next().is_none()) [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/core/linked_list.rs:791:40 [INFO] [stdout] | [INFO] [stdout] 787 | fn alloc_with(&mut self, f: F) -> Node [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 791 | Node(self.nodes.alloc_with(|ptr| f(Node(ptr)))) [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/core/linked_list.rs:810:50 [INFO] [stdout] | [INFO] [stdout] 806 | fn alloc_with(&mut self, f: F) -> Container [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 810 | Container(self.containers.alloc_with(|ptr| f(Container(ptr)))) [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/core/storage.rs:81:67 [INFO] [stdout] | [INFO] [stdout] 81 | fn alloc(&mut self, data: Ptr::Data) -> Ptr { self.alloc_with(|_| data) } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/union_find.rs:448:72 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn insert(&mut self, value: T) -> Set { self.insert_with(|_| value) } [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 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zuan` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f513f82c073067b9123e062badcb3043092799561c03abb7f74230f94f8dc17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f513f82c073067b9123e062badcb3043092799561c03abb7f74230f94f8dc17c", kill_on_drop: false }` [INFO] [stdout] f513f82c073067b9123e062badcb3043092799561c03abb7f74230f94f8dc17c