[INFO] fetching crate hlbc-decompiler 0.7.0... [INFO] checking hlbc-decompiler-0.7.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate hlbc-decompiler 0.7.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate hlbc-decompiler 0.7.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hlbc-decompiler 0.7.0 [INFO] finished tweaking crates.io crate hlbc-decompiler 0.7.0 [INFO] tweaked toml for crates.io crate hlbc-decompiler 0.7.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ffa966f67045a988bf43355ad4474fe54b0ee5abae99d932c5af79fac7b7789 [INFO] running `Command { std: "docker" "start" "-a" "9ffa966f67045a988bf43355ad4474fe54b0ee5abae99d932c5af79fac7b7789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ffa966f67045a988bf43355ad4474fe54b0ee5abae99d932c5af79fac7b7789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ffa966f67045a988bf43355ad4474fe54b0ee5abae99d932c5af79fac7b7789", kill_on_drop: false }` [INFO] [stdout] 9ffa966f67045a988bf43355ad4474fe54b0ee5abae99d932c5af79fac7b7789 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c81afdc479d1a3f7f75b09c8820f82f786ed81a7dcb15add74a23aa4a258663e [INFO] running `Command { std: "docker" "start" "-a" "c81afdc479d1a3f7f75b09c8820f82f786ed81a7dcb15add74a23aa4a258663e", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking fmtools v0.1.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking flexstr v0.9.2 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling hlbc-derive v0.7.0 [INFO] [stderr] Checking hlbc v0.7.0 [INFO] [stderr] Checking hlbc-decompiler v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/lib.rs:879:9 [INFO] [stdout] | [INFO] [stdout] 879 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/post.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | fn visit_stmt(&mut self, code: &Bytecode, stmt: &mut Statement) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/post.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | fn visit_stmt(&mut self, code: &Bytecode, stmt: &mut Statement) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/post.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | fn visit_expr(&mut self, code: &Bytecode, expr: &mut Expr) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/post.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | fn visit_expr(&mut self, code: &Bytecode, expr: &mut Expr) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scopes.rs:131:50 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn statements(mut self) -> Vec { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | if let Some(Scope { stmts, data, .. }) = self.scopes.pop() { [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] warning: unused variable: `exc` [INFO] [stdout] --> src/lib.rs:298:29 [INFO] [stdout] | [INFO] [stdout] 298 | &Opcode::Trap { exc, offset } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `exc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exc` [INFO] [stdout] --> src/lib.rs:301:32 [INFO] [stdout] | [INFO] [stdout] 301 | &Opcode::EndTrap { exc } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `exc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `construct` [INFO] [stdout] --> src/lib.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | construct, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `construct: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:712:32 [INFO] [stdout] | [INFO] [stdout] 712 | Expr::Variable(r, name) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:712:35 [INFO] [stdout] | [INFO] [stdout] 712 | Expr::Variable(r, name) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Catch` is never constructed [INFO] [stdout] --> src/scopes.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) enum ScopeData { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | Catch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScopeData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_catch` is never used [INFO] [stdout] --> src/scopes.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 88 | impl Scopes { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) fn push_catch(&mut self, len: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hlbc-decompiler` (lib test) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/post.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | fn visit_stmt(&mut self, code: &Bytecode, stmt: &mut Statement) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/post.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | fn visit_stmt(&mut self, code: &Bytecode, stmt: &mut Statement) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/post.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | fn visit_expr(&mut self, code: &Bytecode, expr: &mut Expr) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/post.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | fn visit_expr(&mut self, code: &Bytecode, expr: &mut Expr) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scopes.rs:131:50 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn statements(mut self) -> Vec { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | if let Some(Scope { stmts, data, .. }) = self.scopes.pop() { [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] warning: unused variable: `exc` [INFO] [stdout] --> src/lib.rs:298:29 [INFO] [stdout] | [INFO] [stdout] 298 | &Opcode::Trap { exc, offset } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `exc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exc` [INFO] [stdout] --> src/lib.rs:301:32 [INFO] [stdout] | [INFO] [stdout] 301 | &Opcode::EndTrap { exc } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `exc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `construct` [INFO] [stdout] --> src/lib.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | construct, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `construct: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:712:32 [INFO] [stdout] | [INFO] [stdout] 712 | Expr::Variable(r, name) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:712:35 [INFO] [stdout] | [INFO] [stdout] 712 | Expr::Variable(r, name) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Catch` is never constructed [INFO] [stdout] --> src/scopes.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) enum ScopeData { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | Catch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScopeData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_catch` is never used [INFO] [stdout] --> src/scopes.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 88 | impl Scopes { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) fn push_catch(&mut self, len: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hlbc-decompiler` (lib) due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c81afdc479d1a3f7f75b09c8820f82f786ed81a7dcb15add74a23aa4a258663e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81afdc479d1a3f7f75b09c8820f82f786ed81a7dcb15add74a23aa4a258663e", kill_on_drop: false }` [INFO] [stdout] c81afdc479d1a3f7f75b09c8820f82f786ed81a7dcb15add74a23aa4a258663e