[INFO] cloning repository https://github.com/schtauffen/rslox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/schtauffen/rslox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschtauffen%2Frslox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschtauffen%2Frslox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6dac8cb0fef77344e88a0f2c398e66c652ce00b [INFO] building schtauffen/rslox against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschtauffen%2Frslox" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/schtauffen/rslox on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/schtauffen/rslox [INFO] finished tweaking git repo https://github.com/schtauffen/rslox [INFO] tweaked toml for git repo https://github.com/schtauffen/rslox written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/schtauffen/rslox 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term_size v0.3.1 [INFO] [stderr] Downloaded watchexec v1.12.0 [INFO] [stderr] Downloaded bstr v0.2.10 [INFO] [stderr] Downloaded cargo-watch v7.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42784a02828f5076528eba305e2dd985f7ea60c32c1494fc82e27fb50d1b9cc6 [INFO] running `Command { std: "docker" "start" "-a" "42784a02828f5076528eba305e2dd985f7ea60c32c1494fc82e27fb50d1b9cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42784a02828f5076528eba305e2dd985f7ea60c32c1494fc82e27fb50d1b9cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42784a02828f5076528eba305e2dd985f7ea60c32c1494fc82e27fb50d1b9cc6", kill_on_drop: false }` [INFO] [stdout] 42784a02828f5076528eba305e2dd985f7ea60c32c1494fc82e27fb50d1b9cc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd99f411f9aced56a81a7e778ceeac8736d092569b002b78dbe1a90365a76b71 [INFO] running `Command { std: "docker" "start" "-a" "fd99f411f9aced56a81a7e778ceeac8736d092569b002b78dbe1a90365a76b71", kill_on_drop: false }` [INFO] [stderr] Compiling rslox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vm.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | const STACK_MAX: usize = (FRAMES_MAX * std::u8::MAX as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - const STACK_MAX: usize = (FRAMES_MAX * std::u8::MAX as usize); [INFO] [stdout] 23 + const STACK_MAX: usize = FRAMES_MAX * std::u8::MAX as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/vm.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | match self.pop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#17` [INFO] [stdout] | up until Edition 2021 `#17` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 250 | Value::Number(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | Op::Add => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 274 | Value::Number(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | Value::Obj(obj2) => match obj2.value { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `obj2` calls a custom destructor [INFO] [stdout] | `obj2` will be dropped later as of Edition 2024 [INFO] [stdout] 279 | ObjValue::String(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 280 | Value::Obj(obj1) => match obj1.value { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `obj1` calls a custom destructor [INFO] [stdout] | `obj1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | let mut interner = self.interner.borrow_mut(); [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | `interner` calls a custom destructor [INFO] [stdout] | `interner` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | Op::Divide => binary_op!(/,Number), [INFO] [stdout] | -------------------- [INFO] [stdout] | | | [INFO] [stdout] | | now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] 300 | Op::Equal => { [INFO] [stdout] 301 | let b = self.pop(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `b` calls a custom destructor [INFO] [stdout] | `b` will be dropped later as of Edition 2024 [INFO] [stdout] 302 | let a = self.pop(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `a` calls a custom destructor [INFO] [stdout] | `a` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 318 | Op::Negate => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let value = self.pop().is_falsey(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | `#10` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | self.pop(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#11` [INFO] [stdout] | `#11` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `value` calls a custom destructor [INFO] [stdout] | `value` will be dropped later as of Edition 2024 [INFO] [stdout] 350 | let symbol = value.as_obj().get_symbol(); [INFO] [stdout] 351 | self.globals.insert(symbol, self.peek(0).clone()); [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#12` [INFO] [stdout] | `#12` will be dropped later as of Edition 2024 [INFO] [stdout] 352 | self.pop(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#13` [INFO] [stdout] | `#13` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#14` [INFO] [stdout] | `#14` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 368 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#15` [INFO] [stdout] | `#15` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | let value = self.pop(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#16` [INFO] [stdout] | `#16` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#17` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `obj2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `obj1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `interner` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/core/src/cell.rs:1804:1 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `b` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `a` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#5` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#6` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#7` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#8` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#9` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#10` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#11` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `value` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#12` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#13` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#14` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#15` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#16` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/vm.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | match self.pop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#17` [INFO] [stdout] | up until Edition 2021 `#17` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 250 | Value::Number(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | Op::Add => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 274 | Value::Number(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | Value::Obj(obj2) => match obj2.value { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `obj2` calls a custom destructor [INFO] [stdout] | `obj2` will be dropped later as of Edition 2024 [INFO] [stdout] 279 | ObjValue::String(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 280 | Value::Obj(obj1) => match obj1.value { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `obj1` calls a custom destructor [INFO] [stdout] | `obj1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | let mut interner = self.interner.borrow_mut(); [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | `interner` calls a custom destructor [INFO] [stdout] | `interner` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | let b = self.pop(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `b` calls a custom destructor [INFO] [stdout] | `b` will be dropped later as of Edition 2024 [INFO] [stdout] 302 | let a = self.pop(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `a` calls a custom destructor [INFO] [stdout] | `a` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 305 | Op::Greater => binary_op!(>,Bool), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 318 | Op::Negate => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let value = self.pop().is_falsey(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | `#10` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | self.pop(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#11` [INFO] [stdout] | `#11` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `value` calls a custom destructor [INFO] [stdout] | `value` will be dropped later as of Edition 2024 [INFO] [stdout] 350 | let symbol = value.as_obj().get_symbol(); [INFO] [stdout] 351 | self.globals.insert(symbol, self.peek(0).clone()); [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#12` [INFO] [stdout] | `#12` will be dropped later as of Edition 2024 [INFO] [stdout] 352 | self.pop(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#13` [INFO] [stdout] | `#13` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#14` [INFO] [stdout] | `#14` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 368 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#15` [INFO] [stdout] | `#15` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | let value = self.pop(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#16` [INFO] [stdout] | `#16` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#17` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `obj2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `obj1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `interner` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/core/src/cell.rs:1804:1 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `b` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `a` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#5` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#6` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#7` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#8` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#9` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#10` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#11` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `value` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#12` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#13` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#14` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#15` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#16` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/vm.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | match self.pop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#17` [INFO] [stdout] | up until Edition 2021 `#17` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 250 | Value::Number(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | Op::Add => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 274 | Value::Number(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | Value::Obj(obj2) => match obj2.value { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `obj2` calls a custom destructor [INFO] [stdout] | `obj2` will be dropped later as of Edition 2024 [INFO] [stdout] 279 | ObjValue::String(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 280 | Value::Obj(obj1) => match obj1.value { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `obj1` calls a custom destructor [INFO] [stdout] | `obj1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | let mut interner = self.interner.borrow_mut(); [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | `interner` calls a custom destructor [INFO] [stdout] | `interner` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | let b = self.pop(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `b` calls a custom destructor [INFO] [stdout] | `b` will be dropped later as of Edition 2024 [INFO] [stdout] 302 | let a = self.pop(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `a` calls a custom destructor [INFO] [stdout] | `a` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 306 | Op::Less => binary_op!(<,Bool), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 318 | Op::Negate => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let value = self.pop().is_falsey(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | `#10` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | self.pop(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#11` [INFO] [stdout] | `#11` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `value` calls a custom destructor [INFO] [stdout] | `value` will be dropped later as of Edition 2024 [INFO] [stdout] 350 | let symbol = value.as_obj().get_symbol(); [INFO] [stdout] 351 | self.globals.insert(symbol, self.peek(0).clone()); [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#12` [INFO] [stdout] | `#12` will be dropped later as of Edition 2024 [INFO] [stdout] 352 | self.pop(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#13` [INFO] [stdout] | `#13` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#14` [INFO] [stdout] | `#14` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 368 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#15` [INFO] [stdout] | `#15` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | let value = self.pop(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#16` [INFO] [stdout] | `#16` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#17` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `obj2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `obj1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `interner` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/core/src/cell.rs:1804:1 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `b` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `a` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#5` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#6` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#7` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#8` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#9` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#10` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#11` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `value` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#12` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#13` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#14` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#15` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#16` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/vm.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | match self.pop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#17` [INFO] [stdout] | up until Edition 2021 `#17` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 250 | Value::Number(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | Op::Add => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 274 | Value::Number(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | Value::Obj(obj2) => match obj2.value { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `obj2` calls a custom destructor [INFO] [stdout] | `obj2` will be dropped later as of Edition 2024 [INFO] [stdout] 279 | ObjValue::String(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 280 | Value::Obj(obj1) => match obj1.value { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `obj1` calls a custom destructor [INFO] [stdout] | `obj1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | let mut interner = self.interner.borrow_mut(); [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | `interner` calls a custom destructor [INFO] [stdout] | `interner` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | let b = self.pop(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `b` calls a custom destructor [INFO] [stdout] | `b` will be dropped later as of Edition 2024 [INFO] [stdout] 302 | let a = self.pop(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `a` calls a custom destructor [INFO] [stdout] | `a` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | Op::Multiply => binary_op!(*,Number), [INFO] [stdout] | -------------------- [INFO] [stdout] | | | [INFO] [stdout] | | now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 318 | Op::Negate => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let value = self.pop().is_falsey(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | `#10` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | self.pop(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#11` [INFO] [stdout] | `#11` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `value` calls a custom destructor [INFO] [stdout] | `value` will be dropped later as of Edition 2024 [INFO] [stdout] 350 | let symbol = value.as_obj().get_symbol(); [INFO] [stdout] 351 | self.globals.insert(symbol, self.peek(0).clone()); [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#12` [INFO] [stdout] | `#12` will be dropped later as of Edition 2024 [INFO] [stdout] 352 | self.pop(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#13` [INFO] [stdout] | `#13` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#14` [INFO] [stdout] | `#14` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 368 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#15` [INFO] [stdout] | `#15` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | let value = self.pop(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#16` [INFO] [stdout] | `#16` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#17` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `obj2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `obj1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `interner` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/core/src/cell.rs:1804:1 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `b` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `a` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#5` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#6` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#7` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#8` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#9` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#10` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#11` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `value` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#12` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#13` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#14` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#15` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#16` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/vm.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | match self.pop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#17` [INFO] [stdout] | up until Edition 2021 `#17` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 250 | Value::Number(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | Op::Add => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 274 | Value::Number(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | Value::Obj(obj2) => match obj2.value { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `obj2` calls a custom destructor [INFO] [stdout] | `obj2` will be dropped later as of Edition 2024 [INFO] [stdout] 279 | ObjValue::String(b) => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 280 | Value::Obj(obj1) => match obj1.value { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `obj1` calls a custom destructor [INFO] [stdout] | `obj1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | let mut interner = self.interner.borrow_mut(); [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | `interner` calls a custom destructor [INFO] [stdout] | `interner` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | let b = self.pop(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `b` calls a custom destructor [INFO] [stdout] | `b` will be dropped later as of Edition 2024 [INFO] [stdout] 302 | let a = self.pop(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `a` calls a custom destructor [INFO] [stdout] | `a` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | Op::Subtract => binary_op!(-,Number), [INFO] [stdout] | -------------------- [INFO] [stdout] | | | [INFO] [stdout] | | now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 318 | Op::Negate => match self.pop() { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let value = self.pop().is_falsey(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | `#10` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | self.pop(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#11` [INFO] [stdout] | `#11` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `value` calls a custom destructor [INFO] [stdout] | `value` will be dropped later as of Edition 2024 [INFO] [stdout] 350 | let symbol = value.as_obj().get_symbol(); [INFO] [stdout] 351 | self.globals.insert(symbol, self.peek(0).clone()); [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#12` [INFO] [stdout] | `#12` will be dropped later as of Edition 2024 [INFO] [stdout] 352 | self.pop(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#13` [INFO] [stdout] | `#13` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#14` [INFO] [stdout] | `#14` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 368 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#15` [INFO] [stdout] | `#15` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | let value = self.pop(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#16` [INFO] [stdout] | `#16` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#17` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `obj2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `obj1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `interner` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/core/src/cell.rs:1804:1 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `b` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `a` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#5` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#6` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#7` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#8` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#9` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#10` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#11` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `value` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#12` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#13` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#14` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#15` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#16` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/vm.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 355 | let value = self.read_constant(); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `value` calls a custom destructor [INFO] [stdout] | `value` will be dropped later as of Edition 2024 [INFO] [stdout] 356 | let symbol = value.as_obj().get_symbol(); [INFO] [stdout] 357 | match self.globals.insert(symbol, self.peek(0).clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `value` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rslox` (lib) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fd99f411f9aced56a81a7e778ceeac8736d092569b002b78dbe1a90365a76b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd99f411f9aced56a81a7e778ceeac8736d092569b002b78dbe1a90365a76b71", kill_on_drop: false }` [INFO] [stdout] fd99f411f9aced56a81a7e778ceeac8736d092569b002b78dbe1a90365a76b71