[INFO] fetching crate nexus-lib 0.1.0... [INFO] checking nexus-lib-0.1.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate nexus-lib 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate nexus-lib 0.1.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nexus-lib 0.1.0 [INFO] finished tweaking crates.io crate nexus-lib 0.1.0 [INFO] tweaked toml for crates.io crate nexus-lib 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding clutils v0.0.7 (available: v0.0.11) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbc2a19dd35878a7bb8f644231f8d42c9f0ae9cfe9e5587a4d5d7aefd1de5882 [INFO] running `Command { std: "docker" "start" "-a" "fbc2a19dd35878a7bb8f644231f8d42c9f0ae9cfe9e5587a4d5d7aefd1de5882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbc2a19dd35878a7bb8f644231f8d42c9f0ae9cfe9e5587a4d5d7aefd1de5882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbc2a19dd35878a7bb8f644231f8d42c9f0ae9cfe9e5587a4d5d7aefd1de5882", kill_on_drop: false }` [INFO] [stdout] fbc2a19dd35878a7bb8f644231f8d42c9f0ae9cfe9e5587a4d5d7aefd1de5882 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c085705c31fe9a4400aff2f8120f08f98df908ef3445143c6b4ec93a8f52d8b [INFO] running `Command { std: "docker" "start" "-a" "9c085705c31fe9a4400aff2f8120f08f98df908ef3445143c6b4ec93a8f52d8b", kill_on_drop: false }` [INFO] [stderr] Checking clutils v0.0.7 [INFO] [stderr] Checking nexus-lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser/ast.rs:223:45 [INFO] [stdout] | [INFO] [stdout] 223 | Statement::Variable(var) => format!( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 224 | | "{} {} = {}", [INFO] [stdout] 225 | | match var.is_const { [INFO] [stdout] 226 | | true => "const", [INFO] [stdout] ... | [INFO] [stdout] 229 | | todo!(), //var.name, [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 230 | | var.val, [INFO] [stdout] 231 | | ), [INFO] [stdout] | |_________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser/ast.rs:223:45 [INFO] [stdout] | [INFO] [stdout] 223 | Statement::Variable(var) => format!( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 224 | | "{} {} = {}", [INFO] [stdout] 225 | | match var.is_const { [INFO] [stdout] 226 | | true => "const", [INFO] [stdout] ... | [INFO] [stdout] 229 | | todo!(), //var.name, [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 230 | | var.val, [INFO] [stdout] 231 | | ), [INFO] [stdout] | |_________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/parser/ast.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | Statement::Return(ret) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `br` [INFO] [stdout] --> src/parser/ast.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | Statement::Break(br) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_br` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lcl` [INFO] [stdout] --> src/parser/ast.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | Statement::Local(lcl) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lcl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/mod.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 108 | fn eval_prefix(&mut self, node: PrefixExpr) -> Object { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let val = self.eval_expr(*node.val); [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: variants `CONTAINS`, `RANGE`, and `CONVERSION` are never constructed [INFO] [stdout] --> src/parser/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | CONTAINS, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | RANGE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | CONVERSION, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/parser/ast.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | Statement::Return(ret) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `br` [INFO] [stdout] --> src/parser/ast.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | Statement::Break(br) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_br` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lcl` [INFO] [stdout] --> src/parser/ast.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | Statement::Local(lcl) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lcl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nexus-lib` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/mod.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 108 | fn eval_prefix(&mut self, node: PrefixExpr) -> Object { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let val = self.eval_expr(*node.val); [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: variants `CONTAINS`, `RANGE`, and `CONVERSION` are never constructed [INFO] [stdout] --> src/parser/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | CONTAINS, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | RANGE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | CONVERSION, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nexus-lib` (lib) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c085705c31fe9a4400aff2f8120f08f98df908ef3445143c6b4ec93a8f52d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c085705c31fe9a4400aff2f8120f08f98df908ef3445143c6b4ec93a8f52d8b", kill_on_drop: false }` [INFO] [stdout] 9c085705c31fe9a4400aff2f8120f08f98df908ef3445143c6b4ec93a8f52d8b