[INFO] cloning repository https://github.com/aochagavia/rust_meets_csharp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aochagavia/rust_meets_csharp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faochagavia%2Frust_meets_csharp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faochagavia%2Frust_meets_csharp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d06af332fbc9c03486de7a0b2209cab699000072 [INFO] checking aochagavia/rust_meets_csharp/d06af332fbc9c03486de7a0b2209cab699000072 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%2Faochagavia%2Frust_meets_csharp" "/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/aochagavia/rust_meets_csharp 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/aochagavia/rust_meets_csharp [INFO] finished tweaking git repo https://github.com/aochagavia/rust_meets_csharp [INFO] tweaked toml for git repo https://github.com/aochagavia/rust_meets_csharp written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aochagavia/rust_meets_csharp 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] warning: /workspace/builds/worker-5-tc2/source/type_checker/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/benchmarks/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/frontend/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/interpreter/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] 683d3b584276f446e06a9c34c65b5c83e00ffcca6171a17e43b334327b1a6583 [INFO] running `Command { std: "docker" "start" "-a" "683d3b584276f446e06a9c34c65b5c83e00ffcca6171a17e43b334327b1a6583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "683d3b584276f446e06a9c34c65b5c83e00ffcca6171a17e43b334327b1a6583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "683d3b584276f446e06a9c34c65b5c83e00ffcca6171a17e43b334327b1a6583", kill_on_drop: false }` [INFO] [stdout] 683d3b584276f446e06a9c34c65b5c83e00ffcca6171a17e43b334327b1a6583 [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] 7433aefeaeefa1b3ed7b32156cc6f2d90a1faa38024e8b4b87a0dd62097f4f51 [INFO] running `Command { std: "docker" "start" "-a" "7433aefeaeefa1b3ed7b32156cc6f2d90a1faa38024e8b4b87a0dd62097f4f51", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/type_checker/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/benchmarks/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/frontend/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/interpreter/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stderr] Checking libc v0.2.33 [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> frontend/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> frontend/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> frontend/src/analysis/preprocess/visitor.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | MultiClassDecl(labels::ClassDecl), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PreprocessError` 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] 10 | MultiClassDecl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> frontend/src/analysis/preprocess/visitor.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | MultiClassDecl(labels::ClassDecl), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PreprocessError` 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] 10 | MultiClassDecl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> frontend/src/analysis/preprocess/visitor.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | MultiEntryPoint(labels::MethodDecl) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PreprocessError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 11 | MultiEntryPoint(()) [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] --> frontend/src/sample_programs/builder.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 11 | let ty = Type::Custom("String".to_string()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let expr = Expression::Literal(Literal { label: fresh_label(), kind: LiteralKind::String(assign.to_string()) }); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Statement::VarDecl(VarDecl { label, var_name, ty, expr: Some(expr) }) [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] --> frontend/src/sample_programs/builder.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 19 | let ty = Type::Custom("int".to_string()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let expr = Expression::Literal(Literal { label: fresh_label(), kind: LiteralKind::Int(assign) }); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Statement::VarDecl(VarDecl { label, var_name, ty, expr: Some(expr) }) [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] --> frontend/src/sample_programs/builder.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 27 | let ty = Type::Custom("String".to_string()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let expr = Expression::Identifier(Identifier { label: fresh_label(), name: var.to_string() }); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Statement::VarDecl(VarDecl { label, var_name, ty, expr: Some(expr) }) [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] --> frontend/src/sample_programs/builder.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decl_int_from_expr(name: &str, expr: Expression) -> Statement { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let ty = Type::Custom("int".to_string()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Statement::VarDecl(VarDecl { label, var_name, ty, expr: Some(expr) }) [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] --> frontend/src/sample_programs/builder.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn return_(expr: Expression) -> Statement { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Statement::Return(Return { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 41 | | label: fresh_label(), [INFO] [stdout] 42 | | expr: Some(expr) [INFO] [stdout] 43 | | }) [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] --> frontend/src/sample_programs/builder.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn literal(lit: LiteralKind) -> Expression { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Expression::Literal(Literal { label: fresh_label(), kind: lit }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> frontend/src/analysis/preprocess/visitor.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | MultiEntryPoint(labels::MethodDecl) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PreprocessError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 11 | MultiEntryPoint(()) [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] --> frontend/src/sample_programs/builder.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn binary_op(operator: BinaryOperator, left: Expression, right: Expression) -> Expression { [INFO] [stdout] | ---------------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Expression::BinaryOp(BinaryOp { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 66 | | label: fresh_label(), [INFO] [stdout] 67 | | operator, [INFO] [stdout] 68 | | left: Box::new(left), [INFO] [stdout] 69 | | right: Box::new(right) [INFO] [stdout] 70 | | }) [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] --> frontend/src/sample_programs/builder.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 11 | let ty = Type::Custom("String".to_string()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let expr = Expression::Literal(Literal { label: fresh_label(), kind: LiteralKind::String(assign.to_string()) }); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Statement::VarDecl(VarDecl { label, var_name, ty, expr: Some(expr) }) [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] --> frontend/src/sample_programs/builder.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 76 | let left = Box::new(Builder::var_use(x)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let right = Box::new(Builder::var_use(y)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | Expression::BinaryOp(BinaryOp { label, operator, left, right }) [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] --> frontend/src/sample_programs/builder.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 19 | let ty = Type::Custom("int".to_string()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let expr = Expression::Literal(Literal { label: fresh_label(), kind: LiteralKind::Int(assign) }); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Statement::VarDecl(VarDecl { label, var_name, ty, expr: Some(expr) }) [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] --> frontend/src/sample_programs/builder.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn write_line_expr(expr: Expression) -> Statement { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | Statement::Expression(Builder::method_call_expr("Console", "WriteLine", vec![expr])) [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] --> frontend/src/sample_programs/builder.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 27 | let ty = Type::Custom("String".to_string()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let expr = Expression::Identifier(Identifier { label: fresh_label(), name: var.to_string() }); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Statement::VarDecl(VarDecl { label, var_name, ty, expr: Some(expr) }) [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] --> frontend/src/sample_programs/builder.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decl_int_from_expr(name: &str, expr: Expression) -> Statement { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let ty = Type::Custom("int".to_string()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Statement::VarDecl(VarDecl { label, var_name, ty, expr: Some(expr) }) [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] --> frontend/src/sample_programs/builder.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn if_then_else(condition: Expression, then: Vec, else_: Vec) -> Statement { [INFO] [stdout] | --------------------- -------------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Statement::IfThenElse(IfThenElse { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 95 | | label: fresh_label(), [INFO] [stdout] 96 | | condition, [INFO] [stdout] 97 | | then, [INFO] [stdout] 98 | | else_ [INFO] [stdout] 99 | | }) [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] --> frontend/src/sample_programs/builder.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn return_(expr: Expression) -> Statement { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Statement::Return(Return { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 41 | | label: fresh_label(), [INFO] [stdout] 42 | | expr: Some(expr) [INFO] [stdout] 43 | | }) [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] --> frontend/src/sample_programs/builder.rs:107:50 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn method_call_literal(class: &str, method: &str, literals: Vec) -> Expression { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | Builder::method_call_expr(class, method, literals.into_iter().map(Builder::literal).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> frontend/src/sample_programs/builder.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn literal(lit: LiteralKind) -> Expression { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Expression::Literal(Literal { label: fresh_label(), kind: lit }) [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] --> frontend/src/sample_programs/builder.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn method_call_expr(class: &str, method: &str, args: Vec) -> Expression { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Expression::MethodCall(MethodCall { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 112 | | label: fresh_label(), [INFO] [stdout] 113 | | target: Box::new(Expression::Identifier(Identifier { name: class.to_string(), label: fresh_label() })), [INFO] [stdout] 114 | | method_name: method.to_string(), [INFO] [stdout] 115 | | args [INFO] [stdout] 116 | | }) [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] --> frontend/src/sample_programs/builder.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn binary_op(operator: BinaryOperator, left: Expression, right: Expression) -> Expression { [INFO] [stdout] | ---------------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Expression::BinaryOp(BinaryOp { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 66 | | label: fresh_label(), [INFO] [stdout] 67 | | operator, [INFO] [stdout] 68 | | left: Box::new(left), [INFO] [stdout] 69 | | right: Box::new(right) [INFO] [stdout] 70 | | }) [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] --> frontend/src/sample_programs/builder.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 76 | let left = Box::new(Builder::var_use(x)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let right = Box::new(Builder::var_use(y)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | Expression::BinaryOp(BinaryOp { label, operator, left, right }) [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] --> frontend/src/sample_programs/builder.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn write_line_expr(expr: Expression) -> Statement { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | Statement::Expression(Builder::method_call_expr("Console", "WriteLine", vec![expr])) [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] --> frontend/src/sample_programs/builder.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn if_then_else(condition: Expression, then: Vec, else_: Vec) -> Statement { [INFO] [stdout] | --------------------- -------------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Statement::IfThenElse(IfThenElse { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 95 | | label: fresh_label(), [INFO] [stdout] 96 | | condition, [INFO] [stdout] 97 | | then, [INFO] [stdout] 98 | | else_ [INFO] [stdout] 99 | | }) [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] --> frontend/src/sample_programs/builder.rs:107:50 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn method_call_literal(class: &str, method: &str, literals: Vec) -> Expression { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | Builder::method_call_expr(class, method, literals.into_iter().map(Builder::literal).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> frontend/src/sample_programs/builder.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn method_call_expr(class: &str, method: &str, args: Vec) -> Expression { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Expression::MethodCall(MethodCall { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 112 | | label: fresh_label(), [INFO] [stdout] 113 | | target: Box::new(Expression::Identifier(Identifier { name: class.to_string(), label: fresh_label() })), [INFO] [stdout] 114 | | method_name: method.to_string(), [INFO] [stdout] 115 | | args [INFO] [stdout] 116 | | }) [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] --> frontend/src/sample_programs/hello_world.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 4 | let main_method = ClassItem::MethodDecl(MethodDecl { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | TopItem::ClassDecl(ClassDecl { [INFO] [stdout] | ________________________^ [INFO] [stdout] 21 | | label: fresh_label(), [INFO] [stdout] 22 | | name: "Program".to_string(), [INFO] [stdout] 23 | | items: vec![main_method] [INFO] [stdout] 24 | | }) [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] --> frontend/src/sample_programs/large_fn.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 21 | let main_method = ClassItem::MethodDecl(MethodDecl { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | TopItem::ClassDecl(ClassDecl { [INFO] [stdout] | ________________________^ [INFO] [stdout] 31 | | label: fresh_label(), [INFO] [stdout] 32 | | name: "Program".to_string(), [INFO] [stdout] 33 | | items: vec![main_method] [INFO] [stdout] 34 | | }) [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] --> frontend/src/sample_programs/hello_world.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 4 | let main_method = ClassItem::MethodDecl(MethodDecl { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | TopItem::ClassDecl(ClassDecl { [INFO] [stdout] | ________________________^ [INFO] [stdout] 21 | | label: fresh_label(), [INFO] [stdout] 22 | | name: "Program".to_string(), [INFO] [stdout] 23 | | items: vec![main_method] [INFO] [stdout] 24 | | }) [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] --> frontend/src/sample_programs/large_fn.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 21 | let main_method = ClassItem::MethodDecl(MethodDecl { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | TopItem::ClassDecl(ClassDecl { [INFO] [stdout] | ________________________^ [INFO] [stdout] 31 | | label: fresh_label(), [INFO] [stdout] 32 | | name: "Program".to_string(), [INFO] [stdout] 33 | | items: vec![main_method] [INFO] [stdout] 34 | | }) [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] --> frontend/src/sample_programs/variables.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 5 | let main_method = ClassItem::MethodDecl(MethodDecl { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let aux_method = ClassItem::MethodDecl(MethodDecl { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let factorial_method = ClassItem::MethodDecl(MethodDecl { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | TopItem::ClassDecl(ClassDecl { [INFO] [stdout] | ________________________^ [INFO] [stdout] 71 | | label: fresh_label(), [INFO] [stdout] 72 | | name: "Program".to_string(), [INFO] [stdout] 73 | | items: vec![main_method, aux_method, factorial_method] [INFO] [stdout] 74 | | }) [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 15 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> frontend/src/sample_programs/variables.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 5 | let main_method = ClassItem::MethodDecl(MethodDecl { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let aux_method = ClassItem::MethodDecl(MethodDecl { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let factorial_method = ClassItem::MethodDecl(MethodDecl { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | TopItem::ClassDecl(ClassDecl { [INFO] [stdout] | ________________________^ [INFO] [stdout] 71 | | label: fresh_label(), [INFO] [stdout] 72 | | name: "Program".to_string(), [INFO] [stdout] 73 | | items: vec![main_method, aux_method, factorial_method] [INFO] [stdout] 74 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `frontend` (lib) due to 16 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `frontend` (lib test) due to 16 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7433aefeaeefa1b3ed7b32156cc6f2d90a1faa38024e8b4b87a0dd62097f4f51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7433aefeaeefa1b3ed7b32156cc6f2d90a1faa38024e8b4b87a0dd62097f4f51", kill_on_drop: false }` [INFO] [stdout] 7433aefeaeefa1b3ed7b32156cc6f2d90a1faa38024e8b4b87a0dd62097f4f51