[INFO] cloning repository https://github.com/a222red/pragma [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a222red/pragma" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa222red%2Fpragma", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa222red%2Fpragma'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 311f8a937f7fc01c7efb16261853f624f2875146 [INFO] checking a222red/pragma/311f8a937f7fc01c7efb16261853f624f2875146 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%2Fa222red%2Fpragma" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/a222red/pragma 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/a222red/pragma [INFO] finished tweaking git repo https://github.com/a222red/pragma [INFO] tweaked toml for git repo https://github.com/a222red/pragma written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/a222red/pragma 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5d802714b470060fc88c65bb2a05770e683ce67db2cb9a9c39b44c75447835a5 [INFO] running `Command { std: "docker" "start" "-a" "5d802714b470060fc88c65bb2a05770e683ce67db2cb9a9c39b44c75447835a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d802714b470060fc88c65bb2a05770e683ce67db2cb9a9c39b44c75447835a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d802714b470060fc88c65bb2a05770e683ce67db2cb9a9c39b44c75447835a5", kill_on_drop: false }` [INFO] [stdout] 5d802714b470060fc88c65bb2a05770e683ce67db2cb9a9c39b44c75447835a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 974b83188a12a32941b4b2e3c9f1e202ab203fe7c4c42d0ed777d65c06d3f8be [INFO] running `Command { std: "docker" "start" "-a" "974b83188a12a32941b4b2e3c9f1e202ab203fe7c4c42d0ed777d65c06d3f8be", kill_on_drop: false }` [INFO] [stderr] Compiling peg-runtime v0.8.2 [INFO] [stderr] Compiling peg-macros v0.8.2 [INFO] [stderr] Checking peg v0.8.2 [INFO] [stderr] Checking pragma v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Interpreter` is never constructed [INFO] [stdout] --> src/ir.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interpreter` 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: struct `Vm` is never constructed [INFO] [stdout] --> src/ir.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Vm { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_function`, `add_namespace`, `set_global`, `add_string`, and `invoke_function` are never used [INFO] [stdout] --> src/ir.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Interpreter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add_function(&mut self, func: Function) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn add_namespace(&mut self, num_values: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_global(&mut self, ns: u32, id: u32, value: Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add_string(&mut self, string: String) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn invoke_function( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call_function` is never used [INFO] [stdout] --> src/ir.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl Vm { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 81 | fn call_function(&mut self, functions: &[Function], id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Option` and `Result` are never constructed [INFO] [stdout] --> src/ir.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 532 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 539 | Option(Ref>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 540 | Result(Ref>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `JumpIfTrue` and `JumpIfSome` are never constructed [INFO] [stdout] --> src/ir.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 554 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 603 | JumpIfTrue(i32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 606 | JumpIfSome(i32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are 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] --> src/parser.rs:105:58 [INFO] [stdout] | [INFO] [stdout] 104 | a:(ty() ** (s0() "," s0())) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | s0() ")" s0() "->" s0() r:ty() { Type::Fn(a, Box::new(r)) } [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] = 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/parser.rs:118:42 [INFO] [stdout] | [INFO] [stdout] 117 | m:("mut" s1())? "[" s0() t:ty() s0() "]" { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | Type::Array(m.is_some(), Box::new(t)) [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/parser.rs:107:47 [INFO] [stdout] | [INFO] [stdout] 107 | t:(@) s0() "?" e:@ { Type::Result(Box::new(t), Box::new(e)) } [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/parser.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | t:(@) s0() "?" e:@ { Type::Result(Box::new(t), Box::new(e)) } [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/parser.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | t:(@) "?" { Type::Option(Box::new(t)) } [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/parser.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 262 | f:((n:ident() s0() ":" s0() v:expr() { (n, v) }) ** (s0() "," s0())) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | ExprKind::ClassConstruct(c, f) [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/parser.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 268 | x:expr() ** (s0() "," s0()) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | ExprKind::ArrayConstruct(x) [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/parser.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 277 | b:position!() "if" s0() i:expr() s0() "then" s0() t:expr() [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] 278 | f:(s0() "else" s0() f:expr() { f })? e:position!() { Expr::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | Span::new(b, e), [INFO] [stdout] 280 | / ExprKind::If( [INFO] [stdout] 281 | | Box::new(i), [INFO] [stdout] 282 | | Box::new(t), [INFO] [stdout] 283 | | f.map(Box::new) [INFO] [stdout] 284 | | ) [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/parser.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 287 | s0() s:stmt() ** s0() s0() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | x:expr()? s0() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | ExprKind::Block(s, x.map(Box::new)) [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/parser.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 123 | x:(@) s0() "||" s0() y:@ { Expr::new( [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] 124 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 125 | / ExprKind::Logical( [INFO] [stdout] 126 | | Logical::Or, [INFO] [stdout] 127 | | Box::new(x), [INFO] [stdout] 128 | | Box::new(y) [INFO] [stdout] 129 | | ) [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/parser.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 132 | x:(@) s0() "&&" s0() y:@ { Expr::new( [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] 133 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 134 | / ExprKind::Logical( [INFO] [stdout] 135 | | Logical::And, [INFO] [stdout] 136 | | Box::new(x), [INFO] [stdout] 137 | | Box::new(y) [INFO] [stdout] 138 | | ) [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/parser.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 141 | x:(@) s0() "==" s0() y:@ { Expr::new( [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] 142 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 143 | / ExprKind::Comparison( [INFO] [stdout] 144 | | Comparison::Eq, [INFO] [stdout] 145 | | Box::new(x), [INFO] [stdout] 146 | | Box::new(y) [INFO] [stdout] 147 | | ) [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/parser.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 149 | x:(@) s0() "!=" s0() y:@ { Expr::new( [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] 150 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 151 | / ExprKind::Comparison( [INFO] [stdout] 152 | | Comparison::Ne, [INFO] [stdout] 153 | | Box::new(x), [INFO] [stdout] 154 | | Box::new(y) [INFO] [stdout] 155 | | ) [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/parser.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 157 | x:(@) s0() "<" s0() y:@ { Expr::new( [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] 158 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 159 | / ExprKind::Comparison( [INFO] [stdout] 160 | | Comparison::Lt, [INFO] [stdout] 161 | | Box::new(x), [INFO] [stdout] 162 | | Box::new(y) [INFO] [stdout] 163 | | ) [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/parser.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 165 | x:(@) s0() "<=" s0() y:@ { Expr::new( [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] 166 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 167 | / ExprKind::Comparison( [INFO] [stdout] 168 | | Comparison::Le, [INFO] [stdout] 169 | | Box::new(x), [INFO] [stdout] 170 | | Box::new(y) [INFO] [stdout] 171 | | ) [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/parser.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 173 | x:(@) s0() ">" s0() y:@ { Expr::new( [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] 174 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 175 | / ExprKind::Comparison( [INFO] [stdout] 176 | | Comparison::Gt, [INFO] [stdout] 177 | | Box::new(x), [INFO] [stdout] 178 | | Box::new(y) [INFO] [stdout] 179 | | ) [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/parser.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 181 | x:(@) s0() ">=" s0() y:@ { Expr::new( [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] 182 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 183 | / ExprKind::Comparison( [INFO] [stdout] 184 | | Comparison::Ge, [INFO] [stdout] 185 | | Box::new(x), [INFO] [stdout] 186 | | Box::new(y) [INFO] [stdout] 187 | | ) [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/parser.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 190 | x:(@) s0() "+" s0() y:@ { Expr::new( [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] 191 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 192 | / ExprKind::Arithmetic( [INFO] [stdout] 193 | | ArithmeticOp::Add, [INFO] [stdout] 194 | | Box::new(x), [INFO] [stdout] 195 | | Box::new(y) [INFO] [stdout] 196 | | ) [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/parser.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 198 | x:(@) s0() "-" s0() y:@ { Expr::new( [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] 199 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 200 | / ExprKind::Arithmetic( [INFO] [stdout] 201 | | ArithmeticOp::Sub, [INFO] [stdout] 202 | | Box::new(x), [INFO] [stdout] 203 | | Box::new(y) [INFO] [stdout] 204 | | ) [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/parser.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 207 | x:(@) s0() "*" s0() y:@ { Expr::new( [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] 208 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 209 | / ExprKind::Arithmetic( [INFO] [stdout] 210 | | ArithmeticOp::Mul, [INFO] [stdout] 211 | | Box::new(x), [INFO] [stdout] 212 | | Box::new(y) [INFO] [stdout] 213 | | ) [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/parser.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 215 | x:(@) s0() "/" s0() y:@ { Expr::new( [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] 216 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 217 | / ExprKind::Arithmetic( [INFO] [stdout] 218 | | ArithmeticOp::Div, [INFO] [stdout] 219 | | Box::new(x), [INFO] [stdout] 220 | | Box::new(y) [INFO] [stdout] 221 | | ) [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/parser.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 223 | x:(@) s0() "%" s0() y:@ { Expr::new( [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] 224 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 225 | / ExprKind::Arithmetic( [INFO] [stdout] 226 | | ArithmeticOp::Mod, [INFO] [stdout] 227 | | Box::new(x), [INFO] [stdout] 228 | | Box::new(y) [INFO] [stdout] 229 | | ) [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/parser.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 232 | x:@ s0() "?" e:position!() { Expr::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | Span::new(x.span.begin, e), [INFO] [stdout] 234 | ExprKind::Try(Box::new(x)) [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/parser.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 237 | x:@ s0() "." s0() f:ident() e:position!() { Expr::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | Span::new(x.span.begin, e), [INFO] [stdout] 239 | ExprKind::FieldAccess(Box::new(x), f) [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/parser.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 242 | x:@ s0() "(" [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 243 | s0() a:expr() ** (s0() "," s0()) s0() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | ExprKind::Call(Box::new(x), a) [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/parser.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 248 | a:@ s0() "[" s0() i:expr() "]" e:position!() { Expr::new( [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] 249 | Span::new(a.span.begin, e), [INFO] [stdout] 250 | ExprKind::Index(Box::new(a), Box::new(i)) [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/ast.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn new(span: Span, kind: ExprKind) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | Self { span, kind, ty: None, is_mut: false } [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/lower.rs:224:31 [INFO] [stdout] | [INFO] [stdout] 224 | kind: ErrorKind::UndefinedSymbol(class.clone()) [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/lower.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | .map(|it| (it.clone(), false)) [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/lower.rs:309:31 [INFO] [stdout] | [INFO] [stdout] 309 | kind: ErrorKind::UndefinedSymbol(var.clone()) [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/lower.rs:340:31 [INFO] [stdout] | [INFO] [stdout] 340 | kind: ErrorKind::FieldNotInClass(f.clone(), class.clone()) [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 31 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pragma` (bin "pragma" test) due to 32 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Interpreter` is never constructed [INFO] [stdout] --> src/ir.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interpreter` 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: struct `Vm` is never constructed [INFO] [stdout] --> src/ir.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Vm { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_function`, `add_namespace`, `set_global`, `add_string`, and `invoke_function` are never used [INFO] [stdout] --> src/ir.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Interpreter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add_function(&mut self, func: Function) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn add_namespace(&mut self, num_values: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_global(&mut self, ns: u32, id: u32, value: Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add_string(&mut self, string: String) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn invoke_function( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call_function` is never used [INFO] [stdout] --> src/ir.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl Vm { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 81 | fn call_function(&mut self, functions: &[Function], id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Option` and `Result` are never constructed [INFO] [stdout] --> src/ir.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 532 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 539 | Option(Ref>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 540 | Result(Ref>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `JumpIfTrue` and `JumpIfSome` are never constructed [INFO] [stdout] --> src/ir.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 554 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 603 | JumpIfTrue(i32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 606 | JumpIfSome(i32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are 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] --> src/parser.rs:105:58 [INFO] [stdout] | [INFO] [stdout] 104 | a:(ty() ** (s0() "," s0())) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | s0() ")" s0() "->" s0() r:ty() { Type::Fn(a, Box::new(r)) } [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] = 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/parser.rs:118:42 [INFO] [stdout] | [INFO] [stdout] 117 | m:("mut" s1())? "[" s0() t:ty() s0() "]" { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | Type::Array(m.is_some(), Box::new(t)) [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/parser.rs:107:47 [INFO] [stdout] | [INFO] [stdout] 107 | t:(@) s0() "?" e:@ { Type::Result(Box::new(t), Box::new(e)) } [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/parser.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | t:(@) s0() "?" e:@ { Type::Result(Box::new(t), Box::new(e)) } [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/parser.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | t:(@) "?" { Type::Option(Box::new(t)) } [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/parser.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 262 | f:((n:ident() s0() ":" s0() v:expr() { (n, v) }) ** (s0() "," s0())) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | ExprKind::ClassConstruct(c, f) [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/parser.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 268 | x:expr() ** (s0() "," s0()) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | ExprKind::ArrayConstruct(x) [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/parser.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 277 | b:position!() "if" s0() i:expr() s0() "then" s0() t:expr() [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] 278 | f:(s0() "else" s0() f:expr() { f })? e:position!() { Expr::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | Span::new(b, e), [INFO] [stdout] 280 | / ExprKind::If( [INFO] [stdout] 281 | | Box::new(i), [INFO] [stdout] 282 | | Box::new(t), [INFO] [stdout] 283 | | f.map(Box::new) [INFO] [stdout] 284 | | ) [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/parser.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 287 | s0() s:stmt() ** s0() s0() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | x:expr()? s0() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | ExprKind::Block(s, x.map(Box::new)) [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/parser.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 123 | x:(@) s0() "||" s0() y:@ { Expr::new( [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] 124 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 125 | / ExprKind::Logical( [INFO] [stdout] 126 | | Logical::Or, [INFO] [stdout] 127 | | Box::new(x), [INFO] [stdout] 128 | | Box::new(y) [INFO] [stdout] 129 | | ) [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/parser.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 132 | x:(@) s0() "&&" s0() y:@ { Expr::new( [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] 133 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 134 | / ExprKind::Logical( [INFO] [stdout] 135 | | Logical::And, [INFO] [stdout] 136 | | Box::new(x), [INFO] [stdout] 137 | | Box::new(y) [INFO] [stdout] 138 | | ) [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/parser.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 141 | x:(@) s0() "==" s0() y:@ { Expr::new( [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] 142 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 143 | / ExprKind::Comparison( [INFO] [stdout] 144 | | Comparison::Eq, [INFO] [stdout] 145 | | Box::new(x), [INFO] [stdout] 146 | | Box::new(y) [INFO] [stdout] 147 | | ) [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/parser.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 149 | x:(@) s0() "!=" s0() y:@ { Expr::new( [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] 150 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 151 | / ExprKind::Comparison( [INFO] [stdout] 152 | | Comparison::Ne, [INFO] [stdout] 153 | | Box::new(x), [INFO] [stdout] 154 | | Box::new(y) [INFO] [stdout] 155 | | ) [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/parser.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 157 | x:(@) s0() "<" s0() y:@ { Expr::new( [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] 158 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 159 | / ExprKind::Comparison( [INFO] [stdout] 160 | | Comparison::Lt, [INFO] [stdout] 161 | | Box::new(x), [INFO] [stdout] 162 | | Box::new(y) [INFO] [stdout] 163 | | ) [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/parser.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 165 | x:(@) s0() "<=" s0() y:@ { Expr::new( [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] 166 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 167 | / ExprKind::Comparison( [INFO] [stdout] 168 | | Comparison::Le, [INFO] [stdout] 169 | | Box::new(x), [INFO] [stdout] 170 | | Box::new(y) [INFO] [stdout] 171 | | ) [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/parser.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 173 | x:(@) s0() ">" s0() y:@ { Expr::new( [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] 174 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 175 | / ExprKind::Comparison( [INFO] [stdout] 176 | | Comparison::Gt, [INFO] [stdout] 177 | | Box::new(x), [INFO] [stdout] 178 | | Box::new(y) [INFO] [stdout] 179 | | ) [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/parser.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 181 | x:(@) s0() ">=" s0() y:@ { Expr::new( [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] 182 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 183 | / ExprKind::Comparison( [INFO] [stdout] 184 | | Comparison::Ge, [INFO] [stdout] 185 | | Box::new(x), [INFO] [stdout] 186 | | Box::new(y) [INFO] [stdout] 187 | | ) [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/parser.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 190 | x:(@) s0() "+" s0() y:@ { Expr::new( [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] 191 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 192 | / ExprKind::Arithmetic( [INFO] [stdout] 193 | | ArithmeticOp::Add, [INFO] [stdout] 194 | | Box::new(x), [INFO] [stdout] 195 | | Box::new(y) [INFO] [stdout] 196 | | ) [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/parser.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 198 | x:(@) s0() "-" s0() y:@ { Expr::new( [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] 199 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 200 | / ExprKind::Arithmetic( [INFO] [stdout] 201 | | ArithmeticOp::Sub, [INFO] [stdout] 202 | | Box::new(x), [INFO] [stdout] 203 | | Box::new(y) [INFO] [stdout] 204 | | ) [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/parser.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 207 | x:(@) s0() "*" s0() y:@ { Expr::new( [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] 208 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 209 | / ExprKind::Arithmetic( [INFO] [stdout] 210 | | ArithmeticOp::Mul, [INFO] [stdout] 211 | | Box::new(x), [INFO] [stdout] 212 | | Box::new(y) [INFO] [stdout] 213 | | ) [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/parser.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 215 | x:(@) s0() "/" s0() y:@ { Expr::new( [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] 216 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 217 | / ExprKind::Arithmetic( [INFO] [stdout] 218 | | ArithmeticOp::Div, [INFO] [stdout] 219 | | Box::new(x), [INFO] [stdout] 220 | | Box::new(y) [INFO] [stdout] 221 | | ) [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/parser.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 223 | x:(@) s0() "%" s0() y:@ { Expr::new( [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] 224 | Span::new(x.span.begin, y.span.end), [INFO] [stdout] 225 | / ExprKind::Arithmetic( [INFO] [stdout] 226 | | ArithmeticOp::Mod, [INFO] [stdout] 227 | | Box::new(x), [INFO] [stdout] 228 | | Box::new(y) [INFO] [stdout] 229 | | ) [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/parser.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 232 | x:@ s0() "?" e:position!() { Expr::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | Span::new(x.span.begin, e), [INFO] [stdout] 234 | ExprKind::Try(Box::new(x)) [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/parser.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 237 | x:@ s0() "." s0() f:ident() e:position!() { Expr::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | Span::new(x.span.begin, e), [INFO] [stdout] 239 | ExprKind::FieldAccess(Box::new(x), f) [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/parser.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 242 | x:@ s0() "(" [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 243 | s0() a:expr() ** (s0() "," s0()) s0() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | ExprKind::Call(Box::new(x), a) [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/parser.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 248 | a:@ s0() "[" s0() i:expr() "]" e:position!() { Expr::new( [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] 249 | Span::new(a.span.begin, e), [INFO] [stdout] 250 | ExprKind::Index(Box::new(a), Box::new(i)) [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/ast.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn new(span: Span, kind: ExprKind) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | Self { span, kind, ty: None, is_mut: false } [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/lower.rs:224:31 [INFO] [stdout] | [INFO] [stdout] 224 | kind: ErrorKind::UndefinedSymbol(class.clone()) [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/lower.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | .map(|it| (it.clone(), false)) [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/lower.rs:309:31 [INFO] [stdout] | [INFO] [stdout] 309 | kind: ErrorKind::UndefinedSymbol(var.clone()) [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/lower.rs:340:31 [INFO] [stdout] | [INFO] [stdout] 340 | kind: ErrorKind::FieldNotInClass(f.clone(), class.clone()) [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 31 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pragma` (bin "pragma") due to 32 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "974b83188a12a32941b4b2e3c9f1e202ab203fe7c4c42d0ed777d65c06d3f8be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974b83188a12a32941b4b2e3c9f1e202ab203fe7c4c42d0ed777d65c06d3f8be", kill_on_drop: false }` [INFO] [stdout] 974b83188a12a32941b4b2e3c9f1e202ab203fe7c4c42d0ed777d65c06d3f8be