[INFO] cloning repository https://github.com/danii/lua-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danii/lua-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanii%2Flua-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanii%2Flua-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58cd70c2aa6dff64a8fae6505472831098d31817 [INFO] checking danii/lua-rust/58cd70c2aa6dff64a8fae6505472831098d31817 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%2Fdanii%2Flua-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danii/lua-rust 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/danii/lua-rust [INFO] finished tweaking git repo https://github.com/danii/lua-rust [INFO] tweaked toml for git repo https://github.com/danii/lua-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/danii/lua-rust 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7d1f30ba12c416253ca2aafa111acd623d2fe96affca9adf3276ff8ee3138d5f [INFO] running `Command { std: "docker" "start" "-a" "7d1f30ba12c416253ca2aafa111acd623d2fe96affca9adf3276ff8ee3138d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d1f30ba12c416253ca2aafa111acd623d2fe96affca9adf3276ff8ee3138d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d1f30ba12c416253ca2aafa111acd623d2fe96affca9adf3276ff8ee3138d5f", kill_on_drop: false }` [INFO] [stdout] 7d1f30ba12c416253ca2aafa111acd623d2fe96affca9adf3276ff8ee3138d5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 0e47944459144283d2142223117932b21f4a5ae70fcc6edea4ef9a437b827f6c [INFO] running `Command { std: "docker" "start" "-a" "0e47944459144283d2142223117932b21f4a5ae70fcc6edea4ef9a437b827f6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling hematita v0.1.0 (/opt/rustwide/workdir/hematita) [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking pico-args v0.4.2 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling visibility v0.0.1 [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | ... insert_byte_code!(self {reas old, register}); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | ... insert_byte_code!(self {suv register, ^up_value}) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:396:10 [INFO] [stdout] | [INFO] [stdout] 396 | ... insert_byte_code!(self {reas old, new}), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:399:10 [INFO] [stdout] | [INFO] [stdout] 399 | ... insert_byte_code!(self {suv old, ^up_value}) [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | ... insert_byte_code!(self {idxw indexee, index, register}); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | ... insert_byte_code!(self {idxw indexee, index, value}); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | ... insert_byte_code!(self {reas register, destination}); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:938:5 [INFO] [stdout] | [INFO] [stdout] 938 | insert_byte_code!(compiler {idxr tuple, index, temporary}); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:947:4 [INFO] [stdout] | [INFO] [stdout] 947 | insert_byte_code!(compiler {idxr tuple, index, temporary}); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | ... insert_byte_code!(self {reas old, register}); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | ... insert_byte_code!(self {suv register, ^up_value}) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:396:10 [INFO] [stdout] | [INFO] [stdout] 396 | ... insert_byte_code!(self {reas old, new}), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:399:10 [INFO] [stdout] | [INFO] [stdout] 399 | ... insert_byte_code!(self {suv old, ^up_value}) [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | ... insert_byte_code!(self {idxw indexee, index, register}); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | ... insert_byte_code!(self {idxw indexee, index, value}); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | ... insert_byte_code!(self {reas register, destination}); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:938:5 [INFO] [stdout] | [INFO] [stdout] 938 | insert_byte_code!(compiler {idxr tuple, index, temporary}); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/compiler/mod.rs:947:4 [INFO] [stdout] | [INFO] [stdout] 947 | insert_byte_code!(compiler {idxr tuple, index, temporary}); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` which comes from the expansion of the macro `insert_byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> hematita/src/vm/mod.rs:1101:25 [INFO] [stdout] | [INFO] [stdout] 1101 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: hematita/src/vm/tests.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let code = byte_code! { [INFO] [stdout] | ________________- [INFO] [stdout] 9 | | call 0, 1, 2; [INFO] [stdout] 10 | | idxr 3, 4, 5; [INFO] [stdout] 11 | | idxw 6, 7, 8; [INFO] [stdout] ... | [INFO] [stdout] 45 | | noop; [INFO] [stdout] 46 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte_code` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> hematita/src/ast/lexer.rs:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | .map_err(|_| Error::NumberTooLarge(number.into_boxed_str())) [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] --> hematita/src/ast/parser.rs:452:37 [INFO] [stdout] | [INFO] [stdout] 452 | let arguments = from_fn(|| match iter.peek().transpose() { [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] --> hematita/src/ast/parser.rs:502:38 [INFO] [stdout] | [INFO] [stdout] 502 | let arguments = from_fn(|| match iter.peek().transpose() { [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] --> hematita/src/ast/parser.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 639 | let condition = parse_expression(iter)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 640 | expect!(iter.next(), Token::KeywordThen); [INFO] [stdout] 641 | let then = parse_block(iter)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 642 | [INFO] [stdout] 643 | let mut r#else = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 644 | let else_ifs = from_fn(|| match iter.next().transpose() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 661 | Ok(Statement::If { [INFO] [stdout] | ________^ [INFO] [stdout] 662 | | condition, [INFO] [stdout] 663 | | then, [INFO] [stdout] 664 | | else_ifs, [INFO] [stdout] 665 | | r#else [INFO] [stdout] 666 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> hematita/src/ast/parser.rs:644:34 [INFO] [stdout] | [INFO] [stdout] 644 | let else_ifs = from_fn(|| match iter.next().transpose() { [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] --> hematita/src/ast/parser.rs:741:24 [INFO] [stdout] | [INFO] [stdout] 741 | from_fn(move || match iter.peek().transpose() { [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] --> hematita/src/ast/parser.rs:795:5 [INFO] [stdout] | [INFO] [stdout] 792 | let body = parse_block(iter)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 795 | Ok(match name_rest { [INFO] [stdout] | ________^ [INFO] [stdout] 796 | | None => [INFO] [stdout] 797 | | Statement::LocalFunction {name: name_first, arguments, body}, [INFO] [stdout] 798 | | Some((name_rest, None)) => [INFO] [stdout] ... | [INFO] [stdout] 801 | | Statement::Method {class: (name_first, name_rest), name, arguments, body} [INFO] [stdout] 802 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> hematita/src/ast/parser.rs:813:5 [INFO] [stdout] | [INFO] [stdout] 810 | let body = parse_block(iter)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 813 | Ok(Expression::Function {arguments, body}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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] --> hematita/src/ast/parser.rs:1252:6 [INFO] [stdout] | [INFO] [stdout] 1251 | fn try_from(value: Expression) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1252 | Ok(match value { [INFO] [stdout] | ____________^ [INFO] [stdout] 1253 | | Expression::Identifier(identifier) => [INFO] [stdout] 1254 | | Self::Identifier(identifier), [INFO] [stdout] 1255 | | Expression::Index {indexee, index} => [INFO] [stdout] 1256 | | Self::Index {indexee: *indexee, index: *index}, [INFO] [stdout] 1257 | | _ => return Err(ASTError::Parser(Error(None))) // TODO [INFO] [stdout] 1258 | | }) [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] --> hematita/src/lua_lib.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 12 | let table = table.data.lock().map_err(|error| format!("{}", error))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | / (1..=end) [INFO] [stdout] 18 | | .map(|index| table.get(&Value::Integer(index)).nillable()) [INFO] [stdout] 19 | | .collect() [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> hematita/src/lua_lib.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | .map(|index| table.get(&Value::Integer(index)).nillable()) [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] --> hematita/src/lua_lib.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn vector_to_table(vector: Vec>) -> HashMap { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | / vector.into_iter().enumerate() [INFO] [stdout] 25 | | .filter_map(|(index, value)| value.map(|value| (index, value))) [INFO] [stdout] 26 | | .map(|(index, value)| (Value::Integer(index as i64 + 1), 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] --> hematita/src/lua_lib.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|(index, value)| (Value::Integer(index as i64 + 1), value)) [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] --> hematita/src/lua_lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn print<'n>(arguments: Arc>, _: &VirtualMachine) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(lua_tuple![].arc()) [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] --> hematita/src/lua_lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn pcall<'n>(arguments: Arc>, vm: &VirtualMachine<'n>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | -> Result>, String> { [INFO] [stdout] 41 | Ok(match arguments.array_remove(1) { [INFO] [stdout] | ________^ [INFO] [stdout] 42 | | NonNil(Value::Function(function)) => [INFO] [stdout] 43 | | match vm.execute(&*function, arguments) { [INFO] [stdout] 44 | | Ok(result) => {result.tuple_insert(1, true.into()); result}, [INFO] [stdout] ... | [INFO] [stdout] 54 | | ].arc() [INFO] [stdout] 55 | | }) [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] --> hematita/src/lua_lib.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn error<'n>(arguments: Arc>, _: &VirtualMachine<'n>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | -> Result>, String> { [INFO] [stdout] 60 | Err(arguments.index(&Value::Integer(1)).option() [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] --> hematita/src/lua_lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn setmetatable<'n>(arguments: Arc>, _: &VirtualMachine<'n>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | -> Result>, String> { [INFO] [stdout] 67 | let arguments = table_to_vector(&arguments)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let meta = match arguments.get(1) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Ok(lua_tuple![].arc()) [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] --> hematita/src/lua_lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn getmetatable<'n>(arguments: Arc>, _: &VirtualMachine<'n>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | -> Result>, String> { [INFO] [stdout] 87 | let arguments = table_to_vector(&arguments)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Ok(match arguments.get(0) { [INFO] [stdout] | ________^ [INFO] [stdout] 89 | | Some(NonNil(Value::Table(table))) => match table.metatable.lock() [INFO] [stdout] 90 | | .map_err(|error| format!("{}", error))?.clone() { [INFO] [stdout] 91 | | Some(metatable) => { [INFO] [stdout] ... | [INFO] [stdout] 101 | | _ => lua_tuple![] [INFO] [stdout] 102 | | }.arc()) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> hematita/src/lua_lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn r#type<'n>(arguments: Arc>, _: &VirtualMachine<'n>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | -> Result>, String> { [INFO] [stdout] 107 | Ok(lua_tuple![arguments.index(&1i64.into()).type_name()].arc()) [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] --> hematita/src/vm/mod.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(global: Arc>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | Self { [INFO] [stdout] 111 | number_meta: 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] --> hematita/src/vm/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(global: Arc>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | string_meta: 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] --> hematita/src/vm/mod.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(global: Arc>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | boolean_meta: 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] --> hematita/src/vm/mod.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(global: Arc>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | function_meta: 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] --> hematita/src/vm/mod.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn execute(&self, function: &Function<'n>, arguments: Arc>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let registers = vec![Default::default(); function.chunk.registers] [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | StackFrame {virtual_machine, function, registers}.execute(arguments) [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] --> hematita/src/vm/mod.rs:613:27 [INFO] [stdout] | [INFO] [stdout] 612 | let data = table.data.lock().expect("poison error"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 613 | IndexOperation::Value(data.get(index).nillable()) [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] --> hematita/src/vm/value.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn new_string(string: impl AsRef) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | Self::String(string.as_ref().to_owned().into_boxed_str()) [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 `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> hematita/src/vm/value.rs:346:26 [INFO] [stdout] | [INFO] [stdout] 346 | NonNil(value) => value.borrow().type_name(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Value<'_>` does not implement `Borrow`, so calling `borrow` on `&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] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 346 - NonNil(value) => value.borrow().type_name(), [INFO] [stdout] 346 + NonNil(value) => value.type_name(), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 178 + #[derive(Clone)] [INFO] [stdout] 179 | pub enum Value<'n> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> hematita/src/vm/value.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | NonNil(value) => value.borrow().coerce_to_bool(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Value<'_>` does not implement `Borrow`, so calling `borrow` on `&Value<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 361 - NonNil(value) => value.borrow().coerce_to_bool(), [INFO] [stdout] 361 + NonNil(value) => value.coerce_to_bool(), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 178 + #[derive(Clone)] [INFO] [stdout] 179 | pub enum Value<'n> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> hematita/src/vm/value.rs:383:52 [INFO] [stdout] | [INFO] [stdout] 383 | Nillable::NonNil(value) => write!(f, "{}", value.borrow()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Value<'_>` does not implement `Borrow`, so calling `borrow` on `&Value<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 383 - Nillable::NonNil(value) => write!(f, "{}", value.borrow()), [INFO] [stdout] 383 + Nillable::NonNil(value) => write!(f, "{}", value), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 178 + #[derive(Clone)] [INFO] [stdout] 179 | pub enum Value<'n> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> hematita/src/vm/value.rs:392:54 [INFO] [stdout] | [INFO] [stdout] 392 | Nillable::NonNil(value) => write!(f, "{:?}", value.borrow()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Value<'_>` does not implement `Borrow`, so calling `borrow` on `&Value<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 392 - Nillable::NonNil(value) => write!(f, "{:?}", value.borrow()), [INFO] [stdout] 392 + Nillable::NonNil(value) => write!(f, "{:?}", value), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 178 + #[derive(Clone)] [INFO] [stdout] 179 | pub enum Value<'n> { [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] --> hematita/src/vm/value.rs:498:28 [INFO] [stdout] | [INFO] [stdout] 498 | .for_each(|index| match take(&mut 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] --> hematita/src/vm/value.rs:516:28 [INFO] [stdout] | [INFO] [stdout] 516 | .for_each(|index| match take(&mut 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] --> hematita/src/vm/value.rs:561:28 [INFO] [stdout] | [INFO] [stdout] 561 | .for_each(|index| match take(&mut 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] --> hematita/src/vm/value.rs:596:3 [INFO] [stdout] | [INFO] [stdout] 593 | let data = self.data.lock().expect("poison error"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 596 | / data.raw_entry().from_hash(hasher.finish(), |check| index == check) [INFO] [stdout] 597 | | .map(|(_, value)| value).cloned().nillable() [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] --> hematita/src/vm/value.rs:681:16 [INFO] [stdout] | [INFO] [stdout] 680 | fn from(chunk: Chunk) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 681 | Self {chunk: chunk.arc(), up_values: vec![].into_boxed_slice()} [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] --> hematita/src/vm/value.rs:681:40 [INFO] [stdout] | [INFO] [stdout] 680 | fn from(chunk: Chunk) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 681 | Self {chunk: chunk.arc(), up_values: vec![].into_boxed_slice()} [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 32 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hematita` (lib) due to 33 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> hematita/src/ast/lexer.rs:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | .map_err(|_| Error::NumberTooLarge(number.into_boxed_str())) [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] --> hematita/src/ast/parser.rs:452:37 [INFO] [stdout] | [INFO] [stdout] 452 | let arguments = from_fn(|| match iter.peek().transpose() { [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] --> hematita/src/ast/parser.rs:502:38 [INFO] [stdout] | [INFO] [stdout] 502 | let arguments = from_fn(|| match iter.peek().transpose() { [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] --> hematita/src/ast/parser.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 639 | let condition = parse_expression(iter)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 640 | expect!(iter.next(), Token::KeywordThen); [INFO] [stdout] 641 | let then = parse_block(iter)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 642 | [INFO] [stdout] 643 | let mut r#else = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 644 | let else_ifs = from_fn(|| match iter.next().transpose() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 661 | Ok(Statement::If { [INFO] [stdout] | ________^ [INFO] [stdout] 662 | | condition, [INFO] [stdout] 663 | | then, [INFO] [stdout] 664 | | else_ifs, [INFO] [stdout] 665 | | r#else [INFO] [stdout] 666 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> hematita/src/ast/parser.rs:644:34 [INFO] [stdout] | [INFO] [stdout] 644 | let else_ifs = from_fn(|| match iter.next().transpose() { [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] --> hematita/src/ast/parser.rs:741:24 [INFO] [stdout] | [INFO] [stdout] 741 | from_fn(move || match iter.peek().transpose() { [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] --> hematita/src/ast/parser.rs:795:5 [INFO] [stdout] | [INFO] [stdout] 792 | let body = parse_block(iter)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 795 | Ok(match name_rest { [INFO] [stdout] | ________^ [INFO] [stdout] 796 | | None => [INFO] [stdout] 797 | | Statement::LocalFunction {name: name_first, arguments, body}, [INFO] [stdout] 798 | | Some((name_rest, None)) => [INFO] [stdout] ... | [INFO] [stdout] 801 | | Statement::Method {class: (name_first, name_rest), name, arguments, body} [INFO] [stdout] 802 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> hematita/src/ast/parser.rs:813:5 [INFO] [stdout] | [INFO] [stdout] 810 | let body = parse_block(iter)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 813 | Ok(Expression::Function {arguments, body}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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] --> hematita/src/ast/parser.rs:1252:6 [INFO] [stdout] | [INFO] [stdout] 1251 | fn try_from(value: Expression) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1252 | Ok(match value { [INFO] [stdout] | ____________^ [INFO] [stdout] 1253 | | Expression::Identifier(identifier) => [INFO] [stdout] 1254 | | Self::Identifier(identifier), [INFO] [stdout] 1255 | | Expression::Index {indexee, index} => [INFO] [stdout] 1256 | | Self::Index {indexee: *indexee, index: *index}, [INFO] [stdout] 1257 | | _ => return Err(ASTError::Parser(Error(None))) // TODO [INFO] [stdout] 1258 | | }) [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] --> hematita/src/lua_lib.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 12 | let table = table.data.lock().map_err(|error| format!("{}", error))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | / (1..=end) [INFO] [stdout] 18 | | .map(|index| table.get(&Value::Integer(index)).nillable()) [INFO] [stdout] 19 | | .collect() [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> hematita/src/lua_lib.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | .map(|index| table.get(&Value::Integer(index)).nillable()) [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] --> hematita/src/lua_lib.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn vector_to_table(vector: Vec>) -> HashMap { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | / vector.into_iter().enumerate() [INFO] [stdout] 25 | | .filter_map(|(index, value)| value.map(|value| (index, value))) [INFO] [stdout] 26 | | .map(|(index, value)| (Value::Integer(index as i64 + 1), 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] --> hematita/src/lua_lib.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|(index, value)| (Value::Integer(index as i64 + 1), value)) [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] --> hematita/src/lua_lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn print<'n>(arguments: Arc>, _: &VirtualMachine) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(lua_tuple![].arc()) [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] --> hematita/src/lua_lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn pcall<'n>(arguments: Arc>, vm: &VirtualMachine<'n>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | -> Result>, String> { [INFO] [stdout] 41 | Ok(match arguments.array_remove(1) { [INFO] [stdout] | ________^ [INFO] [stdout] 42 | | NonNil(Value::Function(function)) => [INFO] [stdout] 43 | | match vm.execute(&*function, arguments) { [INFO] [stdout] 44 | | Ok(result) => {result.tuple_insert(1, true.into()); result}, [INFO] [stdout] ... | [INFO] [stdout] 54 | | ].arc() [INFO] [stdout] 55 | | }) [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] --> hematita/src/lua_lib.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn error<'n>(arguments: Arc>, _: &VirtualMachine<'n>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | -> Result>, String> { [INFO] [stdout] 60 | Err(arguments.index(&Value::Integer(1)).option() [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] --> hematita/src/lua_lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn setmetatable<'n>(arguments: Arc>, _: &VirtualMachine<'n>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | -> Result>, String> { [INFO] [stdout] 67 | let arguments = table_to_vector(&arguments)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let meta = match arguments.get(1) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Ok(lua_tuple![].arc()) [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] --> hematita/src/lua_lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn getmetatable<'n>(arguments: Arc>, _: &VirtualMachine<'n>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | -> Result>, String> { [INFO] [stdout] 87 | let arguments = table_to_vector(&arguments)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Ok(match arguments.get(0) { [INFO] [stdout] | ________^ [INFO] [stdout] 89 | | Some(NonNil(Value::Table(table))) => match table.metatable.lock() [INFO] [stdout] 90 | | .map_err(|error| format!("{}", error))?.clone() { [INFO] [stdout] 91 | | Some(metatable) => { [INFO] [stdout] ... | [INFO] [stdout] 101 | | _ => lua_tuple![] [INFO] [stdout] 102 | | }.arc()) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> hematita/src/lua_lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn r#type<'n>(arguments: Arc>, _: &VirtualMachine<'n>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | -> Result>, String> { [INFO] [stdout] 107 | Ok(lua_tuple![arguments.index(&1i64.into()).type_name()].arc()) [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] --> hematita/src/vm/mod.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(global: Arc>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | Self { [INFO] [stdout] 111 | number_meta: 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] --> hematita/src/vm/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(global: Arc>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | string_meta: 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] --> hematita/src/vm/mod.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(global: Arc>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | boolean_meta: 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] --> hematita/src/vm/mod.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(global: Arc>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | function_meta: 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] --> hematita/src/vm/mod.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn execute(&self, function: &Function<'n>, arguments: Arc>) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let registers = vec![Default::default(); function.chunk.registers] [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | StackFrame {virtual_machine, function, registers}.execute(arguments) [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] --> hematita/src/vm/mod.rs:613:27 [INFO] [stdout] | [INFO] [stdout] 612 | let data = table.data.lock().expect("poison error"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 613 | IndexOperation::Value(data.get(index).nillable()) [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] --> hematita/src/vm/value.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn new_string(string: impl AsRef) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | Self::String(string.as_ref().to_owned().into_boxed_str()) [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 `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> hematita/src/vm/value.rs:346:26 [INFO] [stdout] | [INFO] [stdout] 346 | NonNil(value) => value.borrow().type_name(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Value<'_>` does not implement `Borrow`, so calling `borrow` on `&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] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 346 - NonNil(value) => value.borrow().type_name(), [INFO] [stdout] 346 + NonNil(value) => value.type_name(), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 178 + #[derive(Clone)] [INFO] [stdout] 179 | pub enum Value<'n> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> hematita/src/vm/value.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | NonNil(value) => value.borrow().coerce_to_bool(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Value<'_>` does not implement `Borrow`, so calling `borrow` on `&Value<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 361 - NonNil(value) => value.borrow().coerce_to_bool(), [INFO] [stdout] 361 + NonNil(value) => value.coerce_to_bool(), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 178 + #[derive(Clone)] [INFO] [stdout] 179 | pub enum Value<'n> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> hematita/src/vm/value.rs:383:52 [INFO] [stdout] | [INFO] [stdout] 383 | Nillable::NonNil(value) => write!(f, "{}", value.borrow()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Value<'_>` does not implement `Borrow`, so calling `borrow` on `&Value<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 383 - Nillable::NonNil(value) => write!(f, "{}", value.borrow()), [INFO] [stdout] 383 + Nillable::NonNil(value) => write!(f, "{}", value), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 178 + #[derive(Clone)] [INFO] [stdout] 179 | pub enum Value<'n> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> hematita/src/vm/value.rs:392:54 [INFO] [stdout] | [INFO] [stdout] 392 | Nillable::NonNil(value) => write!(f, "{:?}", value.borrow()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Value<'_>` does not implement `Borrow`, so calling `borrow` on `&Value<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 392 - Nillable::NonNil(value) => write!(f, "{:?}", value.borrow()), [INFO] [stdout] 392 + Nillable::NonNil(value) => write!(f, "{:?}", value), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 178 + #[derive(Clone)] [INFO] [stdout] 179 | pub enum Value<'n> { [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] --> hematita/src/vm/value.rs:498:28 [INFO] [stdout] | [INFO] [stdout] 498 | .for_each(|index| match take(&mut 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] --> hematita/src/vm/value.rs:516:28 [INFO] [stdout] | [INFO] [stdout] 516 | .for_each(|index| match take(&mut 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] --> hematita/src/vm/value.rs:561:28 [INFO] [stdout] | [INFO] [stdout] 561 | .for_each(|index| match take(&mut 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] --> hematita/src/vm/value.rs:596:3 [INFO] [stdout] | [INFO] [stdout] 593 | let data = self.data.lock().expect("poison error"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 596 | / data.raw_entry().from_hash(hasher.finish(), |check| index == check) [INFO] [stdout] 597 | | .map(|(_, value)| value).cloned().nillable() [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] --> hematita/src/vm/value.rs:681:16 [INFO] [stdout] | [INFO] [stdout] 680 | fn from(chunk: Chunk) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 681 | Self {chunk: chunk.arc(), up_values: vec![].into_boxed_slice()} [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] --> hematita/src/vm/value.rs:681:40 [INFO] [stdout] | [INFO] [stdout] 680 | fn from(chunk: Chunk) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 681 | Self {chunk: chunk.arc(), up_values: vec![].into_boxed_slice()} [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 32 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hematita` (lib test) due to 33 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0e47944459144283d2142223117932b21f4a5ae70fcc6edea4ef9a437b827f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e47944459144283d2142223117932b21f4a5ae70fcc6edea4ef9a437b827f6c", kill_on_drop: false }` [INFO] [stdout] 0e47944459144283d2142223117932b21f4a5ae70fcc6edea4ef9a437b827f6c