[INFO] cloning repository https://github.com/Mo-Jian-Xia-Ke/WACC-36 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mo-Jian-Xia-Ke/WACC-36" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMo-Jian-Xia-Ke%2FWACC-36", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMo-Jian-Xia-Ke%2FWACC-36'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d5cd01f55515af0d921dcfa14b44dc9dcbd0df8 [INFO] checking Mo-Jian-Xia-Ke/WACC-36/7d5cd01f55515af0d921dcfa14b44dc9dcbd0df8 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%2FMo-Jian-Xia-Ke%2FWACC-36" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mo-Jian-Xia-Ke/WACC-36 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/Mo-Jian-Xia-Ke/WACC-36 [INFO] finished tweaking git repo https://github.com/Mo-Jian-Xia-Ke/WACC-36 [INFO] tweaked toml for git repo https://github.com/Mo-Jian-Xia-Ke/WACC-36 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Mo-Jian-Xia-Ke/WACC-36 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-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] 6cdab2a7558751a351a895e6cfb2456a97f80c15219b6b15fc3bb3ca953435e4 [INFO] running `Command { std: "docker" "start" "-a" "6cdab2a7558751a351a895e6cfb2456a97f80c15219b6b15fc3bb3ca953435e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cdab2a7558751a351a895e6cfb2456a97f80c15219b6b15fc3bb3ca953435e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cdab2a7558751a351a895e6cfb2456a97f80c15219b6b15fc3bb3ca953435e4", kill_on_drop: false }` [INFO] [stdout] 6cdab2a7558751a351a895e6cfb2456a97f80c15219b6b15fc3bb3ca953435e4 [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] c611e62dc3a6a4b9c5b422416683aca1837763578cdb6825e228af403c1f7a02 [INFO] running `Command { std: "docker" "start" "-a" "c611e62dc3a6a4b9c5b422416683aca1837763578cdb6825e228af403c1f7a02", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling chumsky v1.0.0-alpha.6 (https://github.com/YunkaiZhang233/chumsky.git#5ad8a795) [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking ariadne v0.4.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking wacc_36 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::code_generator::asm::Scale` [INFO] [stdout] --> src/code_generator/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::code_generator::asm::Scale; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ARRAY_LOAD_LABEL` and `ARRAY_STORE_LABEL` [INFO] [stdout] --> src/code_generator/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::code_generator::clib_functions::{ARRAY_LOAD_LABEL, ARRAY_STORE_LABEL}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OverFlow` [INFO] [stdout] --> src/code_generator/clib_functions.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::code_generator::asm::ConditionCode::{OverFlow, EQ, GTE, LT, NEQ}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryInstr` [INFO] [stdout] --> src/code_generator/clib_functions.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::code_generator::asm::Instr::{BinaryInstr, UnaryControl}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryReferenceImmediate` and `RESULT_REG` [INFO] [stdout] --> src/code_generator/clib_functions.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | InstrOperand, InstrType, MemoryReference, MemoryReferenceImmediate, PrintType, Register, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | RuntimeErrorType, Scale, UnaryInstruction, UnaryNotScaled, RESULT_REG, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `POINTER_SIZE` [INFO] [stdout] --> src/code_generator/clib_functions.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::code_generator::{POINTER_SIZE, REFERENCE_OFFSET_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::ErrorKind` [INFO] [stdout] --> src/code_generator/clib_functions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::basic_optimise::PropagatedValue` [INFO] [stdout] --> src/code_generator/expr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::basic_optimise::PropagatedValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/code_generator/stmt.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | (Type::Pair(_, ref Any)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - (Type::Pair(_, ref Any)) [INFO] [stdout] 198 + Type::Pair(_, ref Any) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/code_generator/stmt.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | (Type::Pair(ref Any, _)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - (Type::Pair(ref Any, _)) [INFO] [stdout] 206 + Type::Pair(ref Any, _) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::code_generator::asm::AsmLine::Instruction` [INFO] [stdout] --> src/code_generator/peephole_optimise/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::code_generator::asm::AsmLine::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryInstruction` [INFO] [stdout] --> src/code_generator/peephole_optimise/mod.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::code_generator::asm::{AsmLine, BinaryInstruction, GeneratedCode, Instr, InstrType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/semantic_checker/expr.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{BinaryOperator, Expr, Function, Type, UnaryOperator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Spanned` [INFO] [stdout] --> src/semantic_checker/expr.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{any_span, MessageResult, Spanned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `empty_span` [INFO] [stdout] --> src/semantic_checker/program.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{empty_span, new_spanned, MessageResult, Spanned}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/semantic_checker/stmt.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::{ArgList, FuncSig, Function, Lvalue, Param, Rvalue, ScopedStmt, Stmt, Type}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/semantic_checker/util.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{ArrayElem, ArrayLiter, FuncSig, Function, Ident, PairElem, Param, Type}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Program` [INFO] [stdout] --> src/interpreter/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::Program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoolValue` and `IntValue` [INFO] [stdout] --> src/interpreter/expr.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::interpreter::Evaluated::{BoolValue, IntValue}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_level` [INFO] [stdout] --> src/interpreter/expr.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::interpreter::{get_level, Evaluated, Interpretable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpreter::Evaluated::*` [INFO] [stdout] --> src/interpreter/expr.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::interpreter::Evaluated::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicBool` and `BasicInt` [INFO] [stdout] --> src/basic_optimise/expr.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::basic_optimise::PropagatedValue::{BasicBool, BasicInt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Param` [INFO] [stdout] --> src/basic_optimise/program.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{Function, Param, Program}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PropagatedValue` [INFO] [stdout] --> src/basic_optimise/program.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::basic_optimise::{ASTOptimise, PropagatedValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::code_generator::asm::Scale` [INFO] [stdout] --> src/code_generator/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::code_generator::asm::Scale; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ARRAY_LOAD_LABEL` and `ARRAY_STORE_LABEL` [INFO] [stdout] --> src/code_generator/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::code_generator::clib_functions::{ARRAY_LOAD_LABEL, ARRAY_STORE_LABEL}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OverFlow` [INFO] [stdout] --> src/code_generator/clib_functions.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::code_generator::asm::ConditionCode::{OverFlow, EQ, GTE, LT, NEQ}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryInstr` [INFO] [stdout] --> src/code_generator/clib_functions.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::code_generator::asm::Instr::{BinaryInstr, UnaryControl}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryReferenceImmediate` and `RESULT_REG` [INFO] [stdout] --> src/code_generator/clib_functions.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | InstrOperand, InstrType, MemoryReference, MemoryReferenceImmediate, PrintType, Register, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | RuntimeErrorType, Scale, UnaryInstruction, UnaryNotScaled, RESULT_REG, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `POINTER_SIZE` [INFO] [stdout] --> src/code_generator/clib_functions.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::code_generator::{POINTER_SIZE, REFERENCE_OFFSET_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::ErrorKind` [INFO] [stdout] --> src/code_generator/clib_functions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::basic_optimise::PropagatedValue` [INFO] [stdout] --> src/code_generator/expr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::basic_optimise::PropagatedValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/code_generator/stmt.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | (Type::Pair(_, ref Any)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - (Type::Pair(_, ref Any)) [INFO] [stdout] 198 + Type::Pair(_, ref Any) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/code_generator/stmt.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | (Type::Pair(ref Any, _)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - (Type::Pair(ref Any, _)) [INFO] [stdout] 206 + Type::Pair(ref Any, _) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::code_generator::asm::AsmLine::Instruction` [INFO] [stdout] --> src/code_generator/peephole_optimise/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::code_generator::asm::AsmLine::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryInstruction` [INFO] [stdout] --> src/code_generator/peephole_optimise/mod.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::code_generator::asm::{AsmLine, BinaryInstruction, GeneratedCode, Instr, InstrType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/semantic_checker/expr.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{BinaryOperator, Expr, Function, Type, UnaryOperator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Spanned` [INFO] [stdout] --> src/semantic_checker/expr.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{any_span, MessageResult, Spanned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `empty_span` [INFO] [stdout] --> src/semantic_checker/program.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{empty_span, new_spanned, MessageResult, Spanned}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/semantic_checker/stmt.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::{ArgList, FuncSig, Function, Lvalue, Param, Rvalue, ScopedStmt, Stmt, Type}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/semantic_checker/util.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{ArrayElem, ArrayLiter, FuncSig, Function, Ident, PairElem, Param, Type}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Program` [INFO] [stdout] --> src/interpreter/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::Program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoolValue` and `IntValue` [INFO] [stdout] --> src/interpreter/expr.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::interpreter::Evaluated::{BoolValue, IntValue}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_level` [INFO] [stdout] --> src/interpreter/expr.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::interpreter::{get_level, Evaluated, Interpretable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpreter::Evaluated::*` [INFO] [stdout] --> src/interpreter/expr.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::interpreter::Evaluated::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicBool` and `BasicInt` [INFO] [stdout] --> src/basic_optimise/expr.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::basic_optimise::PropagatedValue::{BasicBool, BasicInt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Param` [INFO] [stdout] --> src/basic_optimise/program.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{Function, Param, Program}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PropagatedValue` [INFO] [stdout] --> src/basic_optimise/program.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::basic_optimise::{ASTOptimise, PropagatedValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/interpreter/stmt.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 127 | / match pair_elem { [INFO] [stdout] 128 | | PairElem::PairElemFst(boxed) => { [INFO] [stdout] 129 | | let x = &boxed.0; [INFO] [stdout] 130 | | // x is guaranteed to be of type "Pair" [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] 140 | | } [INFO] [stdout] | |_________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 141 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/interpreter/stmt.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 127 | / match pair_elem { [INFO] [stdout] 128 | | PairElem::PairElemFst(boxed) => { [INFO] [stdout] 129 | | let x = &boxed.0; [INFO] [stdout] 130 | | // x is guaranteed to be of type "Pair" [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] 140 | | } [INFO] [stdout] | |_________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 141 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/code_generator/clib_functions.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | scope: &mut ScopeInfo, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regs` [INFO] [stdout] --> src/code_generator/clib_functions.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | regs: &mut Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_regs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/code_generator/clib_functions.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/code_generator/clib_functions.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | scope: &mut ScopeInfo, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regs` [INFO] [stdout] --> src/code_generator/clib_functions.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | regs: &mut Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_regs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/code_generator/clib_functions.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/code_generator/expr.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut lhs_exp = &mut boxed_lhs.0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/code_generator/expr.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let mut rhs_exp = &mut boxed_rhs.0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/code_generator/expr.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut lhs_exp = &mut boxed_lhs.0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/code_generator/expr.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let mut rhs_exp = &mut boxed_rhs.0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/code_generator/program.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut scope = scope.make_scope(&mut self.param_symbol_table); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/code_generator/program.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut scope = scope.make_scope(&mut self.param_symbol_table); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `scale` is never read [INFO] [stdout] --> src/code_generator/stmt.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let mut scale = Scale::default(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `scale` is never read [INFO] [stdout] --> src/code_generator/stmt.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let mut scale = Scale::default(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/code_generator/stmt.rs:680:9 [INFO] [stdout] | [INFO] [stdout] 680 | aux: (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/code_generator/stmt.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | aux: (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/code_generator/stmt.rs:680:9 [INFO] [stdout] | [INFO] [stdout] 680 | aux: (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/code_generator/stmt.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | aux: (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/semantic_checker/stmt.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut lhs_type = lhs.clone().0.analyse(scope); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/semantic_checker/stmt.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut lhs_type = lhs.clone().0.analyse(scope); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/semantic_checker/util.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn func_analyse(&mut self, scope: &mut ScopeInfo) -> MessageResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renamed_id` [INFO] [stdout] --> src/semantic_checker/util.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | Some((t, renamed_id)) => Ok(t.clone()), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renamed_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/semantic_checker/util.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | Some((t, renamed_id)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renamed_id` [INFO] [stdout] --> src/semantic_checker/util.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | Some((t, renamed_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renamed_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register` [INFO] [stdout] --> src/symbol_table.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | Some((t, register)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/semantic_checker/util.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn func_analyse(&mut self, scope: &mut ScopeInfo) -> MessageResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renamed_id` [INFO] [stdout] --> src/semantic_checker/util.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | Some((t, renamed_id)) => Ok(t.clone()), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renamed_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/semantic_checker/util.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | Some((t, renamed_id)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renamed_id` [INFO] [stdout] --> src/semantic_checker/util.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | Some((t, renamed_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renamed_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register` [INFO] [stdout] --> src/symbol_table.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | Some((t, register)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/interpreter/expr.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | let index = arr_elem.indices.iter().map(|(i, _)| i).collect::>(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/interpreter/expr.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter/expr.rs:309:55 [INFO] [stdout] | [INFO] [stdout] 309 | ... let Evaluated::ArrayValue(mut next_arr) = arr_addr[used_index].clone() [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/interpreter/expr.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | let index = arr_elem.indices.iter().map(|(i, _)| i).collect::>(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/interpreter/expr.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/interpreter/program.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/interpreter/stmt.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_val` [INFO] [stdout] --> src/interpreter/stmt.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | for (num, (id_, _, array_val)) in entry_stack.iter().rev().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/interpreter/stmt.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let x = &boxed.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/interpreter/stmt.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | let x = &boxed.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter/stmt.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | let mut array_pointer = &mut stack[total - num - 1].2; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/interpreter/stmt.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | Stmt::Free(type_, object_) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_type_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_` [INFO] [stdout] --> src/interpreter/stmt.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | Stmt::Free(type_, object_) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/interpreter/stmt.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter/expr.rs:309:55 [INFO] [stdout] | [INFO] [stdout] 309 | ... let Evaluated::ArrayValue(mut next_arr) = arr_addr[used_index].clone() [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/interpreter/program.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/interpreter/stmt.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/interpreter/stmt.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_val` [INFO] [stdout] --> src/interpreter/stmt.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | for (num, (id_, _, array_val)) in entry_stack.iter().rev().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/interpreter/stmt.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let x = &boxed.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/interpreter/stmt.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | let x = &boxed.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter/stmt.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | let mut array_pointer = &mut stack[total - num - 1].2; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/interpreter/stmt.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | Stmt::Free(type_, object_) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_type_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_` [INFO] [stdout] --> src/interpreter/stmt.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | Stmt::Free(type_, object_) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/interpreter/stmt.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/interpreter/stmt.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | aux: Self::Input, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/basic_optimise/mod.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 201 | BasicChar(x) => BasicInt((*x as u8) as i32), [INFO] [stdout] | ------------ matches all the relevant values [INFO] [stdout] 202 | BasicChar(_) => NotBasic, [INFO] [stdout] | ^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/basic_optimise/mod.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 201 | BasicChar(x) => BasicInt((*x as u8) as i32), [INFO] [stdout] | ------------ matches all the relevant values [INFO] [stdout] 202 | BasicChar(_) => NotBasic, [INFO] [stdout] | ^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/basic_optimise/mod.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 210 | BasicInt(x) => BasicChar(char::from(*x as u8)), [INFO] [stdout] | ----------- matches all the relevant values [INFO] [stdout] 211 | BasicInt(_) => NotBasic, [INFO] [stdout] | ^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/basic_optimise/mod.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 210 | BasicInt(x) => BasicChar(char::from(*x as u8)), [INFO] [stdout] | ----------- matches all the relevant values [INFO] [stdout] 211 | BasicInt(_) => NotBasic, [INFO] [stdout] | ^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut result = program_checker(&mut program); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut result = program_checker(&mut program); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_SIZE` is never used [INFO] [stdout] --> src/code_generator/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const DEFAULT_SIZE: i32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Scaled` is never used [INFO] [stdout] --> src/code_generator/asm.rs:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | pub type Scaled = (T, Scale); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_scale` is never used [INFO] [stdout] --> src/code_generator/asm.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn from_scale(scaled: Scaled) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_scale` is never used [INFO] [stdout] --> src/code_generator/asm.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn get_scale(scaled: Scaled) -> Scale { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/code_generator/asm.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 379 | impl MemoryReference { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 380 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Not`, `Or`, and `Ret` are never constructed [INFO] [stdout] --> src/code_generator/asm.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub enum InstrType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 435 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 445 | Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstrType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Comment` is never constructed [INFO] [stdout] --> src/code_generator/def_libary.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Directives { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Comment(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directives` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BODY` and `CLIB` are never constructed [INFO] [stdout] --> src/code_generator/asm_creator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum CodeTarget { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 11 | BODY, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | CLIB, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeTarget` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jump` is never used [INFO] [stdout] --> src/code_generator/asm_creator.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn jump(code: &mut GeneratedCode, label: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_array` and `from_pair` are never used [INFO] [stdout] --> src/interpreter/expr.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Evaluated { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn from_array(given: Vec) -> Evaluated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn from_pair(given_left: Evaluated, given_right: Evaluated) -> Evaluated { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpret_program` is never used [INFO] [stdout] --> src/interpreter/interpret.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn interpret_program(ast: &mut Program) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_be_basic` is never used [INFO] [stdout] --> src/basic_optimise/expr.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Expr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 8 | pub fn can_be_basic(&self) -> bool { [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/ast.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn new(statement: Spanned) -> ScopedStmt { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | ScopedStmt { [INFO] [stdout] 191 | stmt: Box::new(statement), [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: constant `DEFAULT_SIZE` is never used [INFO] [stdout] --> src/code_generator/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const DEFAULT_SIZE: i32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Scaled` is never used [INFO] [stdout] --> src/code_generator/asm.rs:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | pub type Scaled = (T, Scale); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_scale` is never used [INFO] [stdout] --> src/code_generator/asm.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn from_scale(scaled: Scaled) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_scale` is never used [INFO] [stdout] --> src/code_generator/asm.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn get_scale(scaled: Scaled) -> Scale { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/code_generator/asm.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 379 | impl MemoryReference { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 380 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Not`, `Or`, and `Ret` are never constructed [INFO] [stdout] --> src/code_generator/asm.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub enum InstrType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 435 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 445 | Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstrType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Comment` is never constructed [INFO] [stdout] --> src/code_generator/def_libary.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Directives { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Comment(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directives` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BODY` and `CLIB` are never constructed [INFO] [stdout] --> src/code_generator/asm_creator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum CodeTarget { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 11 | BODY, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | CLIB, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeTarget` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jump` is never used [INFO] [stdout] --> src/code_generator/asm_creator.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn jump(code: &mut GeneratedCode, label: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_array` and `from_pair` are never used [INFO] [stdout] --> src/interpreter/expr.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Evaluated { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn from_array(given: Vec) -> Evaluated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn from_pair(given_left: Evaluated, given_right: Evaluated) -> Evaluated { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpret_program` is never used [INFO] [stdout] --> src/interpreter/interpret.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn interpret_program(ast: &mut Program) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_be_basic` is never used [INFO] [stdout] --> src/basic_optimise/expr.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Expr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 8 | pub fn can_be_basic(&self) -> bool { [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/ast.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn new(statement: Spanned) -> ScopedStmt { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | ScopedStmt { [INFO] [stdout] 191 | stmt: Box::new(statement), [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.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn new(statement: Spanned) -> ScopedStmt { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | symbol_table: SymbolTable::default(), [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.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn new(statement: Spanned) -> ScopedStmt { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | symbol_table: SymbolTable::default(), [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/code_generator/program.rs:57:70 [INFO] [stdout] | [INFO] [stdout] 57 | .for_each(|(Parameter((_type, _), _), _)| args_type.push(_type.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Any` should have a snake case name [INFO] [stdout] --> src/code_generator/stmt.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | (Type::Pair(_, ref Any)) [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Any` should have a snake case name [INFO] [stdout] --> src/code_generator/stmt.rs:206:37 [INFO] [stdout] | [INFO] [stdout] 206 | (Type::Pair(ref Any, _)) [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `any` [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/code_generator/stmt.rs:379:59 [INFO] [stdout] | [INFO] [stdout] 379 | .for_each(|(_, _type)| args_type.push(_type.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expr.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 17 | recursive(|expr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let array_elem = ident [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let atom = choice((array_elem, atomic_liter, ident_expr)) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | / atom.pratt(( [INFO] [stdout] 163 | | prefix(7, unary_oper, unary_fold), [INFO] [stdout] 164 | | infix(left(6), binary_mul, binary_fold), [INFO] [stdout] 165 | | infix(left(5), binary_add, binary_fold), [INFO] [stdout] ... | [INFO] [stdout] 169 | | infix(right(1), binary_or, binary_fold), [INFO] [stdout] 170 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expr.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 86 | .map_with(|(ident_name, indices_vec), e| { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | Expr::ArrayElem(( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 88 | | ArrayElem { [INFO] [stdout] 89 | | ident: String::from(ident_name), [INFO] [stdout] 90 | | indices: indices_vec, [INFO] [stdout] 91 | | }, [INFO] [stdout] 92 | | e.span(), [INFO] [stdout] 93 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expr.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 154 | let binary_fold = |lhs, op, rhs, e: &mut MapExtra<'tokens, '_, _, _>| { [INFO] [stdout] | --- --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | (Expr::BinaryApp(Box::new(lhs), op, Box::new(rhs)), e.span()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expr.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 158 | let unary_fold = |op, rhs, e: &mut MapExtra<'tokens, '_, _, _>| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | (Expr::UnaryApp(op, Box::new(rhs)), e.span()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/lexer.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 52 | let bool_token = choice(( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let is_keyword = text::ascii::keyword("true") [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let keyword_token = is_keyword.clone().map(Token::Keyword); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | [INFO] [stdout] 206 | let ident = text::ascii::ident() [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | / choice(( [INFO] [stdout] 219 | | int_token, [INFO] [stdout] 220 | | bool_token, [INFO] [stdout] 221 | | char_token, [INFO] [stdout] ... | [INFO] [stdout] 231 | | .repeated() [INFO] [stdout] 232 | | .collect() [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/program.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | .map_with(|(type_, id), e| (Param::Parameter(type_, id), e.span())) [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/parser/program.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 33 | let param_list = param() [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | / type_parse() [INFO] [stdout] 38 | | .then(ident()) [INFO] [stdout] 39 | | .then(just(Token::Ctrl('('))) [INFO] [stdout] 40 | | .then(param_list) [INFO] [stdout] ... | [INFO] [stdout] 43 | | .then(stmt()) [INFO] [stdout] 44 | | .then(just(Token::Keyword("end"))) [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/code_generator/program.rs:57:70 [INFO] [stdout] | [INFO] [stdout] 57 | .for_each(|(Parameter((_type, _), _), _)| args_type.push(_type.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Any` should have a snake case name [INFO] [stdout] --> src/code_generator/stmt.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | (Type::Pair(_, ref Any)) [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Any` should have a snake case name [INFO] [stdout] --> src/code_generator/stmt.rs:206:37 [INFO] [stdout] | [INFO] [stdout] 206 | (Type::Pair(ref Any, _)) [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `any` [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/code_generator/stmt.rs:379:59 [INFO] [stdout] | [INFO] [stdout] 379 | .for_each(|(_, _type)| args_type.push(_type.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/program.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 45 | .try_map_with(|(((((((type_, id), _), params_list), _), _), st), _), e| { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let func_prototype = Function { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok((func_prototype, e.span())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/program.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | let funcs = func_parser().repeated().collect::>(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | / just(Token::Keyword("begin")) [INFO] [stdout] 85 | | .then(funcs) [INFO] [stdout] 86 | | .then(stmt()) [INFO] [stdout] 87 | | .then(just(Token::Keyword("end")).ignored()) [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/program.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 88 | .map_with(|(((_, func_list), st), _), e| { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | ( [INFO] [stdout] 90 | / Program { [INFO] [stdout] 91 | | functions: func_list, [INFO] [stdout] 92 | | body: ScopedStmt::new(st), [INFO] [stdout] 93 | | symbol_table: SymbolTable::default(), [INFO] [stdout] 94 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | .map_with(|x, e| (ArrayLiter { val: x }, e.span())) [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/parser/stmt.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | .map_with(|x, e| (ArgList::Arg(x), e.span())) [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/parser/stmt.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 63 | let vec_indices = expr() [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | / base.clone() [INFO] [stdout] 69 | | .then(vec_indices) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 70 | .map_with(|(id, vec_indices), e| { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | ( [INFO] [stdout] 72 | / ArrayElem { [INFO] [stdout] 73 | | ident: String::from(id), [INFO] [stdout] 74 | | indices: vec_indices.clone(), [INFO] [stdout] 75 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 98 | let l_ident = ident().map_with(|s, e| (Lvalue::LIdent(s), e.span())); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let l_arr_elem = array_elem().map_with(|arr, e| (Lvalue::LArrElem(arr), e.span())); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let l_pair_elem = pair_elem [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | l_arr_elem.or(l_ident).or(l_pair_elem) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | let l_ident = ident().map_with(|s, e| (Lvalue::LIdent(s), e.span())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:99:66 [INFO] [stdout] | [INFO] [stdout] 99 | let l_arr_elem = array_elem().map_with(|arr, e| (Lvalue::LArrElem(arr), e.span())); [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/parser/stmt.rs:102:39 [INFO] [stdout] | [INFO] [stdout] 102 | .map_with(|p, e| (Lvalue::LPairElem(p), e.span())); [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/parser/stmt.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | .map_with(|(_, f), e| (PairElem::PairElemFst(Box::new(f)), e.span())); [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/parser/stmt.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | .map_with(|(_, f), e| (PairElem::PairElemSnd(Box::new(f)), e.span())); [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/parser/stmt.rs:118:56 [INFO] [stdout] | [INFO] [stdout] 118 | let r_expr = expr().map_with(|exp, e| (Rvalue::RExpr(Box::new(exp)), e.span())); [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/parser/stmt.rs:122:47 [INFO] [stdout] | [INFO] [stdout] 122 | .map_with(|arr_liter, e| (Rvalue::RArrLit(Box::new(arr_liter)), e.span())); [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/parser/expr.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 17 | recursive(|expr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let array_elem = ident [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let atom = choice((array_elem, atomic_liter, ident_expr)) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | / atom.pratt(( [INFO] [stdout] 163 | | prefix(7, unary_oper, unary_fold), [INFO] [stdout] 164 | | infix(left(6), binary_mul, binary_fold), [INFO] [stdout] 165 | | infix(left(5), binary_add, binary_fold), [INFO] [stdout] ... | [INFO] [stdout] 169 | | infix(right(1), binary_or, binary_fold), [INFO] [stdout] 170 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 131 | .map_with(|((((_, ex1), _), ex2), _), e| { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | (Rvalue::RNewPair(Box::new(ex1), Box::new(ex2)), e.span()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expr.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 86 | .map_with(|(ident_name, indices_vec), e| { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | Expr::ArrayElem(( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 88 | | ArrayElem { [INFO] [stdout] 89 | | ident: String::from(ident_name), [INFO] [stdout] 90 | | indices: indices_vec, [INFO] [stdout] 91 | | }, [INFO] [stdout] 92 | | e.span(), [INFO] [stdout] 93 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expr.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 154 | let binary_fold = |lhs, op, rhs, e: &mut MapExtra<'tokens, '_, _, _>| { [INFO] [stdout] | --- --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | (Expr::BinaryApp(Box::new(lhs), op, Box::new(rhs)), e.span()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 138 | pair_elem.map_with(|p, e| (Rvalue::RPairElem(Box::new(p)), e.span())); [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/parser/expr.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 158 | let unary_fold = |op, rhs, e: &mut MapExtra<'tokens, '_, _, _>| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | (Expr::UnaryApp(op, Box::new(rhs)), e.span()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 146 | .map_with(|((((_, id), _), args_list), _), e| { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | ( [INFO] [stdout] 148 | / Rvalue::RCall( [INFO] [stdout] 149 | | id, [INFO] [stdout] 150 | | args_list.unwrap_or((ArgList::Arg(Vec::new()), e.span())), [INFO] [stdout] 151 | | ), [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/lexer.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 52 | let bool_token = choice(( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let is_keyword = text::ascii::keyword("true") [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let keyword_token = is_keyword.clone().map(Token::Keyword); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | [INFO] [stdout] 206 | let ident = text::ascii::ident() [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | / choice(( [INFO] [stdout] 219 | | int_token, [INFO] [stdout] 220 | | bool_token, [INFO] [stdout] 221 | | char_token, [INFO] [stdout] ... | [INFO] [stdout] 231 | | .repeated() [INFO] [stdout] 232 | | .collect() [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/program.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | .map_with(|(type_, id), e| (Param::Parameter(type_, id), e.span())) [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/parser/stmt.rs:165:75 [INFO] [stdout] | [INFO] [stdout] 165 | let skip_ = just(Token::Keyword("skip")).map_with(|_, e| (Stmt::Skip, e.span())); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/program.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 33 | let param_list = param() [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | / type_parse() [INFO] [stdout] 38 | | .then(ident()) [INFO] [stdout] 39 | | .then(just(Token::Ctrl('('))) [INFO] [stdout] 40 | | .then(param_list) [INFO] [stdout] ... | [INFO] [stdout] 43 | | .then(stmt()) [INFO] [stdout] 44 | | .then(just(Token::Keyword("end"))) [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/program.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 45 | .try_map_with(|(((((((type_, id), _), params_list), _), _), st), _), e| { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let func_prototype = Function { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok((func_prototype, e.span())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/program.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | let funcs = func_parser().repeated().collect::>(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | / just(Token::Keyword("begin")) [INFO] [stdout] 85 | | .then(funcs) [INFO] [stdout] 86 | | .then(stmt()) [INFO] [stdout] 87 | | .then(just(Token::Keyword("end")).ignored()) [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/program.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 88 | .map_with(|(((_, func_list), st), _), e| { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | ( [INFO] [stdout] 90 | / Program { [INFO] [stdout] 91 | | functions: func_list, [INFO] [stdout] 92 | | body: ScopedStmt::new(st), [INFO] [stdout] 93 | | symbol_table: SymbolTable::default(), [INFO] [stdout] 94 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | .map_with(|x, e| (ArrayLiter { val: x }, e.span())) [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/parser/stmt.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | .map_with(|x, e| (ArgList::Arg(x), e.span())) [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/parser/stmt.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 63 | let vec_indices = expr() [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | / base.clone() [INFO] [stdout] 69 | | .then(vec_indices) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 70 | .map_with(|(id, vec_indices), e| { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | ( [INFO] [stdout] 72 | / ArrayElem { [INFO] [stdout] 73 | | ident: String::from(id), [INFO] [stdout] 74 | | indices: vec_indices.clone(), [INFO] [stdout] 75 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:172:56 [INFO] [stdout] | [INFO] [stdout] 172 | .map_with(|(((t, id), _), rv), e| (Stmt::Declare(t, id, rv), e.span())); [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/parser/stmt.rs:179:51 [INFO] [stdout] | [INFO] [stdout] 179 | .map_with(|((lv, _), rv), e| (Stmt::Assign(Type::default(), lv, rv), e.span())); [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/parser/stmt.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | .map_with(|(_, x), e| (Stmt::Read(Type::default(), x), e.span())); [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/parser/stmt.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | .map_with(|(_, x), e| (Stmt::Free(Type::default(), x), e.span())); [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/parser/stmt.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 98 | let l_ident = ident().map_with(|s, e| (Lvalue::LIdent(s), e.span())); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let l_arr_elem = array_elem().map_with(|arr, e| (Lvalue::LArrElem(arr), e.span())); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let l_pair_elem = pair_elem [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | l_arr_elem.or(l_ident).or(l_pair_elem) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | .map_with(|(_, x), e| (Stmt::Return(x), e.span())); [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/parser/stmt.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | .map_with(|(_, x), e| (Stmt::Exit(x), e.span())); [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/parser/stmt.rs:204:44 [INFO] [stdout] | [INFO] [stdout] 204 | .map_with(|(_, x), e| (Stmt::Print(Type::default(), x), e.span())); [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/parser/stmt.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | .map_with(|(_, x), e| (Stmt::Println(Type::default(), x), e.span())); [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/parser/stmt.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 219 | .map_with(|((((((_, cond), _), st1), _), st2), _), e| { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | ( [INFO] [stdout] 221 | Stmt::If(cond, ScopedStmt::new(st1), ScopedStmt::new(st2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 232 | .map_with(|((((_, cond), _), body), _), e| { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | (Stmt::While(cond, ScopedStmt::new(body)), e.span()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:240:50 [INFO] [stdout] | [INFO] [stdout] 240 | .map_with(|((_, sc), _), e| (Stmt::Scope(ScopedStmt::new(sc)), e.span())); [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/parser/stmt.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | |st1, (_, st2), e| (Stmt::Serial(Box::new(st1), Box::new(st2)), e.span()), [INFO] [stdout] | --- -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/type_parser.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 28 | recursive(|type_parse| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let pair_type = { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let pair_elem_type = type_parse [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let array_base = base_type.or(pair_type); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | [INFO] [stdout] 55 | array_base.clone().foldl_with( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/type_parser.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 48 | .map_with(|((((_, p1), _), p2), _), e| { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | (Type::Pair(Box::new(p1), Box::new(p2)), e.span()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/type_parser.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | |base, _, e| (Type::Array(Box::new(base)), e.span()), [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/semantic_checker/program.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 104 | let mut stmts: Vec = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let res = scoped_stmt(&mut scope, &mut program.body, &mut stmts); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | ReturningInfo::PartialReturn(t) | ReturningInfo::EndReturn(t) if t != Type::Any => { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let body = build_statement(&mut stmts); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Ok(Program { [INFO] [stdout] | ________^ [INFO] [stdout] 176 | | functions: FUNCTIONS.lock().unwrap().clone(), [INFO] [stdout] 177 | | body: ScopedStmt { [INFO] [stdout] 178 | | stmt: Box::new(body), [INFO] [stdout] ... | [INFO] [stdout] 181 | | symbol_table: SymbolTable::default(), [INFO] [stdout] 182 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic_checker/program.rs:133:39 [INFO] [stdout] | [INFO] [stdout] 133 | .find(|f| f.0.ident.0 == *CURRENT_FUNCTION.lock().unwrap()) [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/semantic_checker/program.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | .find(|f| f.0.ident.0 == CALLED_FUNCIONS.lock().unwrap()[count]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/semantic_checker/program.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | func_check(&mut scope, &mut function); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 165 | let _ = func_check(&mut scope, &mut function); [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/semantic_checker/program.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | .retain(|f| CALLED_FUNCIONS.lock().unwrap().contains(&f.0.ident.0)); [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/semantic_checker/util.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 139 | let actual_type = actual.analyse(scope)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | match expected_type.clone().unify(actual_type.clone()) { [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/semantic_checker/util.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 182 | fn unify(self, t: Type) -> Option { [INFO] [stdout] | ---- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | match (self.clone(), t.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic_checker/util.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 196 | fn unify_help(self, t: Type) -> Option { [INFO] [stdout] | ---- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | match (self, t) { [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/symbol_table.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn add(&mut self, ident: &Ident, type_: Type) -> MessageResult { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | match self.symbol_table.table.insert(ident.clone(), (type_, 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/symbol_table.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 117 | type_: Type, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | match self [INFO] [stdout] | _______________^ [INFO] [stdout] 124 | | .symbol_table [INFO] [stdout] 125 | | .table [INFO] [stdout] 126 | | .insert(ident.clone(), (type_, Some(reg))) [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn from_array(given: Vec) -> Evaluated { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 70 | Evaluated::ArrayValue(Box::new( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 71 | | given.iter().map(|x| x.clone()).collect::>(), [INFO] [stdout] 72 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn from_pair(given_left: Evaluated, given_right: Evaluated) -> Evaluated { [INFO] [stdout] | --------------------- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 82 | PairValue(Box::new((given_left.clone(), given_right.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 89 | fn add(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 91 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 101 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 103 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 113 | fn mul(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 115 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 125 | fn div(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 127 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 137 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 139 | match (self, rhs) { [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/basic_optimise/intermediate.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | .map(|(x, _)| new_spanned(x.simple_optimise())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | let l_ident = ident().map_with(|s, e| (Lvalue::LIdent(s), e.span())); [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/basic_optimise/intermediate.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|(x, _)| new_spanned(x.simple_optimise())) [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/basic_optimise/program.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 9 | let old_func = self.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | Function { [INFO] [stdout] 11 | body: new_spanned(old_func.body.0.simple_optimise()), [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/basic_optimise/program.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 21 | let old_program = self.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Program { [INFO] [stdout] 23 | functions: old_program [INFO] [stdout] | ________________________^ [INFO] [stdout] 24 | | .functions [INFO] [stdout] 25 | | .iter() [INFO] [stdout] 26 | | .map(|(x, sp)| (x.simple_optimise(), sp.clone())) [INFO] [stdout] 27 | | .collect::>(), [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/basic_optimise/program.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 21 | let old_program = self.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | body: old_program.body.simple_optimise(), [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/basic_optimise/program.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|(x, sp)| (x.simple_optimise(), sp.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:99:66 [INFO] [stdout] | [INFO] [stdout] 99 | let l_arr_elem = array_elem().map_with(|arr, e| (Lvalue::LArrElem(arr), e.span())); [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/parser/stmt.rs:102:39 [INFO] [stdout] | [INFO] [stdout] 102 | .map_with(|p, e| (Lvalue::LPairElem(p), e.span())); [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/parser/stmt.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | .map_with(|(_, f), e| (PairElem::PairElemFst(Box::new(f)), e.span())); [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/parser/stmt.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | .map_with(|(_, f), e| (PairElem::PairElemSnd(Box::new(f)), e.span())); [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/parser/stmt.rs:118:56 [INFO] [stdout] | [INFO] [stdout] 118 | let r_expr = expr().map_with(|exp, e| (Rvalue::RExpr(Box::new(exp)), e.span())); [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/parser/stmt.rs:122:47 [INFO] [stdout] | [INFO] [stdout] 122 | .map_with(|arr_liter, e| (Rvalue::RArrLit(Box::new(arr_liter)), e.span())); [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/parser/stmt.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 131 | .map_with(|((((_, ex1), _), ex2), _), e| { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | (Rvalue::RNewPair(Box::new(ex1), Box::new(ex2)), e.span()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 138 | pair_elem.map_with(|p, e| (Rvalue::RPairElem(Box::new(p)), e.span())); [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/parser/stmt.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 146 | .map_with(|((((_, id), _), args_list), _), e| { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | ( [INFO] [stdout] 148 | / Rvalue::RCall( [INFO] [stdout] 149 | | id, [INFO] [stdout] 150 | | args_list.unwrap_or((ArgList::Arg(Vec::new()), e.span())), [INFO] [stdout] 151 | | ), [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:165:75 [INFO] [stdout] | [INFO] [stdout] 165 | let skip_ = just(Token::Keyword("skip")).map_with(|_, e| (Stmt::Skip, e.span())); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:172:56 [INFO] [stdout] | [INFO] [stdout] 172 | .map_with(|(((t, id), _), rv), e| (Stmt::Declare(t, id, rv), e.span())); [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/parser/stmt.rs:179:51 [INFO] [stdout] | [INFO] [stdout] 179 | .map_with(|((lv, _), rv), e| (Stmt::Assign(Type::default(), lv, rv), e.span())); [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/parser/stmt.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | .map_with(|(_, x), e| (Stmt::Read(Type::default(), x), e.span())); [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/parser/stmt.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | .map_with(|(_, x), e| (Stmt::Free(Type::default(), x), e.span())); [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/parser/stmt.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | .map_with(|(_, x), e| (Stmt::Return(x), e.span())); [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/parser/stmt.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | .map_with(|(_, x), e| (Stmt::Exit(x), e.span())); [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/parser/stmt.rs:204:44 [INFO] [stdout] | [INFO] [stdout] 204 | .map_with(|(_, x), e| (Stmt::Print(Type::default(), x), e.span())); [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/parser/stmt.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | .map_with(|(_, x), e| (Stmt::Println(Type::default(), x), e.span())); [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/parser/stmt.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 219 | .map_with(|((((((_, cond), _), st1), _), st2), _), e| { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | ( [INFO] [stdout] 221 | Stmt::If(cond, ScopedStmt::new(st1), ScopedStmt::new(st2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 232 | .map_with(|((((_, cond), _), body), _), e| { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | (Stmt::While(cond, ScopedStmt::new(body)), e.span()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/stmt.rs:240:50 [INFO] [stdout] | [INFO] [stdout] 240 | .map_with(|((_, sc), _), e| (Stmt::Scope(ScopedStmt::new(sc)), e.span())); [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/parser/stmt.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | |st1, (_, st2), e| (Stmt::Serial(Box::new(st1), Box::new(st2)), e.span()), [INFO] [stdout] | --- -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/type_parser.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 28 | recursive(|type_parse| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let pair_type = { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let pair_elem_type = type_parse [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let array_base = base_type.or(pair_type); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | [INFO] [stdout] 55 | array_base.clone().foldl_with( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/type_parser.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 48 | .map_with(|((((_, p1), _), p2), _), e| { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | (Type::Pair(Box::new(p1), Box::new(p2)), e.span()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/type_parser.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | |base, _, e| (Type::Array(Box::new(base)), e.span()), [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/semantic_checker/program.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 104 | let mut stmts: Vec = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let res = scoped_stmt(&mut scope, &mut program.body, &mut stmts); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | ReturningInfo::PartialReturn(t) | ReturningInfo::EndReturn(t) if t != Type::Any => { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let body = build_statement(&mut stmts); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Ok(Program { [INFO] [stdout] | ________^ [INFO] [stdout] 176 | | functions: FUNCTIONS.lock().unwrap().clone(), [INFO] [stdout] 177 | | body: ScopedStmt { [INFO] [stdout] 178 | | stmt: Box::new(body), [INFO] [stdout] ... | [INFO] [stdout] 181 | | symbol_table: SymbolTable::default(), [INFO] [stdout] 182 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic_checker/program.rs:133:39 [INFO] [stdout] | [INFO] [stdout] 133 | .find(|f| f.0.ident.0 == *CURRENT_FUNCTION.lock().unwrap()) [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/semantic_checker/program.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | .find(|f| f.0.ident.0 == CALLED_FUNCIONS.lock().unwrap()[count]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/semantic_checker/program.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | func_check(&mut scope, &mut function); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 165 | let _ = func_check(&mut scope, &mut function); [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/semantic_checker/program.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | .retain(|f| CALLED_FUNCIONS.lock().unwrap().contains(&f.0.ident.0)); [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/semantic_checker/util.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 139 | let actual_type = actual.analyse(scope)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | match expected_type.clone().unify(actual_type.clone()) { [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/semantic_checker/util.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 182 | fn unify(self, t: Type) -> Option { [INFO] [stdout] | ---- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | match (self.clone(), t.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic_checker/util.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 196 | fn unify_help(self, t: Type) -> Option { [INFO] [stdout] | ---- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | match (self, t) { [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/symbol_table.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn add(&mut self, ident: &Ident, type_: Type) -> MessageResult { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | match self.symbol_table.table.insert(ident.clone(), (type_, 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/symbol_table.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 117 | type_: Type, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | match self [INFO] [stdout] | _______________^ [INFO] [stdout] 124 | | .symbol_table [INFO] [stdout] 125 | | .table [INFO] [stdout] 126 | | .insert(ident.clone(), (type_, Some(reg))) [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn from_array(given: Vec) -> Evaluated { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 70 | Evaluated::ArrayValue(Box::new( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 71 | | given.iter().map(|x| x.clone()).collect::>(), [INFO] [stdout] 72 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn from_pair(given_left: Evaluated, given_right: Evaluated) -> Evaluated { [INFO] [stdout] | --------------------- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 82 | PairValue(Box::new((given_left.clone(), given_right.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 89 | fn add(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 91 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 101 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 103 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 113 | fn mul(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 115 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 125 | fn div(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 127 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interpreter/expr.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 137 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | use crate::interpreter::Evaluated::*; [INFO] [stdout] 139 | match (self, rhs) { [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/basic_optimise/intermediate.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | .map(|(x, _)| new_spanned(x.simple_optimise())) [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/basic_optimise/intermediate.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|(x, _)| new_spanned(x.simple_optimise())) [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/basic_optimise/program.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 9 | let old_func = self.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | Function { [INFO] [stdout] 11 | body: new_spanned(old_func.body.0.simple_optimise()), [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/basic_optimise/program.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 21 | let old_program = self.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Program { [INFO] [stdout] 23 | functions: old_program [INFO] [stdout] | ________________________^ [INFO] [stdout] 24 | | .functions [INFO] [stdout] 25 | | .iter() [INFO] [stdout] 26 | | .map(|(x, sp)| (x.simple_optimise(), sp.clone())) [INFO] [stdout] 27 | | .collect::>(), [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/basic_optimise/program.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 21 | let old_program = self.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | body: old_program.body.simple_optimise(), [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/basic_optimise/program.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|(x, sp)| (x.simple_optimise(), sp.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 67 previous errors; 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 67 previous errors; 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wacc_36` (bin "wacc_36" test) due to 68 previous errors; 71 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wacc_36` (bin "wacc_36") due to 68 previous errors; 71 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c611e62dc3a6a4b9c5b422416683aca1837763578cdb6825e228af403c1f7a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c611e62dc3a6a4b9c5b422416683aca1837763578cdb6825e228af403c1f7a02", kill_on_drop: false }` [INFO] [stdout] c611e62dc3a6a4b9c5b422416683aca1837763578cdb6825e228af403c1f7a02