[INFO] cloning repository https://github.com/fliseno1k/rust-lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fliseno1k/rust-lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffliseno1k%2Frust-lox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffliseno1k%2Frust-lox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3023dc8c8d4998d056461db940ec84f3343b568b [INFO] checking fliseno1k/rust-lox against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffliseno1k%2Frust-lox" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fliseno1k/rust-lox on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fliseno1k/rust-lox [INFO] finished tweaking git repo https://github.com/fliseno1k/rust-lox [INFO] tweaked toml for git repo https://github.com/fliseno1k/rust-lox written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fliseno1k/rust-lox 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c1bd05f233c99502da716caf5006ee23899f0435167cafe45f3fdcfe25fb09a [INFO] running `Command { std: "docker" "start" "-a" "9c1bd05f233c99502da716caf5006ee23899f0435167cafe45f3fdcfe25fb09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c1bd05f233c99502da716caf5006ee23899f0435167cafe45f3fdcfe25fb09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c1bd05f233c99502da716caf5006ee23899f0435167cafe45f3fdcfe25fb09a", kill_on_drop: false }` [INFO] [stdout] 9c1bd05f233c99502da716caf5006ee23899f0435167cafe45f3fdcfe25fb09a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7f76feaef5bc5094411f824942947f54226abbae592506fed6c979faad0d82c [INFO] running `Command { std: "docker" "start" "-a" "e7f76feaef5bc5094411f824942947f54226abbae592506fed6c979faad0d82c", kill_on_drop: false }` [INFO] [stderr] Checking rust-lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking lox-syntax v0.1.0 (/opt/rustwide/workdir/crates/lox-syntax) [INFO] [stdout] warning: variants `Star`, `Nil`, and `Or` are never constructed [INFO] [stdout] --> crates/lox-syntax/src/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Star`, `Nil`, and `Or` are never constructed [INFO] [stdout] --> crates/lox-syntax/src/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "e7f76feaef5bc5094411f824942947f54226abbae592506fed6c979faad0d82c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f76feaef5bc5094411f824942947f54226abbae592506fed6c979faad0d82c", kill_on_drop: false }` [INFO] [stdout] e7f76feaef5bc5094411f824942947f54226abbae592506fed6c979faad0d82c [INFO] checking fliseno1k/rust-lox against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffliseno1k%2Frust-lox" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fliseno1k/rust-lox on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fliseno1k/rust-lox [INFO] finished tweaking git repo https://github.com/fliseno1k/rust-lox [INFO] tweaked toml for git repo https://github.com/fliseno1k/rust-lox written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fliseno1k/rust-lox 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98b6d3eecf916b7a5258d4e7d00052d018b79a8d9b9a22a57f29646b1554c4f5 [INFO] running `Command { std: "docker" "start" "-a" "98b6d3eecf916b7a5258d4e7d00052d018b79a8d9b9a22a57f29646b1554c4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98b6d3eecf916b7a5258d4e7d00052d018b79a8d9b9a22a57f29646b1554c4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b6d3eecf916b7a5258d4e7d00052d018b79a8d9b9a22a57f29646b1554c4f5", kill_on_drop: false }` [INFO] [stdout] 98b6d3eecf916b7a5258d4e7d00052d018b79a8d9b9a22a57f29646b1554c4f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75c67316eb67cb4d729f2eb359b6e5639e4ef02001cd5ffb58d86a230ff0a8c4 [INFO] running `Command { std: "docker" "start" "-a" "75c67316eb67cb4d729f2eb359b6e5639e4ef02001cd5ffb58d86a230ff0a8c4", kill_on_drop: false }` [INFO] [stderr] Checking lox-syntax v0.1.0 (/opt/rustwide/workdir/crates/lox-syntax) [INFO] [stderr] Checking rust-lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Star`, `Nil`, and `Or` are never constructed [INFO] [stdout] --> crates/lox-syntax/src/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Star`, `Nil`, and `Or` are never constructed [INFO] [stdout] --> crates/lox-syntax/src/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> crates/lox-syntax/src/expr_parser.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 144 | let right = parse_expr(it, Precedence::Unary)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | Ok(WithSpan::new(Expr::Unary(operator, Box::new(right)), span)) [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] --> crates/lox-syntax/src/expr_parser.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_binary(it: &mut Parser, left: WithSpan) -> Result, ()> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let right = parse_expr(it, precedence)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 157 | | Expr::Binary(Box::new(left), operator, Box::new(right)), [INFO] [stdout] 158 | | span, [INFO] [stdout] 159 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> crates/lox-syntax/src/expr_parser.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 164 | let expr = parse_expr(it, Precedence::None)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | Ok(WithSpan::new(Expr::Grouping(Box::new(expr)), span)) [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] --> crates/lox-syntax/src/expr_parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 173 | let items = parse_list_items(it)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | Ok(WithSpan::new(Expr::List(items), span)) [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] --> crates/lox-syntax/src/expr_parser.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 144 | let right = parse_expr(it, Precedence::Unary)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | Ok(WithSpan::new(Expr::Unary(operator, Box::new(right)), span)) [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] --> crates/lox-syntax/src/expr_parser.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn parse_logical(it: &mut Parser, left: WithSpan) -> Result, ()> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | let right = parse_expr(it, precedence)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 187 | | Expr::Logical(Box::new(left), operator, Box::new(right)), [INFO] [stdout] 188 | | span, [INFO] [stdout] 189 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> crates/lox-syntax/src/expr_parser.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn parse_call(it: &mut Parser, left: WithSpan) -> Result, ()> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | it.expect(TokenKind::LeftParenthesis)?; [INFO] [stdout] 218 | let args = parse_arguments(it)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | Ok(WithSpan::new(Expr::Call(Box::new(left), args), span)) [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] --> crates/lox-syntax/src/expr_parser.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_binary(it: &mut Parser, left: WithSpan) -> Result, ()> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let right = parse_expr(it, precedence)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 157 | | Expr::Binary(Box::new(left), operator, Box::new(right)), [INFO] [stdout] 158 | | span, [INFO] [stdout] 159 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> crates/lox-syntax/src/expr_parser.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn parse_list_get(it: &mut Parser, left: WithSpan) -> Result, ()> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | it.expect(TokenKind::LeftBracket)?; [INFO] [stdout] 257 | let right = parse_expr(it, Precedence::None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 262 | | Expr::ListGet(Box::new(left), Box::new(right)), [INFO] [stdout] 263 | | span, [INFO] [stdout] 264 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> crates/lox-syntax/src/expr_parser.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 164 | let expr = parse_expr(it, Precedence::None)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | Ok(WithSpan::new(Expr::Grouping(Box::new(expr)), span)) [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] --> crates/lox-syntax/src/expr_parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 173 | let items = parse_list_items(it)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | Ok(WithSpan::new(Expr::List(items), span)) [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] --> crates/lox-syntax/src/stmt_parser.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 48 | let mut functions: Vec> = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 55 | | Stmt::Class(name.clone(), super_class, functions), [INFO] [stdout] 56 | | Span::union(begin_span, end_span), [INFO] [stdout] 57 | | )) [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] --> crates/lox-syntax/src/expr_parser.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn parse_logical(it: &mut Parser, left: WithSpan) -> Result, ()> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | let right = parse_expr(it, precedence)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 187 | | Expr::Logical(Box::new(left), operator, Box::new(right)), [INFO] [stdout] 188 | | span, [INFO] [stdout] 189 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> crates/lox-syntax/src/stmt_parser.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 62 | let fun = parse_function(it)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(WithSpan::new(fun.value, span)) [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] --> crates/lox-syntax/src/stmt_parser.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 71 | let mut initializer = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 79 | | Stmt::Var(name, initializer.map(Box::new)), [INFO] [stdout] 80 | | Span::union(begin_span, end_span), [INFO] [stdout] 81 | | )) [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] --> crates/lox-syntax/src/expr_parser.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn parse_call(it: &mut Parser, left: WithSpan) -> Result, ()> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | it.expect(TokenKind::LeftParenthesis)?; [INFO] [stdout] 218 | let args = parse_arguments(it)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | Ok(WithSpan::new(Expr::Call(Box::new(left), args), span)) [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] --> crates/lox-syntax/src/stmt_parser.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 94 | let mut body: Vec> = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 101 | | Stmt::Function(name.clone(), params, body), [INFO] [stdout] 102 | | Span::union(&name, end_span), [INFO] [stdout] 103 | | )) [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] --> crates/lox-syntax/src/stmt_parser.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 118 | let expr = parse_expr(it)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | Ok(WithSpan::new(Stmt::Expression(Box::new(expr)), span)) [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] --> crates/lox-syntax/src/expr_parser.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn parse_list_get(it: &mut Parser, left: WithSpan) -> Result, ()> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | it.expect(TokenKind::LeftBracket)?; [INFO] [stdout] 257 | let right = parse_expr(it, Precedence::None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 262 | | Expr::ListGet(Box::new(left), Box::new(right)), [INFO] [stdout] 263 | | span, [INFO] [stdout] 264 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> crates/lox-syntax/src/stmt_parser.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 48 | let mut functions: Vec> = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 55 | | Stmt::Class(name.clone(), super_class, functions), [INFO] [stdout] 56 | | Span::union(begin_span, end_span), [INFO] [stdout] 57 | | )) [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] --> crates/lox-syntax/src/stmt_parser.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 128 | let condition = parse_expr(it)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | it.expect(TokenKind::RightParenthesis)?; [INFO] [stdout] 130 | let if_stmt = parse_statement(it)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | let mut end_span = if_stmt.span; [INFO] [stdout] 132 | let mut else_stmt: Option> = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 141 | | Stmt::If( [INFO] [stdout] 142 | | Box::new(condition), [INFO] [stdout] 143 | | Box::new(if_stmt), [INFO] [stdout] ... | [INFO] [stdout] 146 | | Span::union_span(begin_token.span, end_span), [INFO] [stdout] 147 | | )) [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] | [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] --> crates/lox-syntax/src/stmt_parser.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 62 | let fun = parse_function(it)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(WithSpan::new(fun.value, span)) [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] --> crates/lox-syntax/src/stmt_parser.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 152 | let expr = parse_expr(it)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 156 | | Stmt::Print(Box::new(expr)), [INFO] [stdout] 157 | | Span::union(begin_token, end_token), [INFO] [stdout] 158 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> crates/lox-syntax/src/stmt_parser.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 163 | let mut statements: Vec> = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 169 | | Stmt::Block(statements), [INFO] [stdout] 170 | | Span::union(begin_span, end_span), [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] --> crates/lox-syntax/src/stmt_parser.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 71 | let mut initializer = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 79 | | Stmt::Var(name, initializer.map(Box::new)), [INFO] [stdout] 80 | | Span::union(begin_span, end_span), [INFO] [stdout] 81 | | )) [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] --> crates/lox-syntax/src/stmt_parser.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 94 | let mut body: Vec> = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 101 | | Stmt::Function(name.clone(), params, body), [INFO] [stdout] 102 | | Span::union(&name, end_span), [INFO] [stdout] 103 | | )) [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] --> crates/lox-syntax/src/stmt_parser.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 177 | let condition = parse_expr(it)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | it.expect(TokenKind::RightParenthesis)?; [INFO] [stdout] 179 | let statement = parse_statement(it)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | let span = Span::union(begin_span, &statement); [INFO] [stdout] 181 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 182 | | Stmt::While(Box::new(condition), Box::new(statement)), [INFO] [stdout] 183 | | span, [INFO] [stdout] 184 | | )) [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] | [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] --> crates/lox-syntax/src/stmt_parser.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 258 | let mut expr = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 264 | | Stmt::Return(expr.map(Box::new)), [INFO] [stdout] 265 | | Span::union(begin_span, end_span), [INFO] [stdout] 266 | | )) [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] --> crates/lox-syntax/src/stmt_parser.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 118 | let expr = parse_expr(it)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | Ok(WithSpan::new(Stmt::Expression(Box::new(expr)), span)) [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] --> crates/lox-syntax/src/stmt_parser.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 128 | let condition = parse_expr(it)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | it.expect(TokenKind::RightParenthesis)?; [INFO] [stdout] 130 | let if_stmt = parse_statement(it)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | let mut end_span = if_stmt.span; [INFO] [stdout] 132 | let mut else_stmt: Option> = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 141 | | Stmt::If( [INFO] [stdout] 142 | | Box::new(condition), [INFO] [stdout] 143 | | Box::new(if_stmt), [INFO] [stdout] ... | [INFO] [stdout] 146 | | Span::union_span(begin_token.span, end_span), [INFO] [stdout] 147 | | )) [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] | [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] --> crates/lox-syntax/src/stmt_parser.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 152 | let expr = parse_expr(it)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 156 | | Stmt::Print(Box::new(expr)), [INFO] [stdout] 157 | | Span::union(begin_token, end_token), [INFO] [stdout] 158 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> crates/lox-syntax/src/stmt_parser.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 163 | let mut statements: Vec> = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 169 | | Stmt::Block(statements), [INFO] [stdout] 170 | | Span::union(begin_span, end_span), [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] --> crates/lox-syntax/src/stmt_parser.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 177 | let condition = parse_expr(it)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | it.expect(TokenKind::RightParenthesis)?; [INFO] [stdout] 179 | let statement = parse_statement(it)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | let span = Span::union(begin_span, &statement); [INFO] [stdout] 181 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 182 | | Stmt::While(Box::new(condition), Box::new(statement)), [INFO] [stdout] 183 | | span, [INFO] [stdout] 184 | | )) [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] | [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] --> crates/lox-syntax/src/stmt_parser.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 258 | let mut expr = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | Ok(WithSpan::new( [INFO] [stdout] | ________^ [INFO] [stdout] 264 | | Stmt::Return(expr.map(Box::new)), [INFO] [stdout] 265 | | Span::union(begin_span, end_span), [INFO] [stdout] 266 | | )) [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 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox-syntax` (lib test) due to 18 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lox-syntax` (lib) due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "75c67316eb67cb4d729f2eb359b6e5639e4ef02001cd5ffb58d86a230ff0a8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75c67316eb67cb4d729f2eb359b6e5639e4ef02001cd5ffb58d86a230ff0a8c4", kill_on_drop: false }` [INFO] [stdout] 75c67316eb67cb4d729f2eb359b6e5639e4ef02001cd5ffb58d86a230ff0a8c4