[INFO] cloning repository https://github.com/YsielX/baby-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YsielX/baby-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYsielX%2Fbaby-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYsielX%2Fbaby-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6651ea20435cc75ab5ba49f64ef1d2b75d902d8b [INFO] checking YsielX/baby-compiler/6651ea20435cc75ab5ba49f64ef1d2b75d902d8b 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%2FYsielX%2Fbaby-compiler" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YsielX/baby-compiler 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/YsielX/baby-compiler [INFO] finished tweaking git repo https://github.com/YsielX/baby-compiler [INFO] tweaked toml for git repo https://github.com/YsielX/baby-compiler written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/YsielX/baby-compiler 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9fca5c880d02c0fb98e3e521b198110f3be3819bfbabf693609dff580927cd7c [INFO] running `Command { std: "docker" "start" "-a" "9fca5c880d02c0fb98e3e521b198110f3be3819bfbabf693609dff580927cd7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fca5c880d02c0fb98e3e521b198110f3be3819bfbabf693609dff580927cd7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fca5c880d02c0fb98e3e521b198110f3be3819bfbabf693609dff580927cd7c", kill_on_drop: false }` [INFO] [stdout] 9fca5c880d02c0fb98e3e521b198110f3be3819bfbabf693609dff580927cd7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d5e99295239f297be7253503defcb6cca913f6f6971b81f4a87261c0a7b2f0c6 [INFO] running `Command { std: "docker" "start" "-a" "d5e99295239f297be7253503defcb6cca913f6f6971b81f4a87261c0a7b2f0c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Checking key-node-list v0.0.4 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Checking koopa v0.0.5 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling compile-proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `lval` [INFO] [stdout] --> src/irgen.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | Self::Assign(lval, exp) => unimplemented!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lval` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/irgen.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | Self::Assign(lval, exp) => unimplemented!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/irgen.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | Self::Return(exp) => unimplemented!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | VDecl(VarDecl), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | VDecl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vardefs` is never read [INFO] [stdout] --> src/ast.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct VarDecl { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 35 | pub vardefs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `initval` are never read [INFO] [stdout] --> src/ast.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct VarDef { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 40 | pub ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub initval: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exp` is never read [INFO] [stdout] --> src/ast.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct InitVal { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 46 | pub exp: Exp, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitVal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/compile-proj-dcdc4d941db46da1/out/sysy.rs:4212:8 [INFO] [stdout] | [INFO] [stdout] 4210 | pub trait __ToTriple<'input, > [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 4211 | { [INFO] [stdout] 4212 | 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] --> /opt/rustwide/target/debug/build/compile-proj-dcdc4d941db46da1/out/sysy.rs:3182:18 [INFO] [stdout] | [INFO] [stdout] 3179 | (_, lorexp, _): (usize, LOrExp, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3182 | Exp { lorexp:Box::new(lorexp) } [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3262:28 [INFO] [stdout] | [INFO] [stdout] 3259 | (_, unaryexp, _): (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] 3262 | UnaryExp::UExp(unaryop,Box::new(unaryexp)) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3330:18 [INFO] [stdout] | [INFO] [stdout] 3325 | (_, mulexp, _): (usize, MulExp, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3326 | (_, mulop, _): (usize, MulOp, usize), [INFO] [stdout] 3327 | (_, unaryexp, _): (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] 3330 | MulExp::MExp(Box::new(mulexp),mulop,unaryexp) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3387:18 [INFO] [stdout] | [INFO] [stdout] 3382 | (_, addexp, _): (usize, AddExp, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3383 | (_, addop, _): (usize, AddOp, usize), [INFO] [stdout] 3384 | (_, mulexp, _): (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] 3387 | AddExp::AExp(Box::new(addexp),addop,mulexp) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3433:18 [INFO] [stdout] | [INFO] [stdout] 3428 | (_, relexp, _): (usize, RelExp, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3429 | (_, relop, _): (usize, RelOp, usize), [INFO] [stdout] 3430 | (_, addexp, _): (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] 3433 | RelExp::RExp(Box::new(relexp),relop,addexp) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3501:17 [INFO] [stdout] | [INFO] [stdout] 3496 | (_, eqexp, _): (usize, EqExp, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3497 | (_, eqop, _): (usize, EqOp, usize), [INFO] [stdout] 3498 | (_, relexp, _): (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] 3501 | EqExp::EExp(Box::new(eqexp),eqop,relexp) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3547:20 [INFO] [stdout] | [INFO] [stdout] 3542 | (_, landexp, _): (usize, LAndExp, usize), [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3543 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 3544 | (_, eqexp, _): (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] 3547 | LAndExp::LAExp(Box::new(landexp),eqexp) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3571:19 [INFO] [stdout] | [INFO] [stdout] 3566 | (_, lorexp, _): (usize, LOrExp, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3567 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 3568 | (_, landexp, _): (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] 3571 | LOrExp::LOExp(Box::new(lorexp),landexp) [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 8 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compile-proj` (bin "compile-proj") due to 9 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `lval` [INFO] [stdout] --> src/irgen.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | Self::Assign(lval, exp) => unimplemented!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lval` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/irgen.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | Self::Assign(lval, exp) => unimplemented!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/irgen.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | Self::Return(exp) => unimplemented!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | VDecl(VarDecl), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | VDecl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vardefs` is never read [INFO] [stdout] --> src/ast.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct VarDecl { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 35 | pub vardefs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `initval` are never read [INFO] [stdout] --> src/ast.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct VarDef { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 40 | pub ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub initval: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exp` is never read [INFO] [stdout] --> src/ast.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct InitVal { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 46 | pub exp: Exp, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitVal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/compile-proj-dcdc4d941db46da1/out/sysy.rs:4212:8 [INFO] [stdout] | [INFO] [stdout] 4210 | pub trait __ToTriple<'input, > [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 4211 | { [INFO] [stdout] 4212 | 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] --> /opt/rustwide/target/debug/build/compile-proj-dcdc4d941db46da1/out/sysy.rs:3182:18 [INFO] [stdout] | [INFO] [stdout] 3179 | (_, lorexp, _): (usize, LOrExp, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3182 | Exp { lorexp:Box::new(lorexp) } [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3262:28 [INFO] [stdout] | [INFO] [stdout] 3259 | (_, unaryexp, _): (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] 3262 | UnaryExp::UExp(unaryop,Box::new(unaryexp)) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3330:18 [INFO] [stdout] | [INFO] [stdout] 3325 | (_, mulexp, _): (usize, MulExp, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3326 | (_, mulop, _): (usize, MulOp, usize), [INFO] [stdout] 3327 | (_, unaryexp, _): (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] 3330 | MulExp::MExp(Box::new(mulexp),mulop,unaryexp) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3387:18 [INFO] [stdout] | [INFO] [stdout] 3382 | (_, addexp, _): (usize, AddExp, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3383 | (_, addop, _): (usize, AddOp, usize), [INFO] [stdout] 3384 | (_, mulexp, _): (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] 3387 | AddExp::AExp(Box::new(addexp),addop,mulexp) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3433:18 [INFO] [stdout] | [INFO] [stdout] 3428 | (_, relexp, _): (usize, RelExp, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3429 | (_, relop, _): (usize, RelOp, usize), [INFO] [stdout] 3430 | (_, addexp, _): (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] 3433 | RelExp::RExp(Box::new(relexp),relop,addexp) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3501:17 [INFO] [stdout] | [INFO] [stdout] 3496 | (_, eqexp, _): (usize, EqExp, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3497 | (_, eqop, _): (usize, EqOp, usize), [INFO] [stdout] 3498 | (_, relexp, _): (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] 3501 | EqExp::EExp(Box::new(eqexp),eqop,relexp) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3547:20 [INFO] [stdout] | [INFO] [stdout] 3542 | (_, landexp, _): (usize, LAndExp, usize), [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3543 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 3544 | (_, eqexp, _): (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] 3547 | LAndExp::LAExp(Box::new(landexp),eqexp) [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/compile-proj-dcdc4d941db46da1/out/sysy.rs:3571:19 [INFO] [stdout] | [INFO] [stdout] 3566 | (_, lorexp, _): (usize, LOrExp, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3567 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 3568 | (_, landexp, _): (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] 3571 | LOrExp::LOExp(Box::new(lorexp),landexp) [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 8 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compile-proj` (bin "compile-proj" test) due to 9 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d5e99295239f297be7253503defcb6cca913f6f6971b81f4a87261c0a7b2f0c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5e99295239f297be7253503defcb6cca913f6f6971b81f4a87261c0a7b2f0c6", kill_on_drop: false }` [INFO] [stdout] d5e99295239f297be7253503defcb6cca913f6f6971b81f4a87261c0a7b2f0c6