[INFO] cloning repository https://github.com/blakeanedved/cortex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blakeanedved/cortex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblakeanedved%2Fcortex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblakeanedved%2Fcortex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] decc05f320564f532395faaf61a904e1e146a92e [INFO] checking blakeanedved/cortex/decc05f320564f532395faaf61a904e1e146a92e 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%2Fblakeanedved%2Fcortex" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/blakeanedved/cortex 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/blakeanedved/cortex [INFO] finished tweaking git repo https://github.com/blakeanedved/cortex [INFO] tweaked toml for git repo https://github.com/blakeanedved/cortex written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/blakeanedved/cortex 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 44cd1d8386a0cafa3a73ceb795aeaf467bb2ca8873bc0b9186642347dfeab041 [INFO] running `Command { std: "docker" "start" "-a" "44cd1d8386a0cafa3a73ceb795aeaf467bb2ca8873bc0b9186642347dfeab041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44cd1d8386a0cafa3a73ceb795aeaf467bb2ca8873bc0b9186642347dfeab041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44cd1d8386a0cafa3a73ceb795aeaf467bb2ca8873bc0b9186642347dfeab041", kill_on_drop: false }` [INFO] [stdout] 44cd1d8386a0cafa3a73ceb795aeaf467bb2ca8873bc0b9186642347dfeab041 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3e5aad08c4e5f0d698676c2fb53070fce690f1f17adf749ee6f720b86c5fd384 [INFO] running `Command { std: "docker" "start" "-a" "3e5aad08c4e5f0d698676c2fb53070fce690f1f17adf749ee6f720b86c5fd384", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Checking peg v0.7.0 [INFO] [stderr] Checking cortex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/types.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Locatable { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | pub data: T, [INFO] [stdout] 4 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Locatable` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/types.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Span { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | pub start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub end: usize [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Span` 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 `0` is never read [INFO] [stdout] --> src/types.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 27 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Float(f32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 28 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | Ident(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 29 | Ident(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | Tuple(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 30 | Tuple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | List(Vec), [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 31 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `iterators` and `qualifications` are never read [INFO] [stdout] --> src/types.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | ListGenerator { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 33 | iterators: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | qualifications: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `assignable` and `value` are never read [INFO] [stdout] --> src/types.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | Iterator { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 37 | assignable: Locatable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `lhs` and `rhs` are never read [INFO] [stdout] --> src/types.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | Add { lhs: Box, rhs: Box }, [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `lhs` and `rhs` are never read [INFO] [stdout] --> src/types.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Sub { lhs: Box, rhs: Box }, [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `lhs` and `rhs` are never read [INFO] [stdout] --> src/types.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | Mul { lhs: Box, rhs: Box }, [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `lhs` and `rhs` are never read [INFO] [stdout] --> src/types.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | Div { lhs: Box, rhs: Box }, [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `args` are never read [INFO] [stdout] --> src/types.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | FunctionCall { ident: String, args: Vec }, [INFO] [stdout] | ------------ ^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `cond_type`, `lhs`, and `rhs` are never read [INFO] [stdout] --> src/types.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Condition { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 55 | pub cond_type: ConditionType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | pub lhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | pub rhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` 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`, `args`, and `body` are never read [INFO] [stdout] --> src/types.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | FunctionDefinition { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 63 | ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | body: LocExpr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `assignable` and `expr` are never read [INFO] [stdout] --> src/types.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | Assignment { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 68 | assignable: Locatable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | expr: LocExpr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `0` is never read [INFO] [stdout] --> src/types.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | Single(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Assignable` 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] 75 | Single(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | Multi(Vec>) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Assignable` 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] 76 | Multi(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | a:(@) _? "+" _? b:@ { Expression::Add { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:8:72 [INFO] [stdout] | [INFO] [stdout] 8 | a:(@) _? "+" _? b:@ { Expression::Add { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | a:(@) _? "-" _? b:@ { Expression::Sub { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | a:(@) _? "-" _? b:@ { Expression::Sub { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:11:54 [INFO] [stdout] | [INFO] [stdout] 11 | a:(@) _? "*" _? b:@ { Expression::Mul { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:11:72 [INFO] [stdout] | [INFO] [stdout] 11 | a:(@) _? "*" _? b:@ { Expression::Mul { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | a:(@) _? "/" _? b:@ { Expression::Div { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:12:72 [INFO] [stdout] | [INFO] [stdout] 12 | a:(@) _? "/" _? b:@ { Expression::Div { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 24 | = start:position!() ident:ident() "(" _? args:ident() ** comma() _? ")" _? "=" _? e:expression() end:position!() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Locatable::new(Statement::FunctionDefinition { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 26 | | ident, [INFO] [stdout] 27 | | args, [INFO] [stdout] 28 | | body: e [INFO] [stdout] 29 | | }, (start, end)) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 33 | = start:position!() a:assignable() _? "=" _? e:expression() end:position!() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Locatable::new(Statement::Assignment { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 35 | | assignable: a, [INFO] [stdout] 36 | | expr: e [INFO] [stdout] 37 | | }, (start, end)) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:66:103 [INFO] [stdout] | [INFO] [stdout] 66 | ... _? "::" _? e:expression() end:position!() { Locatable::new(Expression::Iterator { assignable: a, value: Box::new(e) }, (start, end)) } [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 69 | = start:position!() a:expression() _? cmp:$(">" / "<" / "==" / "<=" / ">=" / "!=") _? b:expression() end:position!() { [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] 70 | Locatable::new(Condition { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 71 | | lhs: Box::new(a), [INFO] [stdout] 72 | | rhs: Box::new(b), [INFO] [stdout] 73 | | cond_type: match cmp { [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | }, (start, end)) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex` (bin "cortex" test) due to 13 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/types.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Locatable { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | pub data: T, [INFO] [stdout] 4 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Locatable` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/types.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Span { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | pub start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub end: usize [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Span` 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 `0` is never read [INFO] [stdout] --> src/types.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 27 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Float(f32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 28 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | Ident(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 29 | Ident(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | Tuple(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 30 | Tuple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | List(Vec), [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 31 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `iterators` and `qualifications` are never read [INFO] [stdout] --> src/types.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | ListGenerator { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 33 | iterators: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | qualifications: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `assignable` and `value` are never read [INFO] [stdout] --> src/types.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | Iterator { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 37 | assignable: Locatable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `lhs` and `rhs` are never read [INFO] [stdout] --> src/types.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | Add { lhs: Box, rhs: Box }, [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `lhs` and `rhs` are never read [INFO] [stdout] --> src/types.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Sub { lhs: Box, rhs: Box }, [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `lhs` and `rhs` are never read [INFO] [stdout] --> src/types.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | Mul { lhs: Box, rhs: Box }, [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `lhs` and `rhs` are never read [INFO] [stdout] --> src/types.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | Div { lhs: Box, rhs: Box }, [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `args` are never read [INFO] [stdout] --> src/types.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | FunctionCall { ident: String, args: Vec }, [INFO] [stdout] | ------------ ^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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 `cond_type`, `lhs`, and `rhs` are never read [INFO] [stdout] --> src/types.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Condition { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 55 | pub cond_type: ConditionType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | pub lhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | pub rhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` 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`, `args`, and `body` are never read [INFO] [stdout] --> src/types.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | FunctionDefinition { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 63 | ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | body: LocExpr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `assignable` and `expr` are never read [INFO] [stdout] --> src/types.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | Assignment { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 68 | assignable: Locatable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | expr: LocExpr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `0` is never read [INFO] [stdout] --> src/types.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | Single(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Assignable` 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] 75 | Single(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | Multi(Vec>) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Assignable` 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] 76 | Multi(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | a:(@) _? "+" _? b:@ { Expression::Add { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:8:72 [INFO] [stdout] | [INFO] [stdout] 8 | a:(@) _? "+" _? b:@ { Expression::Add { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | a:(@) _? "-" _? b:@ { Expression::Sub { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | a:(@) _? "-" _? b:@ { Expression::Sub { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:11:54 [INFO] [stdout] | [INFO] [stdout] 11 | a:(@) _? "*" _? b:@ { Expression::Mul { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:11:72 [INFO] [stdout] | [INFO] [stdout] 11 | a:(@) _? "*" _? b:@ { Expression::Mul { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | a:(@) _? "/" _? b:@ { Expression::Div { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:12:72 [INFO] [stdout] | [INFO] [stdout] 12 | a:(@) _? "/" _? b:@ { Expression::Div { lhs: Box::new(a), rhs: Box::new(b) } } [INFO] [stdout] | - - ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 24 | = start:position!() ident:ident() "(" _? args:ident() ** comma() _? ")" _? "=" _? e:expression() end:position!() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Locatable::new(Statement::FunctionDefinition { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 26 | | ident, [INFO] [stdout] 27 | | args, [INFO] [stdout] 28 | | body: e [INFO] [stdout] 29 | | }, (start, end)) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 33 | = start:position!() a:assignable() _? "=" _? e:expression() end:position!() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Locatable::new(Statement::Assignment { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 35 | | assignable: a, [INFO] [stdout] 36 | | expr: e [INFO] [stdout] 37 | | }, (start, end)) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:66:103 [INFO] [stdout] | [INFO] [stdout] 66 | ... _? "::" _? e:expression() end:position!() { Locatable::new(Expression::Iterator { assignable: a, value: Box::new(e) }, (start, end)) } [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lang.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 69 | = start:position!() a:expression() _? cmp:$(">" / "<" / "==" / "<=" / ">=" / "!=") _? b:expression() end:position!() { [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] 70 | Locatable::new(Condition { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 71 | | lhs: Box::new(a), [INFO] [stdout] 72 | | rhs: Box::new(b), [INFO] [stdout] 73 | | cond_type: match cmp { [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | }, (start, end)) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex` (bin "cortex") due to 13 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e5aad08c4e5f0d698676c2fb53070fce690f1f17adf749ee6f720b86c5fd384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e5aad08c4e5f0d698676c2fb53070fce690f1f17adf749ee6f720b86c5fd384", kill_on_drop: false }` [INFO] [stdout] 3e5aad08c4e5f0d698676c2fb53070fce690f1f17adf749ee6f720b86c5fd384