[INFO] fetching crate hematita 0.1.0... [INFO] checking hematita-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hematita 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate hematita 0.1.0 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 crates.io crate hematita 0.1.0 [INFO] finished tweaking crates.io crate hematita 0.1.0 [INFO] tweaked toml for crates.io crate hematita 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding hashbrown v0.11.2 (latest: v0.14.5) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding visibility v0.0.1 (latest: v0.1.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 725ae35d3bbf273d5c219d4a97ba36923f47d9950b83efc0cdcefe074b0d0589 [INFO] running `Command { std: "docker" "start" "-a" "725ae35d3bbf273d5c219d4a97ba36923f47d9950b83efc0cdcefe074b0d0589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "725ae35d3bbf273d5c219d4a97ba36923f47d9950b83efc0cdcefe074b0d0589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "725ae35d3bbf273d5c219d4a97ba36923f47d9950b83efc0cdcefe074b0d0589", kill_on_drop: false }` [INFO] [stdout] 725ae35d3bbf273d5c219d4a97ba36923f47d9950b83efc0cdcefe074b0d0589 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 135e5ea1e2029251c8387a6a2e376fea01f733c6bfdb441795921685668a6ce0 [INFO] running `Command { std: "docker" "start" "-a" "135e5ea1e2029251c8387a6a2e376fea01f733c6bfdb441795921685668a6ce0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling hematita v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling visibility v0.0.1 [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:394:10 [INFO] [stdout] | [INFO] [stdout] 394 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:397:10 [INFO] [stdout] | [INFO] [stdout] 397 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:931:5 [INFO] [stdout] | [INFO] [stdout] 931 | 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:940:4 [INFO] [stdout] | [INFO] [stdout] 940 | 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: 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] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:394:10 [INFO] [stdout] | [INFO] [stdout] 394 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:397:10 [INFO] [stdout] | [INFO] [stdout] 397 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | ... 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:931:5 [INFO] [stdout] | [INFO] [stdout] 931 | 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] --> src/vm/mod.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | #[allow(unused_mut, unused_variable, unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/mod.rs:940:4 [INFO] [stdout] | [INFO] [stdout] 940 | 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/lexer.rs:329:39 [INFO] [stdout] | [INFO] [stdout] 329 | .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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> src/ast/parser.rs:1198:6 [INFO] [stdout] | [INFO] [stdout] 1197 | 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] 1198 | Ok(match value { [INFO] [stdout] | ____________^ [INFO] [stdout] 1199 | | Expression::Identifier(identifier) => [INFO] [stdout] 1200 | | Self::Identifier(identifier), [INFO] [stdout] 1201 | | Expression::Index {indexee, index} => [INFO] [stdout] 1202 | | Self::Index {indexee: *indexee, index: *index}, [INFO] [stdout] 1203 | | _ => return Err(ASTError::Parser(Error(None))) // TODO [INFO] [stdout] 1204 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lua_lib.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | .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] --> src/lua_lib.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 20 | / vector.into_iter().enumerate() [INFO] [stdout] 21 | | .filter_map(|(index, value)| value.map(|value| (index, value))) [INFO] [stdout] 22 | | .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] --> src/lua_lib.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | .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] --> src/lua_lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 26 | 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] 32 | Ok(lua_tuple![].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] --> src/lua_lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 36 | -> Result>, String> { [INFO] [stdout] 37 | Ok(match arguments.array_remove(1) { [INFO] [stdout] | ________^ [INFO] [stdout] 38 | | NonNil(Value::Function(function)) => [INFO] [stdout] 39 | | match vm.execute(&*function, arguments) { [INFO] [stdout] 40 | | Ok(result) => {result.tuple_insert(1, true.into()); result}, [INFO] [stdout] ... | [INFO] [stdout] 50 | | ].arc() [INFO] [stdout] 51 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lua_lib.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 55 | -> Result>, String> { [INFO] [stdout] 56 | 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] --> src/lua_lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 61 | 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] 62 | -> Result>, String> { [INFO] [stdout] 63 | 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] 64 | 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] 77 | Ok(lua_tuple![].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] --> src/lua_lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 80 | 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] 81 | -> Result>, String> { [INFO] [stdout] 82 | 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] 83 | Ok(match arguments.get(0) { [INFO] [stdout] | ________^ [INFO] [stdout] 84 | | Some(NonNil(Value::Table(table))) => [INFO] [stdout] 85 | | match table.metatable.lock().unwrap().clone() { [INFO] [stdout] 86 | | Some(metatable) => { [INFO] [stdout] ... | [INFO] [stdout] 95 | | _ => lua_tuple![] [INFO] [stdout] 96 | | }.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] --> src/lua_lib.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 100 | -> Result>, String> { [INFO] [stdout] 101 | 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> src/vm/mod.rs:589:27 [INFO] [stdout] | [INFO] [stdout] 588 | let data = table.data.lock().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 589 | 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] --> src/vm/value.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 180 | 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] 181 | 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/lexer.rs:329:39 [INFO] [stdout] | [INFO] [stdout] 329 | .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] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/vm/value.rs:334:26 [INFO] [stdout] | [INFO] [stdout] 334 | 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] 334 - NonNil(value) => value.borrow().type_name(), [INFO] [stdout] 334 + NonNil(value) => value.type_name(), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 166 + #[derive(Clone)] [INFO] [stdout] 167 | 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] --> src/vm/value.rs:349:26 [INFO] [stdout] | [INFO] [stdout] 349 | 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] 349 - NonNil(value) => value.borrow().coerce_to_bool(), [INFO] [stdout] 349 + 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] 166 + #[derive(Clone)] [INFO] [stdout] 167 | 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] --> src/vm/value.rs:371:52 [INFO] [stdout] | [INFO] [stdout] 371 | 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] 371 - Nillable::NonNil(value) => write!(f, "{}", value.borrow()), [INFO] [stdout] 371 + 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] 166 + #[derive(Clone)] [INFO] [stdout] 167 | 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] --> src/vm/value.rs:380:54 [INFO] [stdout] | [INFO] [stdout] 380 | 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] 380 - Nillable::NonNil(value) => write!(f, "{:?}", value.borrow()), [INFO] [stdout] 380 + 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] 166 + #[derive(Clone)] [INFO] [stdout] 167 | 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] --> src/vm/value.rs:481:28 [INFO] [stdout] | [INFO] [stdout] 481 | .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] --> src/vm/value.rs:496:28 [INFO] [stdout] | [INFO] [stdout] 496 | .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] --> src/vm/value.rs:529:28 [INFO] [stdout] | [INFO] [stdout] 529 | .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] --> src/vm/value.rs:555:3 [INFO] [stdout] | [INFO] [stdout] 552 | let data = self.data.lock().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | / data.raw_entry().from_hash(hasher.finish(), |check| index == check) [INFO] [stdout] 556 | | .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] --> src/vm/value.rs:641:16 [INFO] [stdout] | [INFO] [stdout] 640 | 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] 641 | 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] --> src/vm/value.rs:641:40 [INFO] [stdout] | [INFO] [stdout] 640 | 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] 641 | 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> src/ast/parser.rs:1198:6 [INFO] [stdout] | [INFO] [stdout] 1197 | 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] 1198 | Ok(match value { [INFO] [stdout] | ____________^ [INFO] [stdout] 1199 | | Expression::Identifier(identifier) => [INFO] [stdout] 1200 | | Self::Identifier(identifier), [INFO] [stdout] 1201 | | Expression::Index {indexee, index} => [INFO] [stdout] 1202 | | Self::Index {indexee: *indexee, index: *index}, [INFO] [stdout] 1203 | | _ => return Err(ASTError::Parser(Error(None))) // TODO [INFO] [stdout] 1204 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lua_lib.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | .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] --> src/lua_lib.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 20 | / vector.into_iter().enumerate() [INFO] [stdout] 21 | | .filter_map(|(index, value)| value.map(|value| (index, value))) [INFO] [stdout] 22 | | .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] --> src/lua_lib.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | .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] --> src/lua_lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 26 | 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] 32 | Ok(lua_tuple![].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] --> src/lua_lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 36 | -> Result>, String> { [INFO] [stdout] 37 | Ok(match arguments.array_remove(1) { [INFO] [stdout] | ________^ [INFO] [stdout] 38 | | NonNil(Value::Function(function)) => [INFO] [stdout] 39 | | match vm.execute(&*function, arguments) { [INFO] [stdout] 40 | | Ok(result) => {result.tuple_insert(1, true.into()); result}, [INFO] [stdout] ... | [INFO] [stdout] 50 | | ].arc() [INFO] [stdout] 51 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lua_lib.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 55 | -> Result>, String> { [INFO] [stdout] 56 | 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] --> src/lua_lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 61 | 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] 62 | -> Result>, String> { [INFO] [stdout] 63 | 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] 64 | 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] 77 | Ok(lua_tuple![].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] --> src/lua_lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 80 | 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] 81 | -> Result>, String> { [INFO] [stdout] 82 | 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] 83 | Ok(match arguments.get(0) { [INFO] [stdout] | ________^ [INFO] [stdout] 84 | | Some(NonNil(Value::Table(table))) => [INFO] [stdout] 85 | | match table.metatable.lock().unwrap().clone() { [INFO] [stdout] 86 | | Some(metatable) => { [INFO] [stdout] ... | [INFO] [stdout] 95 | | _ => lua_tuple![] [INFO] [stdout] 96 | | }.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] --> src/lua_lib.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 100 | -> Result>, String> { [INFO] [stdout] 101 | 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> src/vm/mod.rs:589:27 [INFO] [stdout] | [INFO] [stdout] 588 | let data = table.data.lock().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 589 | 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] --> src/vm/value.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 180 | 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] 181 | 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] --> src/vm/value.rs:334:26 [INFO] [stdout] | [INFO] [stdout] 334 | 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] 334 - NonNil(value) => value.borrow().type_name(), [INFO] [stdout] 334 + NonNil(value) => value.type_name(), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 166 + #[derive(Clone)] [INFO] [stdout] 167 | pub enum Value<'n> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/vm/value.rs:349:26 [INFO] [stdout] | [INFO] [stdout] 349 | 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] 349 - NonNil(value) => value.borrow().coerce_to_bool(), [INFO] [stdout] 349 + 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] 166 + #[derive(Clone)] [INFO] [stdout] 167 | 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] --> src/vm/value.rs:371:52 [INFO] [stdout] | [INFO] [stdout] 371 | 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] 371 - Nillable::NonNil(value) => write!(f, "{}", value.borrow()), [INFO] [stdout] 371 + 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] 166 + #[derive(Clone)] [INFO] [stdout] 167 | 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] --> src/vm/value.rs:380:54 [INFO] [stdout] | [INFO] [stdout] 380 | 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] 380 - Nillable::NonNil(value) => write!(f, "{:?}", value.borrow()), [INFO] [stdout] 380 + 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] 166 + #[derive(Clone)] [INFO] [stdout] 167 | 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] --> src/vm/value.rs:481:28 [INFO] [stdout] | [INFO] [stdout] 481 | .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] --> src/vm/value.rs:496:28 [INFO] [stdout] | [INFO] [stdout] 496 | .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] --> src/vm/value.rs:529:28 [INFO] [stdout] | [INFO] [stdout] 529 | .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] --> src/vm/value.rs:555:3 [INFO] [stdout] | [INFO] [stdout] 552 | let data = self.data.lock().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | / data.raw_entry().from_hash(hasher.finish(), |check| index == check) [INFO] [stdout] 556 | | .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] --> src/vm/value.rs:641:16 [INFO] [stdout] | [INFO] [stdout] 640 | 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] 641 | 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] --> src/vm/value.rs:641:40 [INFO] [stdout] | [INFO] [stdout] 640 | 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] 641 | 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] [stderr] error: could not compile `hematita` (lib test) due to 32 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 31 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hematita` (lib) due to 32 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "135e5ea1e2029251c8387a6a2e376fea01f733c6bfdb441795921685668a6ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "135e5ea1e2029251c8387a6a2e376fea01f733c6bfdb441795921685668a6ce0", kill_on_drop: false }` [INFO] [stdout] 135e5ea1e2029251c8387a6a2e376fea01f733c6bfdb441795921685668a6ce0