[INFO] cloning repository https://github.com/AZanellato/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AZanellato/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAZanellato%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAZanellato%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2007fb96511e6ca33b3f71b94f65882cf3ae2554 [INFO] checking AZanellato/rlox against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAZanellato%2Frlox" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AZanellato/rlox on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AZanellato/rlox [INFO] finished tweaking git repo https://github.com/AZanellato/rlox [INFO] tweaked toml for git repo https://github.com/AZanellato/rlox written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AZanellato/rlox 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8parse v0.1.1 [INFO] [stderr] Downloaded constant_time_eq v0.1.4 [INFO] [stderr] Downloaded backtrace v0.3.35 [INFO] [stderr] Downloaded blake2b_simd v0.5.7 [INFO] [stderr] Downloaded output_vt100 v0.1.2 [INFO] [stderr] Downloaded ctor v0.1.15 [INFO] [stderr] Downloaded cc v1.0.41 [INFO] [stderr] Downloaded getrandom v0.1.12 [INFO] [stderr] Downloaded autocfg v0.1.6 [INFO] [stderr] Downloaded rand_pcg v0.2.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.5 [INFO] [stderr] Downloaded arrayvec v0.4.11 [INFO] [stderr] Downloaded rustyline v5.0.2 [INFO] [stderr] Downloaded pretty_assertions v0.6.1 [INFO] [stderr] Downloaded unicode-segmentation v1.3.0 [INFO] [stderr] Downloaded syn v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6ca4c6ecf3001faabfd2dd927ddd2dcb84565415acc53af967e6a2b0b0de86c [INFO] running `Command { std: "docker" "start" "-a" "b6ca4c6ecf3001faabfd2dd927ddd2dcb84565415acc53af967e6a2b0b0de86c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6ca4c6ecf3001faabfd2dd927ddd2dcb84565415acc53af967e6a2b0b0de86c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ca4c6ecf3001faabfd2dd927ddd2dcb84565415acc53af967e6a2b0b0de86c", kill_on_drop: false }` [INFO] [stdout] b6ca4c6ecf3001faabfd2dd927ddd2dcb84565415acc53af967e6a2b0b0de86c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98f8543cbde49faac3a77d76e1930bb3597ff4526d568f207007be167715c63e [INFO] running `Command { std: "docker" "start" "-a" "98f8543cbde49faac3a77d76e1930bb3597ff4526d568f207007be167715c63e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking rustyline v5.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lox/interpreter/interpreter.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lox::expr::Literal as ExprLiteral` [INFO] [stdout] --> src/lox/interpreter/interpreter.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | use crate::lox::expr::Literal as ExprLiteral; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Literal`, `TokenType`, and `Token` [INFO] [stdout] --> src/lox/interpreter/interpreter.rs:259:29 [INFO] [stdout] | [INFO] [stdout] 259 | use crate::lox::token::{Literal, Token, TokenType}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `had_runtime_errors` is never read [INFO] [stdout] --> src/lox/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Lox { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 19 | had_errors: bool, [INFO] [stdout] 20 | had_runtime_errors: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lox` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `had_runtime_errors` is never read [INFO] [stdout] --> src/lox/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Lox { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 19 | had_errors: bool, [INFO] [stdout] 20 | had_runtime_errors: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lox` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.17s [INFO] running `Command { std: "docker" "inspect" "98f8543cbde49faac3a77d76e1930bb3597ff4526d568f207007be167715c63e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f8543cbde49faac3a77d76e1930bb3597ff4526d568f207007be167715c63e", kill_on_drop: false }` [INFO] [stdout] 98f8543cbde49faac3a77d76e1930bb3597ff4526d568f207007be167715c63e [INFO] checking AZanellato/rlox against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAZanellato%2Frlox" "/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/AZanellato/rlox on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AZanellato/rlox [INFO] finished tweaking git repo https://github.com/AZanellato/rlox [INFO] tweaked toml for git repo https://github.com/AZanellato/rlox written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AZanellato/rlox 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67dafee8b5088bdd059431829d4db0febe9e67ea1068e9ca098cce620310db02 [INFO] running `Command { std: "docker" "start" "-a" "67dafee8b5088bdd059431829d4db0febe9e67ea1068e9ca098cce620310db02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67dafee8b5088bdd059431829d4db0febe9e67ea1068e9ca098cce620310db02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67dafee8b5088bdd059431829d4db0febe9e67ea1068e9ca098cce620310db02", kill_on_drop: false }` [INFO] [stdout] 67dafee8b5088bdd059431829d4db0febe9e67ea1068e9ca098cce620310db02 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d40c5cdb97af21cfbab380182bbaf8beeba54f1cdf9418edd026497eb8c7812f [INFO] running `Command { std: "docker" "start" "-a" "d40c5cdb97af21cfbab380182bbaf8beeba54f1cdf9418edd026497eb8c7812f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.2.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking rustyline v5.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lox/interpreter/interpreter.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lox::expr::Literal as ExprLiteral` [INFO] [stdout] --> src/lox/interpreter/interpreter.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | use crate::lox::expr::Literal as ExprLiteral; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Literal`, `TokenType`, and `Token` [INFO] [stdout] --> src/lox/interpreter/interpreter.rs:259:29 [INFO] [stdout] | [INFO] [stdout] 259 | use crate::lox::token::{Literal, Token, TokenType}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `had_runtime_errors` is never read [INFO] [stdout] --> src/lox/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Lox { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 19 | had_errors: bool, [INFO] [stdout] 20 | had_runtime_errors: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lox` 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] 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/lox/interpreter/interpreter.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 80 | fn evaluate_declaration(&mut self, var: Var) -> Value { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | self.env.borrow_mut().get(&var.name).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] = 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/lox/parser.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 63 | let value = self.expression(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Some(Stmt::Print(value.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/lox/parser.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 148 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Some(Stmt::Block(Block { [INFO] [stdout] | ______________^ [INFO] [stdout] 168 | | stmt_vec: statements, [INFO] [stdout] 169 | | })) [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/lox/parser.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 256 | let condition = self.expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | let if_stmt = self.next_stmt()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | let mut else_stmt = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Some(Stmt::If(IfStmt { [INFO] [stdout] | ______________^ [INFO] [stdout] 271 | | condition, [INFO] [stdout] 272 | | truth_branch: Box::new(if_stmt), [INFO] [stdout] 273 | | false_branch: Box::new(else_stmt), [INFO] [stdout] 274 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` (bin "rlox") due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `had_runtime_errors` is never read [INFO] [stdout] --> src/lox/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Lox { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 19 | had_errors: bool, [INFO] [stdout] 20 | had_runtime_errors: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lox` 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] 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/lox/interpreter/interpreter.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 80 | fn evaluate_declaration(&mut self, var: Var) -> Value { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | self.env.borrow_mut().get(&var.name).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] = 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/lox/parser.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 63 | let value = self.expression(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Some(Stmt::Print(value.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/lox/parser.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 148 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Some(Stmt::Block(Block { [INFO] [stdout] | ______________^ [INFO] [stdout] 168 | | stmt_vec: statements, [INFO] [stdout] 169 | | })) [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/lox/parser.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 256 | let condition = self.expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | let if_stmt = self.next_stmt()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | let mut else_stmt = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Some(Stmt::If(IfStmt { [INFO] [stdout] | ______________^ [INFO] [stdout] 271 | | condition, [INFO] [stdout] 272 | | truth_branch: Box::new(if_stmt), [INFO] [stdout] 273 | | false_branch: Box::new(else_stmt), [INFO] [stdout] 274 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` (bin "rlox" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d40c5cdb97af21cfbab380182bbaf8beeba54f1cdf9418edd026497eb8c7812f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d40c5cdb97af21cfbab380182bbaf8beeba54f1cdf9418edd026497eb8c7812f", kill_on_drop: false }` [INFO] [stdout] d40c5cdb97af21cfbab380182bbaf8beeba54f1cdf9418edd026497eb8c7812f