[INFO] cloning repository https://github.com/ColdRain-Moro/compiler-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ColdRain-Moro/compiler-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColdRain-Moro%2Fcompiler-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColdRain-Moro%2Fcompiler-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e439b8c2a16d04262ae0d0aecc518c96cd25a35 [INFO] checking ColdRain-Moro/compiler-learning/5e439b8c2a16d04262ae0d0aecc518c96cd25a35 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%2FColdRain-Moro%2Fcompiler-learning" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ColdRain-Moro/compiler-learning 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/ColdRain-Moro/compiler-learning [INFO] finished tweaking git repo https://github.com/ColdRain-Moro/compiler-learning [INFO] tweaked toml for git repo https://github.com/ColdRain-Moro/compiler-learning written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ColdRain-Moro/compiler-learning 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 50ae9e983f34c33cbd3294debd07ce49da0dffdae436ae8103c4c288c09a6996 [INFO] running `Command { std: "docker" "start" "-a" "50ae9e983f34c33cbd3294debd07ce49da0dffdae436ae8103c4c288c09a6996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50ae9e983f34c33cbd3294debd07ce49da0dffdae436ae8103c4c288c09a6996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ae9e983f34c33cbd3294debd07ce49da0dffdae436ae8103c4c288c09a6996", kill_on_drop: false }` [INFO] [stdout] 50ae9e983f34c33cbd3294debd07ce49da0dffdae436ae8103c4c288c09a6996 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a71df9958f8436e61139144ba9c1fbdbdca18b2f9ee97580898a3591badb9dff [INFO] running `Command { std: "docker" "start" "-a" "a71df9958f8436e61139144ba9c1fbdbdca18b2f9ee97580898a3591badb9dff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Checking key-node-list v0.0.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking koopa v0.0.6 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Checking lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling compiler-learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::write` [INFO] [stdout] --> src/frontend/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncFParam` [INFO] [stdout] --> src/frontend/gen.rs:5:126 [INFO] [stdout] | [INFO] [stdout] 5 | ... ConstDef, ConstExp, ConstInitVal, Decl, EqExp, Exp, FuncDef, FuncFParam, FuncFParams, FuncType, GlobalDef, InitVal, LAndExp, LOrExp, ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueBuilder` [INFO] [stdout] --> src/frontend/context.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 3 | use koopa::ir::builder::{BasicBlockBuilder, LocalBuilder, LocalInstBuilder, ValueBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueKind` [INFO] [stdout] --> src/frontend/eval.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use koopa::ir::{Program, ValueKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cur_func` [INFO] [stdout] --> src/frontend/eval.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::frontend::context::{Context, CTValue, cur_func}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::write` [INFO] [stdout] --> src/frontend/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncFParam` [INFO] [stdout] --> src/frontend/gen.rs:5:126 [INFO] [stdout] | [INFO] [stdout] 5 | ... ConstDef, ConstExp, ConstInitVal, Decl, EqExp, Exp, FuncDef, FuncFParam, FuncFParams, FuncType, GlobalDef, InitVal, LAndExp, LOrExp, ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueBuilder` [INFO] [stdout] --> src/frontend/context.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 3 | use koopa::ir::builder::{BasicBlockBuilder, LocalBuilder, LocalInstBuilder, ValueBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueKind` [INFO] [stdout] --> src/frontend/eval.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use koopa::ir::{Program, ValueKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cur_func` [INFO] [stdout] --> src/frontend/eval.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::frontend::context::{Context, CTValue, cur_func}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codes` [INFO] [stdout] --> src/backend/gen.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | fn generate(&self, codes: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codes` [INFO] [stdout] --> src/backend/gen.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | fn visit_with_func_data(&self, codes: &mut Vec, func_data: &FunctionData) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_data` [INFO] [stdout] --> src/backend/gen.rs:11:61 [INFO] [stdout] | [INFO] [stdout] 11 | fn visit_with_func_data(&self, codes: &mut Vec, func_data: &FunctionData) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_void` [INFO] [stdout] --> src/frontend/gen.rs:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | let (params_ty, is_void) = { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codes` [INFO] [stdout] --> src/backend/gen.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | fn generate(&self, codes: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codes` [INFO] [stdout] --> src/backend/gen.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | fn visit_with_func_data(&self, codes: &mut Vec, func_data: &FunctionData) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_data` [INFO] [stdout] --> src/backend/gen.rs:11:61 [INFO] [stdout] | [INFO] [stdout] 11 | fn visit_with_func_data(&self, codes: &mut Vec, func_data: &FunctionData) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_void` [INFO] [stdout] --> src/frontend/gen.rs:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | let (params_ty, is_void) = { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/frontend/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 11 | DuplicatedDef, [INFO] [stdout] 12 | InvalidVarDef, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | FailedToEval, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | InvalidArrayLen, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | InvalidInit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | ArrayAssign, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | NotInLoop, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | RetValInVoidFunc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | DerefInt, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | UseVoidValue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | ArgMismatch, [INFO] [stdout] 25 | NonIntCalc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/frontend/context.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct FunctionInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 33 | func: Function, [INFO] [stdout] 34 | entry: BasicBlock, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print` and `as_runtime` are never used [INFO] [stdout] --> src/frontend/context.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 234 | impl CTValue { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 235 | fn print(&self, context: &mut Context, program: &mut Program) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn as_runtime(&self) -> Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:6362:8 [INFO] [stdout] | [INFO] [stdout] 6360 | pub trait __ToTriple<'input, > [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 6361 | { [INFO] [stdout] 6362 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [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/frontend/ast.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn into_const(self) -> ConstInitVal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | ConstInitVal { exp: ConstExp { exp: self.exp } } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4426:28 [INFO] [stdout] | [INFO] [stdout] 4419 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4420 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4421 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4422 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4423 | (_, else_then, _): (usize, Stmt, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4426 | Stmt::If { cond, then: Box::new(then), else_then: Some(Box::new(else_then)) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4426:55 [INFO] [stdout] | [INFO] [stdout] 4419 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4420 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4421 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4422 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4423 | (_, else_then, _): (usize, Stmt, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4426 | Stmt::If { cond, then: Box::new(then), else_then: Some(Box::new(else_then)) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4441:31 [INFO] [stdout] | [INFO] [stdout] 4436 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4437 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4438 | (_, stmt, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4441 | Stmt::While { cond, stmt: Box::new(stmt) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4530:28 [INFO] [stdout] | [INFO] [stdout] 4525 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4526 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4527 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4530 | Stmt::If { cond, then: Box::new(then), else_then: 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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4530:55 [INFO] [stdout] | [INFO] [stdout] 4525 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4526 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4527 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4530 | Stmt::If { cond, then: Box::new(then), else_then: 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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4547:28 [INFO] [stdout] | [INFO] [stdout] 4540 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4541 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4542 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4543 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4544 | (_, else_then, _): (usize, Stmt, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4547 | Stmt::If { cond, then: Box::new(then), else_then: Some(Box::new(else_then)) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4547:55 [INFO] [stdout] | [INFO] [stdout] 4540 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4541 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4542 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4543 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4544 | (_, else_then, _): (usize, Stmt, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4547 | Stmt::If { cond, then: Box::new(then), else_then: Some(Box::new(else_then)) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4562:31 [INFO] [stdout] | [INFO] [stdout] 4557 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4558 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4559 | (_, stmt, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4562 | Stmt::While { cond, stmt: Box::new(stmt) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4596:31 [INFO] [stdout] | [INFO] [stdout] 4593 | (_, exp, _): (usize, UnaryExp, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4596 | UnaryExp::UnaryExpression(Box::new(exp)) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4608:33 [INFO] [stdout] | [INFO] [stdout] 4605 | (_, exp, _): (usize, UnaryExp, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4608 | UnaryExp::UnaryOpAndExp(op, Box::new(exp)) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4659:28 [INFO] [stdout] | [INFO] [stdout] 4655 | (_, exp, _): (usize, Exp, usize), [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4659 | PrimaryExp::Expression(Box::new(exp)) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4761:13 [INFO] [stdout] | [INFO] [stdout] 4755 | (_, mul, _): (usize, MulExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4756 | (_, op, _): (usize, BinaryOp, usize), [INFO] [stdout] 4757 | (_, unary, _): (usize, UnaryExp, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4761 | Box::new(mul), [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4789:12 [INFO] [stdout] | [INFO] [stdout] 4783 | (_, add, _): (usize, AddExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4784 | (_, op, _): (usize, BinaryOp, usize), [INFO] [stdout] 4785 | (_, mul, _): (usize, MulExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4789 | Box::new(add), [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4871:17 [INFO] [stdout] | [INFO] [stdout] 4866 | (_, rel, _): (usize, RelExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4867 | (_, op, _): (usize, BinaryOp, usize), [INFO] [stdout] 4868 | (_, add, _): (usize, AddExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4871 | RelExp::Rel(Box::new(rel), op, add) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4895:15 [INFO] [stdout] | [INFO] [stdout] 4890 | (_, eq, _): (usize, EqExp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4891 | (_, op, _): (usize, BinaryOp, usize), [INFO] [stdout] 4892 | (_, rel, _): (usize, RelExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4895 | EqExp::Eq(Box::new(eq), op, rel) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4919:18 [INFO] [stdout] | [INFO] [stdout] 4914 | (_, and, _): (usize, LAndExp, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4915 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4916 | (_, eq, _): (usize, EqExp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4919 | LAndExp::And(Box::new(and), eq) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4943:16 [INFO] [stdout] | [INFO] [stdout] 4938 | (_, or, _): (usize, LOrExp, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4939 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4940 | (_, and, _): (usize, LAndExp, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4943 | LOrExp::Or(Box::new(or), and) [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 18 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler-learning` (bin "compiler-learning" test) due to 19 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/frontend/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 11 | DuplicatedDef, [INFO] [stdout] 12 | InvalidVarDef, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | FailedToEval, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | InvalidArrayLen, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | InvalidInit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | ArrayAssign, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | NotInLoop, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | RetValInVoidFunc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | DerefInt, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | UseVoidValue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | ArgMismatch, [INFO] [stdout] 25 | NonIntCalc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/frontend/context.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct FunctionInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 33 | func: Function, [INFO] [stdout] 34 | entry: BasicBlock, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print` and `as_runtime` are never used [INFO] [stdout] --> src/frontend/context.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 234 | impl CTValue { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 235 | fn print(&self, context: &mut Context, program: &mut Program) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn as_runtime(&self) -> Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:6362:8 [INFO] [stdout] | [INFO] [stdout] 6360 | pub trait __ToTriple<'input, > [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 6361 | { [INFO] [stdout] 6362 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [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/frontend/ast.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn into_const(self) -> ConstInitVal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | ConstInitVal { exp: ConstExp { exp: self.exp } } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4426:28 [INFO] [stdout] | [INFO] [stdout] 4419 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4420 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4421 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4422 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4423 | (_, else_then, _): (usize, Stmt, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4426 | Stmt::If { cond, then: Box::new(then), else_then: Some(Box::new(else_then)) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4426:55 [INFO] [stdout] | [INFO] [stdout] 4419 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4420 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4421 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4422 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4423 | (_, else_then, _): (usize, Stmt, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4426 | Stmt::If { cond, then: Box::new(then), else_then: Some(Box::new(else_then)) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4441:31 [INFO] [stdout] | [INFO] [stdout] 4436 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4437 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4438 | (_, stmt, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4441 | Stmt::While { cond, stmt: Box::new(stmt) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4530:28 [INFO] [stdout] | [INFO] [stdout] 4525 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4526 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4527 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4530 | Stmt::If { cond, then: Box::new(then), else_then: 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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4530:55 [INFO] [stdout] | [INFO] [stdout] 4525 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4526 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4527 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4530 | Stmt::If { cond, then: Box::new(then), else_then: 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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4547:28 [INFO] [stdout] | [INFO] [stdout] 4540 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4541 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4542 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4543 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4544 | (_, else_then, _): (usize, Stmt, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4547 | Stmt::If { cond, then: Box::new(then), else_then: Some(Box::new(else_then)) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4547:55 [INFO] [stdout] | [INFO] [stdout] 4540 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4541 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4542 | (_, then, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4543 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4544 | (_, else_then, _): (usize, Stmt, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4547 | Stmt::If { cond, then: Box::new(then), else_then: Some(Box::new(else_then)) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4562:31 [INFO] [stdout] | [INFO] [stdout] 4557 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4558 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4559 | (_, stmt, _): (usize, Stmt, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4562 | Stmt::While { cond, stmt: Box::new(stmt) } [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4596:31 [INFO] [stdout] | [INFO] [stdout] 4593 | (_, exp, _): (usize, UnaryExp, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4596 | UnaryExp::UnaryExpression(Box::new(exp)) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4608:33 [INFO] [stdout] | [INFO] [stdout] 4605 | (_, exp, _): (usize, UnaryExp, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4608 | UnaryExp::UnaryOpAndExp(op, Box::new(exp)) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4659:28 [INFO] [stdout] | [INFO] [stdout] 4655 | (_, exp, _): (usize, Exp, usize), [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4659 | PrimaryExp::Expression(Box::new(exp)) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4761:13 [INFO] [stdout] | [INFO] [stdout] 4755 | (_, mul, _): (usize, MulExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4756 | (_, op, _): (usize, BinaryOp, usize), [INFO] [stdout] 4757 | (_, unary, _): (usize, UnaryExp, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4761 | Box::new(mul), [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4789:12 [INFO] [stdout] | [INFO] [stdout] 4783 | (_, add, _): (usize, AddExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4784 | (_, op, _): (usize, BinaryOp, usize), [INFO] [stdout] 4785 | (_, mul, _): (usize, MulExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4789 | Box::new(add), [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4871:17 [INFO] [stdout] | [INFO] [stdout] 4866 | (_, rel, _): (usize, RelExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4867 | (_, op, _): (usize, BinaryOp, usize), [INFO] [stdout] 4868 | (_, add, _): (usize, AddExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4871 | RelExp::Rel(Box::new(rel), op, add) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4895:15 [INFO] [stdout] | [INFO] [stdout] 4890 | (_, eq, _): (usize, EqExp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4891 | (_, op, _): (usize, BinaryOp, usize), [INFO] [stdout] 4892 | (_, rel, _): (usize, RelExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4895 | EqExp::Eq(Box::new(eq), op, rel) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4919:18 [INFO] [stdout] | [INFO] [stdout] 4914 | (_, and, _): (usize, LAndExp, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4915 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4916 | (_, eq, _): (usize, EqExp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4919 | LAndExp::And(Box::new(and), eq) [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] --> /opt/rustwide/target/debug/build/compiler-learning-d349568f895331bc/out/sysy.rs:4943:16 [INFO] [stdout] | [INFO] [stdout] 4938 | (_, or, _): (usize, LOrExp, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4939 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 4940 | (_, and, _): (usize, LAndExp, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4943 | LOrExp::Or(Box::new(or), and) [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 18 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler-learning` (bin "compiler-learning") due to 19 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a71df9958f8436e61139144ba9c1fbdbdca18b2f9ee97580898a3591badb9dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a71df9958f8436e61139144ba9c1fbdbdca18b2f9ee97580898a3591badb9dff", kill_on_drop: false }` [INFO] [stdout] a71df9958f8436e61139144ba9c1fbdbdca18b2f9ee97580898a3591badb9dff