[INFO] updating cached repository https://github.com/coder543/rush [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95445da9be08716651d75cb19d6ebefd0203fc58 [INFO] checking coder543/rush/95445da9be08716651d75cb19d6ebefd0203fc58 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%2Fcoder543%2Frush" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coder543/rush 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/coder543/rush [INFO] finished tweaking git repo https://github.com/coder543/rush [INFO] tweaked toml for git repo https://github.com/coder543/rush written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/coder543/rush 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 215c28c08761b8cb1ebbe849105f7f964d139dc73b0fd682e6d01e58f57bf772 [INFO] running `Command { std: "docker" "start" "-a" "215c28c08761b8cb1ebbe849105f7f964d139dc73b0fd682e6d01e58f57bf772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "215c28c08761b8cb1ebbe849105f7f964d139dc73b0fd682e6d01e58f57bf772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215c28c08761b8cb1ebbe849105f7f964d139dc73b0fd682e6d01e58f57bf772", kill_on_drop: false }` [INFO] [stdout] 215c28c08761b8cb1ebbe849105f7f964d139dc73b0fd682e6d01e58f57bf772 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6951fe9f35e08f4f2bee2835d01e68d6b5575d072e7b0998d6ed12e85ab50c55 [INFO] running `Command { std: "docker" "start" "-a" "6951fe9f35e08f4f2bee2835d01e68d6b5575d072e7b0998d6ed12e85ab50c55", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking try_opt v0.1.1 [INFO] [stderr] Checking username v0.2.0 [INFO] [stderr] Compiling ncurses v5.86.0 [INFO] [stderr] Checking pancurses v0.11.0 [INFO] [stderr] Checking rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/interpreter/walker.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn run(&self, debug: &DebugInfo, memory: &mut Memory) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter/walker.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | for mut expr in exprs { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backspace` is never used [INFO] [stdout] --> src/windowext.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait WindowExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 5 | fn backspace(&self) -> PResult; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Record` is never constructed [INFO] [stdout] --> src/interactive/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Record { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interactive/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Record { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(text: String) -> Record { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/interactive/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_channel` is never used [INFO] [stdout] --> src/interactive/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn make_channel() -> (Uploader, Recorder) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Recorder` is never constructed [INFO] [stdout] --> src/interactive/recorder.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Recorder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Uploader` is never constructed [INFO] [stdout] --> src/interactive/uploader.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Uploader { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stdout`, `stderr`, `stdin`, and `subrecorder` are never used [INFO] [stdout] --> src/interactive/uploader.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Uploader { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 9 | pub fn stdout>(&self, text: IntoString) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn stderr>(&self, text: IntoString) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn stdin>(&self, text: IntoString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn subrecorder(&self) -> Uploader { [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/interpreter/ast.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 219 | let condition = parse_expr(tokenizer)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | [INFO] [stdout] 221 | let body = parse_exprs(tokenizer, false)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | [INFO] [stdout] 223 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 224 | | Node::While(Box::new(While { condition, body })), [INFO] [stdout] 225 | | debug, [INFO] [stdout] 226 | | )) [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] = 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/interpreter/ast.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 244 | let iterator = parse_expr(tokenizer)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | [INFO] [stdout] 246 | let body = parse_exprs(tokenizer, false)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | [INFO] [stdout] 248 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 249 | | Node::For(Box::new(For { [INFO] [stdout] 250 | | loopvar, [INFO] [stdout] 251 | | iterator, [INFO] [stdout] ... | [INFO] [stdout] 254 | | debug, [INFO] [stdout] 255 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/ast.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 262 | let condition = parse_expr(tokenizer)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | [INFO] [stdout] 264 | let true_body = parse_exprs(tokenizer, false)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | let else_body = parse_exprs(tokenizer, false)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | [INFO] [stdout] 326 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 327 | | Node::If(Box::new(If { [INFO] [stdout] 328 | | condition, [INFO] [stdout] 329 | | true_body, [INFO] [stdout] ... | [INFO] [stdout] 332 | | debug, [INFO] [stdout] 333 | | )) [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] | |_____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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/ast.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 382 | let body = parse_exprs(tokenizer, false)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | [INFO] [stdout] 384 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 385 | | Node::Function(Box::new(Function { name, args, body })), [INFO] [stdout] 386 | | debug, [INFO] [stdout] 387 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/interpreter/ast.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 390 | fn parse_fn_call(primary_expr: Expr, tokenizer: &mut Tokenizer) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 407 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 441 | | Node::Op(Box::new(Operator::Call(fn_name, args))), [INFO] [stdout] 442 | | debug, [INFO] [stdout] 443 | | )) [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/interpreter/ast.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 449 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 476 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 477 | | Node::Op(Box::new(Operator::Command(cmd, args))), [INFO] [stdout] 478 | | debug, [INFO] [stdout] 479 | | )) [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/interpreter/ast.rs:614:8 [INFO] [stdout] | [INFO] [stdout] 610 | first_expr: Expr, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 611 | next_expr: Expr, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 614 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 615 | | Node::Op(Box::new(match op { [INFO] [stdout] 616 | | "+" => Operator::Add(first_expr, next_expr), [INFO] [stdout] 617 | | "-" => Operator::Sub(first_expr, next_expr), [INFO] [stdout] ... | [INFO] [stdout] 687 | | debug.clone(), [INFO] [stdout] 688 | | )) [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/interpreter/ast.rs:817:8 [INFO] [stdout] | [INFO] [stdout] 797 | let mut vals = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 817 | Ok(Expr::new(Node::Array(vals), debug)) [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/interpreter/builtins.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 52 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(Expr::new(Node::Str(str_val), DebugInfo::none())) [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/interpreter/builtins.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 69 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(Expr::new(Node::Int(int_val), DebugInfo::none())) [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/interpreter/builtins.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 90 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | Ok(Expr::new(Node::Float(float_val), DebugInfo::none())) [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/interpreter/builtins.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 112 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(Expr::new(Node::Bool(bool_val), DebugInfo::none())) [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/interpreter/builtins.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 132 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | Ok(Expr::new(Node::Noop, DebugInfo::none())) [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/interpreter/builtins.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 157 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | Ok(Expr::new(Node::Str(str_val), DebugInfo::none())) [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/interpreter/builtins.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 173 | let val = Ident("$array".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(Expr::new(Node::Int(arr_len as i64), DebugInfo::none())) [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] warning: unused variable: `debug` [INFO] [stdout] --> src/interpreter/walker.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn run(&self, debug: &DebugInfo, memory: &mut Memory) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/command.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | panic!(cause); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Box` [INFO] [stdout] | [INFO] [stdout] 73 | panic!("{:?}", cause); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 73 | std::panic::panic_any(cause); [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/interpreter/walker.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | .unwrap_or_else(|| Expr::new(Node::Noop, DebugInfo::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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rush` (lib) due to 17 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter/walker.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | for mut expr in exprs { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backspace` is never used [INFO] [stdout] --> src/windowext.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait WindowExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 5 | fn backspace(&self) -> PResult; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Record` is never constructed [INFO] [stdout] --> src/interactive/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Record { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interactive/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Record { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(text: String) -> Record { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/interactive/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_channel` is never used [INFO] [stdout] --> src/interactive/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn make_channel() -> (Uploader, Recorder) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Recorder` is never constructed [INFO] [stdout] --> src/interactive/recorder.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Recorder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Uploader` is never constructed [INFO] [stdout] --> src/interactive/uploader.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Uploader { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stdout`, `stderr`, `stdin`, and `subrecorder` are never used [INFO] [stdout] --> src/interactive/uploader.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Uploader { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 9 | pub fn stdout>(&self, text: IntoString) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn stderr>(&self, text: IntoString) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn stdin>(&self, text: IntoString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn subrecorder(&self) -> Uploader { [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/interpreter/ast.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 219 | let condition = parse_expr(tokenizer)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | [INFO] [stdout] 221 | let body = parse_exprs(tokenizer, false)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | [INFO] [stdout] 223 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 224 | | Node::While(Box::new(While { condition, body })), [INFO] [stdout] 225 | | debug, [INFO] [stdout] 226 | | )) [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] = 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/interpreter/ast.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 244 | let iterator = parse_expr(tokenizer)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | [INFO] [stdout] 246 | let body = parse_exprs(tokenizer, false)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | [INFO] [stdout] 248 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 249 | | Node::For(Box::new(For { [INFO] [stdout] 250 | | loopvar, [INFO] [stdout] 251 | | iterator, [INFO] [stdout] ... | [INFO] [stdout] 254 | | debug, [INFO] [stdout] 255 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/ast.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 262 | let condition = parse_expr(tokenizer)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | [INFO] [stdout] 264 | let true_body = parse_exprs(tokenizer, false)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | let else_body = parse_exprs(tokenizer, false)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | [INFO] [stdout] 326 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 327 | | Node::If(Box::new(If { [INFO] [stdout] 328 | | condition, [INFO] [stdout] 329 | | true_body, [INFO] [stdout] ... | [INFO] [stdout] 332 | | debug, [INFO] [stdout] 333 | | )) [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] | |_____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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/ast.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 382 | let body = parse_exprs(tokenizer, false)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | [INFO] [stdout] 384 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 385 | | Node::Function(Box::new(Function { name, args, body })), [INFO] [stdout] 386 | | debug, [INFO] [stdout] 387 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/interpreter/ast.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 390 | fn parse_fn_call(primary_expr: Expr, tokenizer: &mut Tokenizer) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 407 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 441 | | Node::Op(Box::new(Operator::Call(fn_name, args))), [INFO] [stdout] 442 | | debug, [INFO] [stdout] 443 | | )) [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/interpreter/ast.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 449 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 476 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 477 | | Node::Op(Box::new(Operator::Command(cmd, args))), [INFO] [stdout] 478 | | debug, [INFO] [stdout] 479 | | )) [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/interpreter/ast.rs:614:8 [INFO] [stdout] | [INFO] [stdout] 610 | first_expr: Expr, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 611 | next_expr: Expr, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 614 | Ok(Expr::new( [INFO] [stdout] | ________^ [INFO] [stdout] 615 | | Node::Op(Box::new(match op { [INFO] [stdout] 616 | | "+" => Operator::Add(first_expr, next_expr), [INFO] [stdout] 617 | | "-" => Operator::Sub(first_expr, next_expr), [INFO] [stdout] ... | [INFO] [stdout] 687 | | debug.clone(), [INFO] [stdout] 688 | | )) [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/interpreter/ast.rs:817:8 [INFO] [stdout] | [INFO] [stdout] 797 | let mut vals = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 817 | Ok(Expr::new(Node::Array(vals), debug)) [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/interpreter/builtins.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 52 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(Expr::new(Node::Str(str_val), DebugInfo::none())) [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/interpreter/builtins.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 69 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(Expr::new(Node::Int(int_val), DebugInfo::none())) [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/interpreter/builtins.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 90 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | Ok(Expr::new(Node::Float(float_val), DebugInfo::none())) [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/interpreter/builtins.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 112 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(Expr::new(Node::Bool(bool_val), DebugInfo::none())) [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/interpreter/builtins.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 132 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | Ok(Expr::new(Node::Noop, DebugInfo::none())) [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/interpreter/builtins.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 157 | let val = Ident("$val".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | Ok(Expr::new(Node::Str(str_val), DebugInfo::none())) [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/interpreter/builtins.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 173 | let val = Ident("$array".to_string()).run(&mut DebugInfo::none(), memory)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(Expr::new(Node::Int(arr_len as i64), DebugInfo::none())) [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] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/command.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | panic!(cause); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Box` [INFO] [stdout] | [INFO] [stdout] 73 | panic!("{:?}", cause); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 73 | std::panic::panic_any(cause); [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/interpreter/walker.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | .unwrap_or_else(|| Expr::new(Node::Noop, DebugInfo::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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rush` (lib test) due to 17 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6951fe9f35e08f4f2bee2835d01e68d6b5575d072e7b0998d6ed12e85ab50c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6951fe9f35e08f4f2bee2835d01e68d6b5575d072e7b0998d6ed12e85ab50c55", kill_on_drop: false }` [INFO] [stdout] 6951fe9f35e08f4f2bee2835d01e68d6b5575d072e7b0998d6ed12e85ab50c55