[INFO] cloning repository https://github.com/AllenYolk/sysy-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AllenYolk/sysy-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllenYolk%2Fsysy-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllenYolk%2Fsysy-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6699b3ff95384ce44c39049398d6dfede08ccc81 [INFO] checking AllenYolk/sysy-compiler/6699b3ff95384ce44c39049398d6dfede08ccc81 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%2FAllenYolk%2Fsysy-compiler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AllenYolk/sysy-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/AllenYolk/sysy-compiler [INFO] finished tweaking git repo https://github.com/AllenYolk/sysy-compiler [INFO] tweaked toml for git repo https://github.com/AllenYolk/sysy-compiler written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AllenYolk/sysy-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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f15e70d1401222a1b4a56aed687faa79bac6799cff0baf554b60e6608ad0ead [INFO] running `Command { std: "docker" "start" "-a" "7f15e70d1401222a1b4a56aed687faa79bac6799cff0baf554b60e6608ad0ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f15e70d1401222a1b4a56aed687faa79bac6799cff0baf554b60e6608ad0ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f15e70d1401222a1b4a56aed687faa79bac6799cff0baf554b60e6608ad0ead", kill_on_drop: false }` [INFO] [stdout] 7f15e70d1401222a1b4a56aed687faa79bac6799cff0baf554b60e6608ad0ead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6425d51c859d2eab0e95345ee9ee9c537258da973cf822d40f0a2a2bacb8303f [INFO] running `Command { std: "docker" "start" "-a" "6425d51c859d2eab0e95345ee9ee9c537258da973cf822d40f0a2a2bacb8303f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling linux-raw-sys v0.3.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Checking key-node-list v0.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Checking koopa v0.0.6 [INFO] [stderr] Checking regex v1.8.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.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] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking lalrpop-util v0.20.0 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Compiling sysy_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/sysy_compiler-9ccd051da767f851/out/sysy.rs:9611:8 [INFO] [stdout] | [INFO] [stdout] 9609 | pub trait __ToTriple<'input, > [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 9610 | { [INFO] [stdout] 9611 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/ir_generate/scopes.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct LoopLabel { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 29 | pub entry: String, [INFO] [stdout] 30 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoopLabel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6230:30 [INFO] [stdout] | [INFO] [stdout] 6227 | (_, decl, _): (usize, Decl, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 6230 | CompUnitItem::GlobalDecl(GlobalDecl{ decl }) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6472:23 [INFO] [stdout] | [INFO] [stdout] 6467 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6468 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6469 | (_, body, _): (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] 6472 | Stmt::While(cond, Box::new(body)) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6528:20 [INFO] [stdout] | [INFO] [stdout] 6523 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6524 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6525 | (_, 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] 6528 | Stmt::If(cond, Box::new(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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6528:36 [INFO] [stdout] | [INFO] [stdout] 6523 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6524 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6525 | (_, 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] 6528 | Stmt::If(cond, Box::new(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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6564:23 [INFO] [stdout] | [INFO] [stdout] 6559 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6560 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6561 | (_, body, _): (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] 6564 | Stmt::While(cond, Box::new(body)) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6790:21 [INFO] [stdout] | [INFO] [stdout] 6785 | (_, lor, _): (usize, LOrExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6786 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6787 | (_, land, _): (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] 6790 | LOrExp::LOrLAnd(Box::new(lor), land) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6816:21 [INFO] [stdout] | [INFO] [stdout] 6811 | (_, land, _): (usize, LAndExp, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6812 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6813 | (_, 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] 6816 | LAndExp::LAndEq(Box::new(land), 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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6842:18 [INFO] [stdout] | [INFO] [stdout] 6837 | (_, eq, _): (usize, EqExp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6838 | (_, op, _): (usize, EqExpOp, usize), [INFO] [stdout] 6839 | (_, 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] 6842 | EqExp::EqRel(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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6868:20 [INFO] [stdout] | [INFO] [stdout] 6863 | (_, rel, _): (usize, RelExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6864 | (_, op, _): (usize, RelExpOp, usize), [INFO] [stdout] 6865 | (_, 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] 6868 | RelExp::RelAdd(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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6894:20 [INFO] [stdout] | [INFO] [stdout] 6889 | (_, add, _): (usize, AddExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6890 | (_, op, _): (usize, AddExpOp, usize), [INFO] [stdout] 6891 | (_, 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] 6894 | AddExp::AddMul(Box::new(add), op, 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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6920:22 [INFO] [stdout] | [INFO] [stdout] 6915 | (_, mul, _): (usize, MulExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6916 | (_, op, _): (usize, MulExpOp, usize), [INFO] [stdout] 6917 | (_, 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] 6920 | MulExp::MulUnary(Box::new(mul), op, unary) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6978:26 [INFO] [stdout] | [INFO] [stdout] 6975 | (_, uexp, _): (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] 6978 | UnaryExp::Unary(uop, Box::new(uexp)) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6992:21 [INFO] [stdout] | [INFO] [stdout] 6988 | (_, 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] 6992 | PrimaryExp::Exp(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] --> src/ir_generate.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | let driver = Driver::from(text); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | driver.generate_program().map_err(|_| ()) [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 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sysy_compiler` (lib) due to 15 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/sysy_compiler-9ccd051da767f851/out/sysy.rs:9611:8 [INFO] [stdout] | [INFO] [stdout] 9609 | pub trait __ToTriple<'input, > [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 9610 | { [INFO] [stdout] 9611 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/ir_generate/scopes.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct LoopLabel { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 29 | pub entry: String, [INFO] [stdout] 30 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoopLabel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6230:30 [INFO] [stdout] | [INFO] [stdout] 6227 | (_, decl, _): (usize, Decl, usize), [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 6230 | CompUnitItem::GlobalDecl(GlobalDecl{ decl }) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6472:23 [INFO] [stdout] | [INFO] [stdout] 6467 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6468 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6469 | (_, body, _): (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] 6472 | Stmt::While(cond, Box::new(body)) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6528:20 [INFO] [stdout] | [INFO] [stdout] 6523 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6524 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6525 | (_, 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] 6528 | Stmt::If(cond, Box::new(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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6528:36 [INFO] [stdout] | [INFO] [stdout] 6523 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6524 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6525 | (_, 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] 6528 | Stmt::If(cond, Box::new(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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6564:23 [INFO] [stdout] | [INFO] [stdout] 6559 | (_, cond, _): (usize, Exp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6560 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6561 | (_, body, _): (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] 6564 | Stmt::While(cond, Box::new(body)) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6790:21 [INFO] [stdout] | [INFO] [stdout] 6785 | (_, lor, _): (usize, LOrExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6786 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6787 | (_, land, _): (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] 6790 | LOrExp::LOrLAnd(Box::new(lor), land) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6816:21 [INFO] [stdout] | [INFO] [stdout] 6811 | (_, land, _): (usize, LAndExp, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6812 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 6813 | (_, 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] 6816 | LAndExp::LAndEq(Box::new(land), 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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6842:18 [INFO] [stdout] | [INFO] [stdout] 6837 | (_, eq, _): (usize, EqExp, usize), [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6838 | (_, op, _): (usize, EqExpOp, usize), [INFO] [stdout] 6839 | (_, 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] 6842 | EqExp::EqRel(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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6868:20 [INFO] [stdout] | [INFO] [stdout] 6863 | (_, rel, _): (usize, RelExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6864 | (_, op, _): (usize, RelExpOp, usize), [INFO] [stdout] 6865 | (_, 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] 6868 | RelExp::RelAdd(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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6894:20 [INFO] [stdout] | [INFO] [stdout] 6889 | (_, add, _): (usize, AddExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6890 | (_, op, _): (usize, AddExpOp, usize), [INFO] [stdout] 6891 | (_, 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] 6894 | AddExp::AddMul(Box::new(add), op, 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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6920:22 [INFO] [stdout] | [INFO] [stdout] 6915 | (_, mul, _): (usize, MulExp, usize), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6916 | (_, op, _): (usize, MulExpOp, usize), [INFO] [stdout] 6917 | (_, 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] 6920 | MulExp::MulUnary(Box::new(mul), op, unary) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6978:26 [INFO] [stdout] | [INFO] [stdout] 6975 | (_, uexp, _): (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] 6978 | UnaryExp::Unary(uop, Box::new(uexp)) [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/sysy_compiler-9ccd051da767f851/out/sysy.rs:6992:21 [INFO] [stdout] | [INFO] [stdout] 6988 | (_, 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] 6992 | PrimaryExp::Exp(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] --> src/ir_generate.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | let driver = Driver::from(text); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | driver.generate_program().map_err(|_| ()) [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 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sysy_compiler` (lib test) due to 15 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6425d51c859d2eab0e95345ee9ee9c537258da973cf822d40f0a2a2bacb8303f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6425d51c859d2eab0e95345ee9ee9c537258da973cf822d40f0a2a2bacb8303f", kill_on_drop: false }` [INFO] [stdout] 6425d51c859d2eab0e95345ee9ee9c537258da973cf822d40f0a2a2bacb8303f