[INFO] cloning repository https://github.com/bwhetherington/rscript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bwhetherington/rscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwhetherington%2Frscript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwhetherington%2Frscript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e512dba278b7bc4f25b948d357ec7c7bf37db8d0 [INFO] checking bwhetherington/rscript/e512dba278b7bc4f25b948d357ec7c7bf37db8d0 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%2Fbwhetherington%2Frscript" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bwhetherington/rscript 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/bwhetherington/rscript [INFO] finished tweaking git repo https://github.com/bwhetherington/rscript [INFO] tweaked toml for git repo https://github.com/bwhetherington/rscript written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bwhetherington/rscript 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9d895b3b4f1ecec2b9db54a78ab4262af68b2aab7837650506e1b28d305e6646 [INFO] running `Command { std: "docker" "start" "-a" "9d895b3b4f1ecec2b9db54a78ab4262af68b2aab7837650506e1b28d305e6646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d895b3b4f1ecec2b9db54a78ab4262af68b2aab7837650506e1b28d305e6646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d895b3b4f1ecec2b9db54a78ab4262af68b2aab7837650506e1b28d305e6646", kill_on_drop: false }` [INFO] [stdout] 9d895b3b4f1ecec2b9db54a78ab4262af68b2aab7837650506e1b28d305e6646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 05ecaee194b21f27fa2185922ffde35549171c16e52329096608e5c157cc55b0 [INFO] running `Command { std: "docker" "start" "-a" "05ecaee194b21f27fa2185922ffde35549171c16e52329096608e5c157cc55b0", kill_on_drop: false }` [INFO] [stderr] Checking rscript v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/codegen/js.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `obj::*` [INFO] [stdout] --> src/engine/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use obj::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/codegen/js.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `obj::*` [INFO] [stdout] --> src/engine/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use obj::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/vm.rs:329:41 [INFO] [stdout] | [INFO] [stdout] 329 | obj_proto.define_method("new", |engine, this, args| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/vm.rs:351:49 [INFO] [stdout] | [INFO] [stdout] 351 | obj_proto.define_method("instance_of", |engine, this, args| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/engine/vm.rs:562:17 [INFO] [stdout] | [INFO] [stdout] 562 | (_, xs) => Err(EvalError::arity_mismatch(1, xs.len())), [INFO] [stdout] | ^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/engine/vm.rs:562:17 [INFO] [stdout] | [INFO] [stdout] 553 | (Value::Object(this), []) => match this.borrow().get("data") { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 561 | (other, _) => Err(EvalError::type_mismatch("Object", other.type_of())), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 562 | (_, xs) => Err(EvalError::arity_mismatch(1, xs.len())), [INFO] [stdout] | ^^^^^^^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/vm.rs:572:41 [INFO] [stdout] | [INFO] [stdout] 572 | str_proto.define_method("new", |engine, this, args| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/engine/vm.rs:1644:35 [INFO] [stdout] | [INFO] [stdout] 1644 | fn capture_environment(&self, expr: &Expression) -> Frame { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/vm.rs:1645:13 [INFO] [stdout] | [INFO] [stdout] 1645 | let mut frame = HashMap::new(); [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: unused variable: `other` [INFO] [stdout] --> src/engine/vm.rs:1710:21 [INFO] [stdout] | [INFO] [stdout] 1710 | other => self.evaluate(then), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser/ast.rs:1559:21 [INFO] [stdout] | [INFO] [stdout] 1559 | Boolean(b) => write!(f, "False"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/parser/ast.rs:1563:31 [INFO] [stdout] | [INFO] [stdout] 1563 | Block(statements, expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/parser/ast.rs:1565:21 [INFO] [stdout] | [INFO] [stdout] 1565 | for statement in statements {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/vm.rs:329:41 [INFO] [stdout] | [INFO] [stdout] 329 | obj_proto.define_method("new", |engine, this, args| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/vm.rs:351:49 [INFO] [stdout] | [INFO] [stdout] 351 | obj_proto.define_method("instance_of", |engine, this, args| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/engine/vm.rs:562:17 [INFO] [stdout] | [INFO] [stdout] 562 | (_, xs) => Err(EvalError::arity_mismatch(1, xs.len())), [INFO] [stdout] | ^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/engine/vm.rs:562:17 [INFO] [stdout] | [INFO] [stdout] 553 | (Value::Object(this), []) => match this.borrow().get("data") { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 561 | (other, _) => Err(EvalError::type_mismatch("Object", other.type_of())), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 562 | (_, xs) => Err(EvalError::arity_mismatch(1, xs.len())), [INFO] [stdout] | ^^^^^^^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/parser/lexer.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let loc = self.loc; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/vm.rs:572:41 [INFO] [stdout] | [INFO] [stdout] 572 | str_proto.define_method("new", |engine, this, args| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/parser/mod.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let col = self.col as isize + col_offset; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/parser/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let row = self.row as isize + row_offset; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Builtin` is more private than the item `vm2::Value::Builtin::0` [INFO] [stdout] --> src/engine/vm2.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Builtin(Builtin), [INFO] [stdout] | ^^^^^^^ field `vm2::Value::Builtin::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Builtin` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/engine/vm2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Builtin(Rc EvalResult>); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Str` is never used [INFO] [stdout] --> src/codegen/js.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Str = Rc; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Definition` is never used [INFO] [stdout] --> src/codegen/js.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Definition = (Str, JsValue); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsBody` is never used [INFO] [stdout] --> src/codegen/js.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum JsBody { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsStatement` is never used [INFO] [stdout] --> src/codegen/js.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum JsStatement {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsValue` is never used [INFO] [stdout] --> src/codegen/js.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/env.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Environment { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `frames_mut` is never used [INFO] [stdout] --> src/engine/ignore.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Ignore { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn frames_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_isize` is never used [INFO] [stdout] --> src/engine/vm.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn is_isize(num: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instructions` is never read [INFO] [stdout] --> src/engine/vm.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 145 | instructions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `define_io_built_ins`, `module_root`, and `capture_environment` are never used [INFO] [stdout] --> src/engine/vm.rs:771:8 [INFO] [stdout] | [INFO] [stdout] 249 | impl Engine { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 771 | fn define_io_built_ins(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1167 | fn module_root(&self) -> &Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | fn capture_environment(&self, expr: &Expression) -> Frame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ClonePtr` is never used [INFO] [stdout] --> src/engine/vm.rs:2229:7 [INFO] [stdout] | [INFO] [stdout] 2229 | trait ClonePtr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `params`, and `children` are never read [INFO] [stdout] --> src/parser/ast.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct XmlNode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 67 | value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XmlNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_interface_alias_statement` is never used [INFO] [stdout] --> src/parser/ast.rs:1357:8 [INFO] [stdout] | [INFO] [stdout] 416 | impl Parser { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1357 | fn parse_interface_alias_statement(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_file` is never used [INFO] [stdout] --> src/parser/lexer.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn show_file(file: Option<&String>) -> String { [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/engine/mod.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn ptr(el: T) -> Ptr { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Rc::new(RefCell::new(el)) [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/engine/ignore.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn contains(&self, key: impl AsRef) -> bool { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let key = key.as_ref(); [INFO] [stdout] 32 | self.frames().any(|frame| frame.contains(key)) [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/engine/node.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ptr(el: T) -> Ptr { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | Rc::new(RefCell::new(el)) [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/engine/obj.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, field: impl AsRef) -> Option { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | self.fields.get(field.as_ref()).cloned().or_else(|| { [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/engine/obj.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, field: impl AsRef) -> Option { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | self.fields.get(field.as_ref()).cloned().or_else(|| { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 19 | | self.proto [INFO] [stdout] 20 | | .as_ref() [INFO] [stdout] 21 | | .and_then(|proto| proto.upgrade()) [INFO] [stdout] 22 | | .and_then(|proto| proto.borrow().get(field)) [INFO] [stdout] 23 | | }) [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/engine/obj.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, field: impl AsRef) -> Option { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | self.fields.get(field.as_ref()).cloned().or_else(|| { [INFO] [stdout] 19 | / self.proto [INFO] [stdout] 20 | | .as_ref() [INFO] [stdout] 21 | | .and_then(|proto| proto.upgrade()) [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/engine/obj.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, field: impl AsRef) -> Option { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | .and_then(|proto| proto.borrow().get(field)) [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/engine/obj.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, field: impl AsRef) -> Option { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | .and_then(|proto| proto.borrow().get(field)) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/obj.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_field_location(&mut self, field: impl Into) -> &mut Value { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | self.fields.entry(field.into()).or_insert(Value::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/vm.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 267 | fn lookup_string(&mut self, s: impl AsRef) -> EvalResult { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | existing.map(|x| Ok(x.clone())).unwrap_or_else(|| { [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/engine/vm.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 270 | existing.map(|x| Ok(x.clone())).unwrap_or_else(|| { [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/engine/vm.rs:308:72 [INFO] [stdout] | [INFO] [stdout] 308 | for (key, value) in obj.fields.iter().map(|(key, value)| (key, value.clone())) { [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/engine/vm.rs:810:16 [INFO] [stdout] | [INFO] [stdout] 804 | self.define_built_in("__print__", |engine, _, args| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 810 | Ok(Value::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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/engine/vm.rs:833:23 [INFO] [stdout] | [INFO] [stdout] 833 | match args.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[vm::Value]` does not implement `Clone`, so calling `clone` on `&[vm::Value]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/engine/vm.rs:846:23 [INFO] [stdout] | [INFO] [stdout] 846 | match args.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[vm::Value]` does not implement `Clone`, so calling `clone` on `&[vm::Value]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/engine/vm.rs:859:69 [INFO] [stdout] | [INFO] [stdout] 859 | self.define_built_in("__set_list__", |_, _, args| match args.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[vm::Value]` does not implement `Clone`, so calling `clone` on `&[vm::Value]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/engine/vm.rs:1308:38 [INFO] [stdout] | [INFO] [stdout] 1308 | for frame in self.env.frames().next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to iterate over `self.env.frames()` remove the call to `next` [INFO] [stdout] | [INFO] [stdout] 1308 | for frame in self.env.frames().by_ref() { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1308 | if let Some(frame) = self.env.frames().next() { [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/engine/vm.rs:1641:12 [INFO] [stdout] | [INFO] [stdout] 1636 | fn create_backed_object(&mut self, proto: impl AsRef, buffer: Value) -> EvalResult { [INFO] [stdout] | ---------------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1637 | let mut obj = Object::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1638 | let proto = self.get_proto(proto)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1641 | Ok(Value::Object(ptr(obj))) [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/engine/vm.rs:1664:55 [INFO] [stdout] | [INFO] [stdout] 1664 | ... .map(|(key, value)| match self.evaluate(value) { [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/engine/vm.rs:1876:9 [INFO] [stdout] | [INFO] [stdout] 1875 | pub fn has_field(&mut self, parent: &Value, field: impl AsRef) -> bool { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1876 | Object::get_field(parent, field).is_ok() [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/engine/vm.rs:1945:13 [INFO] [stdout] | [INFO] [stdout] 1944 | fn ptr(val: T) -> Ptr { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1945 | Rc::new(RefCell::new(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] [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/engine/vm.rs:2052:9 [INFO] [stdout] | [INFO] [stdout] 2048 | key: impl AsRef, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2052 | Object::try_get_super_field(parent, key, is_super) [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/engine/vm.rs:2082:9 [INFO] [stdout] | [INFO] [stdout] 2081 | pub fn has_field(&self, key: impl AsRef) -> bool { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2082 | self.get(key).is_some() [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/engine/vm.rs:2086:9 [INFO] [stdout] | [INFO] [stdout] 2085 | pub fn get_super(&self, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2086 | / self.proto [INFO] [stdout] 2087 | | .as_ref() [INFO] [stdout] 2088 | | .and_then(|proto| proto.upgrade()) [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/engine/vm.rs:2089:23 [INFO] [stdout] | [INFO] [stdout] 2085 | pub fn get_super(&self, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2089 | .and_then(|proto| proto.borrow().get(key).clone()) [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/engine/vm.rs:2089:31 [INFO] [stdout] | [INFO] [stdout] 2085 | pub fn get_super(&self, key: impl AsRef) -> Option { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2089 | .and_then(|proto| proto.borrow().get(key).clone()) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/vm.rs:2093:9 [INFO] [stdout] | [INFO] [stdout] 2092 | pub fn get(&self, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2093 | self.fields.get(key.as_ref()).cloned().or_else(|| { [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/engine/vm.rs:2093:56 [INFO] [stdout] | [INFO] [stdout] 2092 | pub fn get(&self, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2093 | self.fields.get(key.as_ref()).cloned().or_else(|| { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 2094 | | self.proto [INFO] [stdout] 2095 | | .as_ref() [INFO] [stdout] 2096 | | .and_then(|proto| proto.upgrade()) [INFO] [stdout] 2097 | | .and_then(|proto| proto.borrow().get(key).clone()) [INFO] [stdout] 2098 | | }) [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/engine/vm.rs:2094:13 [INFO] [stdout] | [INFO] [stdout] 2092 | pub fn get(&self, key: impl AsRef) -> Option { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2093 | self.fields.get(key.as_ref()).cloned().or_else(|| { [INFO] [stdout] 2094 | / self.proto [INFO] [stdout] 2095 | | .as_ref() [INFO] [stdout] 2096 | | .and_then(|proto| proto.upgrade()) [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/engine/vm.rs:2097:27 [INFO] [stdout] | [INFO] [stdout] 2092 | pub fn get(&self, key: impl AsRef) -> Option { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2097 | .and_then(|proto| proto.borrow().get(key).clone()) [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/engine/vm.rs:2097:35 [INFO] [stdout] | [INFO] [stdout] 2092 | pub fn get(&self, key: impl AsRef) -> Option { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2097 | .and_then(|proto| proto.borrow().get(key).clone()) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/vm2.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 131 | fn buffer_object(&self, proto: impl AsRef, buf: Buffer) -> EvalResult { [INFO] [stdout] | ---------------------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let proto = self.lookup_prototype(proto)?; [INFO] [stdout] 133 | let mut obj = Object::new(Some(proto)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | obj.set("__buffer__", Value::Buffer(ptr(buf))); [INFO] [stdout] 135 | Ok(Value::Object(ptr(obj))) [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/parser/ast.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 322 | fn convert_rpn_to_expression(tokens: Vec) -> ParseResult { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | let mut stack = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 343 | / stack [INFO] [stdout] 344 | | .pop() [INFO] [stdout] 345 | | .ok_or_else(|| ParseError::Static("failed to parse RPN", 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/ast.rs:544:20 [INFO] [stdout] | [INFO] [stdout] 543 | let value = parser.parse_expr()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | Ok((key, value)) [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/parser/ast.rs:698:12 [INFO] [stdout] | [INFO] [stdout] 697 | let body = self.parse_expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 698 | Ok(Expression::Lambda(params, Box::new(body))) [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/parser/ast.rs:1546:5 [INFO] [stdout] | [INFO] [stdout] 1440 | pub fn hoist_assignments(statements: Vec) -> Vec { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | let mut imports = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1442 | let mut class_forward_declarations = Vec::new(); [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | let mut assignments = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1444 | let others = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1546 | / imports [INFO] [stdout] 1547 | | .into_iter() [INFO] [stdout] 1548 | | .chain(class_forward_declarations.into_iter()) [INFO] [stdout] 1549 | | .chain(assignments.into_iter()) [INFO] [stdout] 1550 | | .chain(others.into_iter()) [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/parser/desugar.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 47 | let mut body = Vec::with_capacity(bindings.len() + 1); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let ident = DExpression::Identifier(name.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | DExpression::Block(body, Box::new(ident)) [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/parser/lexer.rs:264:19 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn new(name: Option>, source: &'a str) -> Lexer<'a> { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | Lexer { [INFO] [stdout] 264 | iter: Box::new(source.chars().peekable()), [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/parser/resolver.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(name: impl Into) -> Module { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | body: Vec::new(), [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/parser/resolver.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(name: impl Into) -> Module { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | children: Vec::new(), [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] warning: unused variable: `expr` [INFO] [stdout] --> src/engine/vm.rs:1644:35 [INFO] [stdout] | [INFO] [stdout] 1644 | fn capture_environment(&self, expr: &Expression) -> Frame { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/vm.rs:1645:13 [INFO] [stdout] | [INFO] [stdout] 1645 | let mut frame = HashMap::new(); [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: unused variable: `other` [INFO] [stdout] --> src/engine/vm.rs:1710:21 [INFO] [stdout] | [INFO] [stdout] 1710 | other => self.evaluate(then), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rscript` (lib) due to 37 previous errors; 34 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser/ast.rs:1559:21 [INFO] [stdout] | [INFO] [stdout] 1559 | Boolean(b) => write!(f, "False"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/parser/ast.rs:1563:31 [INFO] [stdout] | [INFO] [stdout] 1563 | Block(statements, expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/parser/ast.rs:1565:21 [INFO] [stdout] | [INFO] [stdout] 1565 | for statement in statements {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/parser/lexer.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let loc = self.loc; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/parser/mod.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let col = self.col as isize + col_offset; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/parser/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let row = self.row as isize + row_offset; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Builtin` is more private than the item `vm2::Value::Builtin::0` [INFO] [stdout] --> src/engine/vm2.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Builtin(Builtin), [INFO] [stdout] | ^^^^^^^ field `vm2::Value::Builtin::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Builtin` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/engine/vm2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Builtin(Rc EvalResult>); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Str` is never used [INFO] [stdout] --> src/codegen/js.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Str = Rc; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Definition` is never used [INFO] [stdout] --> src/codegen/js.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Definition = (Str, JsValue); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsBody` is never used [INFO] [stdout] --> src/codegen/js.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum JsBody { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsStatement` is never used [INFO] [stdout] --> src/codegen/js.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum JsStatement {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsValue` is never used [INFO] [stdout] --> src/codegen/js.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/env.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Environment { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `frames_mut` is never used [INFO] [stdout] --> src/engine/ignore.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Ignore { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn frames_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_isize` is never used [INFO] [stdout] --> src/engine/vm.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn is_isize(num: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instructions` is never read [INFO] [stdout] --> src/engine/vm.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 145 | instructions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `define_io_built_ins`, `module_root`, and `capture_environment` are never used [INFO] [stdout] --> src/engine/vm.rs:771:8 [INFO] [stdout] | [INFO] [stdout] 249 | impl Engine { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 771 | fn define_io_built_ins(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1167 | fn module_root(&self) -> &Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | fn capture_environment(&self, expr: &Expression) -> Frame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ClonePtr` is never used [INFO] [stdout] --> src/engine/vm.rs:2229:7 [INFO] [stdout] | [INFO] [stdout] 2229 | trait ClonePtr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `params`, and `children` are never read [INFO] [stdout] --> src/parser/ast.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct XmlNode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 67 | value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XmlNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_interface_alias_statement` is never used [INFO] [stdout] --> src/parser/ast.rs:1357:8 [INFO] [stdout] | [INFO] [stdout] 416 | impl Parser { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1357 | fn parse_interface_alias_statement(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_file` is never used [INFO] [stdout] --> src/parser/lexer.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn show_file(file: Option<&String>) -> String { [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/engine/mod.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn ptr(el: T) -> Ptr { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Rc::new(RefCell::new(el)) [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/engine/ignore.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn contains(&self, key: impl AsRef) -> bool { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let key = key.as_ref(); [INFO] [stdout] 32 | self.frames().any(|frame| frame.contains(key)) [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/engine/node.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ptr(el: T) -> Ptr { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | Rc::new(RefCell::new(el)) [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/engine/obj.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, field: impl AsRef) -> Option { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | self.fields.get(field.as_ref()).cloned().or_else(|| { [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/engine/obj.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, field: impl AsRef) -> Option { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | self.fields.get(field.as_ref()).cloned().or_else(|| { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 19 | | self.proto [INFO] [stdout] 20 | | .as_ref() [INFO] [stdout] 21 | | .and_then(|proto| proto.upgrade()) [INFO] [stdout] 22 | | .and_then(|proto| proto.borrow().get(field)) [INFO] [stdout] 23 | | }) [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/engine/obj.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, field: impl AsRef) -> Option { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | self.fields.get(field.as_ref()).cloned().or_else(|| { [INFO] [stdout] 19 | / self.proto [INFO] [stdout] 20 | | .as_ref() [INFO] [stdout] 21 | | .and_then(|proto| proto.upgrade()) [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/engine/obj.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, field: impl AsRef) -> Option { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | .and_then(|proto| proto.borrow().get(field)) [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/engine/obj.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, field: impl AsRef) -> Option { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | .and_then(|proto| proto.borrow().get(field)) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/obj.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_field_location(&mut self, field: impl Into) -> &mut Value { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | self.fields.entry(field.into()).or_insert(Value::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/vm.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 267 | fn lookup_string(&mut self, s: impl AsRef) -> EvalResult { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | existing.map(|x| Ok(x.clone())).unwrap_or_else(|| { [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/engine/vm.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 270 | existing.map(|x| Ok(x.clone())).unwrap_or_else(|| { [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/engine/vm.rs:308:72 [INFO] [stdout] | [INFO] [stdout] 308 | for (key, value) in obj.fields.iter().map(|(key, value)| (key, value.clone())) { [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/engine/vm.rs:810:16 [INFO] [stdout] | [INFO] [stdout] 804 | self.define_built_in("__print__", |engine, _, args| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 810 | Ok(Value::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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/engine/vm.rs:833:23 [INFO] [stdout] | [INFO] [stdout] 833 | match args.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[vm::Value]` does not implement `Clone`, so calling `clone` on `&[vm::Value]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/engine/vm.rs:846:23 [INFO] [stdout] | [INFO] [stdout] 846 | match args.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[vm::Value]` does not implement `Clone`, so calling `clone` on `&[vm::Value]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/engine/vm.rs:859:69 [INFO] [stdout] | [INFO] [stdout] 859 | self.define_built_in("__set_list__", |_, _, args| match args.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[vm::Value]` does not implement `Clone`, so calling `clone` on `&[vm::Value]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/engine/vm.rs:1308:38 [INFO] [stdout] | [INFO] [stdout] 1308 | for frame in self.env.frames().next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to iterate over `self.env.frames()` remove the call to `next` [INFO] [stdout] | [INFO] [stdout] 1308 | for frame in self.env.frames().by_ref() { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1308 | if let Some(frame) = self.env.frames().next() { [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/engine/vm.rs:1641:12 [INFO] [stdout] | [INFO] [stdout] 1636 | fn create_backed_object(&mut self, proto: impl AsRef, buffer: Value) -> EvalResult { [INFO] [stdout] | ---------------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1637 | let mut obj = Object::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1638 | let proto = self.get_proto(proto)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1641 | Ok(Value::Object(ptr(obj))) [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/engine/vm.rs:1664:55 [INFO] [stdout] | [INFO] [stdout] 1664 | ... .map(|(key, value)| match self.evaluate(value) { [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/engine/vm.rs:1876:9 [INFO] [stdout] | [INFO] [stdout] 1875 | pub fn has_field(&mut self, parent: &Value, field: impl AsRef) -> bool { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1876 | Object::get_field(parent, field).is_ok() [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/engine/vm.rs:1945:13 [INFO] [stdout] | [INFO] [stdout] 1944 | fn ptr(val: T) -> Ptr { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1945 | Rc::new(RefCell::new(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] [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/engine/vm.rs:2052:9 [INFO] [stdout] | [INFO] [stdout] 2048 | key: impl AsRef, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2052 | Object::try_get_super_field(parent, key, is_super) [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/engine/vm.rs:2082:9 [INFO] [stdout] | [INFO] [stdout] 2081 | pub fn has_field(&self, key: impl AsRef) -> bool { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2082 | self.get(key).is_some() [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/engine/vm.rs:2086:9 [INFO] [stdout] | [INFO] [stdout] 2085 | pub fn get_super(&self, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2086 | / self.proto [INFO] [stdout] 2087 | | .as_ref() [INFO] [stdout] 2088 | | .and_then(|proto| proto.upgrade()) [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/engine/vm.rs:2089:23 [INFO] [stdout] | [INFO] [stdout] 2085 | pub fn get_super(&self, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2089 | .and_then(|proto| proto.borrow().get(key).clone()) [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/engine/vm.rs:2089:31 [INFO] [stdout] | [INFO] [stdout] 2085 | pub fn get_super(&self, key: impl AsRef) -> Option { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2089 | .and_then(|proto| proto.borrow().get(key).clone()) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/vm.rs:2093:9 [INFO] [stdout] | [INFO] [stdout] 2092 | pub fn get(&self, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2093 | self.fields.get(key.as_ref()).cloned().or_else(|| { [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/engine/vm.rs:2093:56 [INFO] [stdout] | [INFO] [stdout] 2092 | pub fn get(&self, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2093 | self.fields.get(key.as_ref()).cloned().or_else(|| { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 2094 | | self.proto [INFO] [stdout] 2095 | | .as_ref() [INFO] [stdout] 2096 | | .and_then(|proto| proto.upgrade()) [INFO] [stdout] 2097 | | .and_then(|proto| proto.borrow().get(key).clone()) [INFO] [stdout] 2098 | | }) [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/engine/vm.rs:2094:13 [INFO] [stdout] | [INFO] [stdout] 2092 | pub fn get(&self, key: impl AsRef) -> Option { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2093 | self.fields.get(key.as_ref()).cloned().or_else(|| { [INFO] [stdout] 2094 | / self.proto [INFO] [stdout] 2095 | | .as_ref() [INFO] [stdout] 2096 | | .and_then(|proto| proto.upgrade()) [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/engine/vm.rs:2097:27 [INFO] [stdout] | [INFO] [stdout] 2092 | pub fn get(&self, key: impl AsRef) -> Option { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2097 | .and_then(|proto| proto.borrow().get(key).clone()) [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/engine/vm.rs:2097:35 [INFO] [stdout] | [INFO] [stdout] 2092 | pub fn get(&self, key: impl AsRef) -> Option { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2097 | .and_then(|proto| proto.borrow().get(key).clone()) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/vm2.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 131 | fn buffer_object(&self, proto: impl AsRef, buf: Buffer) -> EvalResult { [INFO] [stdout] | ---------------------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let proto = self.lookup_prototype(proto)?; [INFO] [stdout] 133 | let mut obj = Object::new(Some(proto)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | obj.set("__buffer__", Value::Buffer(ptr(buf))); [INFO] [stdout] 135 | Ok(Value::Object(ptr(obj))) [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/parser/ast.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 322 | fn convert_rpn_to_expression(tokens: Vec) -> ParseResult { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | let mut stack = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 343 | / stack [INFO] [stdout] 344 | | .pop() [INFO] [stdout] 345 | | .ok_or_else(|| ParseError::Static("failed to parse RPN", 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/ast.rs:544:20 [INFO] [stdout] | [INFO] [stdout] 543 | let value = parser.parse_expr()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | Ok((key, value)) [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/parser/ast.rs:698:12 [INFO] [stdout] | [INFO] [stdout] 697 | let body = self.parse_expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 698 | Ok(Expression::Lambda(params, Box::new(body))) [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/parser/ast.rs:1546:5 [INFO] [stdout] | [INFO] [stdout] 1440 | pub fn hoist_assignments(statements: Vec) -> Vec { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | let mut imports = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1442 | let mut class_forward_declarations = Vec::new(); [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | let mut assignments = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1444 | let others = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1546 | / imports [INFO] [stdout] 1547 | | .into_iter() [INFO] [stdout] 1548 | | .chain(class_forward_declarations.into_iter()) [INFO] [stdout] 1549 | | .chain(assignments.into_iter()) [INFO] [stdout] 1550 | | .chain(others.into_iter()) [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/parser/desugar.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 47 | let mut body = Vec::with_capacity(bindings.len() + 1); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let ident = DExpression::Identifier(name.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | DExpression::Block(body, Box::new(ident)) [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/parser/lexer.rs:264:19 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn new(name: Option>, source: &'a str) -> Lexer<'a> { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | Lexer { [INFO] [stdout] 264 | iter: Box::new(source.chars().peekable()), [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/parser/resolver.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(name: impl Into) -> Module { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | body: Vec::new(), [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/parser/resolver.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(name: impl Into) -> Module { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | children: Vec::new(), [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 36 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rscript` (lib test) due to 37 previous errors; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "05ecaee194b21f27fa2185922ffde35549171c16e52329096608e5c157cc55b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ecaee194b21f27fa2185922ffde35549171c16e52329096608e5c157cc55b0", kill_on_drop: false }` [INFO] [stdout] 05ecaee194b21f27fa2185922ffde35549171c16e52329096608e5c157cc55b0