[INFO] cloning repository https://github.com/paulcacheux/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulcacheux/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a039b40cc148d131256d7b17d402bcb4440dc33 [INFO] checking paulcacheux/rlox against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2Frlox" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulcacheux/rlox 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/paulcacheux/rlox [INFO] finished tweaking git repo https://github.com/paulcacheux/rlox [INFO] tweaked toml for git repo https://github.com/paulcacheux/rlox written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/paulcacheux/rlox 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string-interner v0.12.2 [INFO] [stderr] Downloaded memchr v2.4.0 [INFO] [stderr] Downloaded serde v1.0.127 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded test-generator v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8dd5080be01c1e13ec0004b537f5c2bab6ac5a0680fb03ae0505b1766f1d5466 [INFO] running `Command { std: "docker" "start" "-a" "8dd5080be01c1e13ec0004b537f5c2bab6ac5a0680fb03ae0505b1766f1d5466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dd5080be01c1e13ec0004b537f5c2bab6ac5a0680fb03ae0505b1766f1d5466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd5080be01c1e13ec0004b537f5c2bab6ac5a0680fb03ae0505b1766f1d5466", kill_on_drop: false }` [INFO] [stdout] 8dd5080be01c1e13ec0004b537f5c2bab6ac5a0680fb03ae0505b1766f1d5466 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6255c1b1a519c864e2bfe3e411246e689e85b6ce5cd2195edcc8218fa27e2ed3 [INFO] running `Command { std: "docker" "start" "-a" "6255c1b1a519c864e2bfe3e411246e689e85b6ce5cd2195edcc8218fa27e2ed3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking string-interner v0.12.2 [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stderr] Compiling test-generator v0.3.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking driver v0.1.0 (/opt/rustwide/workdir/driver) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.03s [INFO] running `Command { std: "docker" "inspect" "6255c1b1a519c864e2bfe3e411246e689e85b6ce5cd2195edcc8218fa27e2ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6255c1b1a519c864e2bfe3e411246e689e85b6ce5cd2195edcc8218fa27e2ed3", kill_on_drop: false }` [INFO] [stdout] 6255c1b1a519c864e2bfe3e411246e689e85b6ce5cd2195edcc8218fa27e2ed3 [INFO] checking paulcacheux/rlox 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%2Fpaulcacheux%2Frlox" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulcacheux/rlox 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/paulcacheux/rlox [INFO] finished tweaking git repo https://github.com/paulcacheux/rlox [INFO] tweaked toml for git repo https://github.com/paulcacheux/rlox written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/paulcacheux/rlox 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d89414a354192b64c2344c32e348dcae2302e47abbe3a90f80ff76e0f2e6df5d [INFO] running `Command { std: "docker" "start" "-a" "d89414a354192b64c2344c32e348dcae2302e47abbe3a90f80ff76e0f2e6df5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d89414a354192b64c2344c32e348dcae2302e47abbe3a90f80ff76e0f2e6df5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89414a354192b64c2344c32e348dcae2302e47abbe3a90f80ff76e0f2e6df5d", kill_on_drop: false }` [INFO] [stdout] d89414a354192b64c2344c32e348dcae2302e47abbe3a90f80ff76e0f2e6df5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 89b846e72cd0b6d69e450c6c1379fad48dad7a58162892a56a46fe997eca6b38 [INFO] running `Command { std: "docker" "start" "-a" "89b846e72cd0b6d69e450c6c1379fad48dad7a58162892a56a46fe997eca6b38", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking string-interner v0.12.2 [INFO] [stderr] Compiling test-generator v0.3.0 [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler) [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] --> compiler/src/ast_eval/mod.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(context: &'c CompilationContext, stdout: W) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | functions: Vec::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] = 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] --> compiler/src/ast_eval/mod.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(context: &'c CompilationContext, stdout: W) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | env: Environment::new(context), [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] --> compiler/src/ast_eval/env.rs:26:66 [INFO] [stdout] | [INFO] [stdout] 26 | top_scope: self.top_scope.as_ref().map(|ts| Arc::new(ts.collapse())), [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] --> compiler/src/ast_eval/env.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 148 | fn with_parent(parent: Arc) -> Arc { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | Arc::new(LocalScope { [INFO] [stdout] | __________________^ [INFO] [stdout] 150 | | parent: Some(parent), [INFO] [stdout] 151 | | values: Mutex::new(HashMap::default()), [INFO] [stdout] 152 | | }) [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] --> compiler/src/parser/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 74 | let mut declarations = Vec::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(pt::Program { declarations }) [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] --> compiler/src/parser/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 114 | let init = if front_st.token == Token::Equal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | let equal_span = self.expect(Token::Equal)?; [INFO] [stdout] 116 | let expression = self.parse_expression()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | Ok(pt::VarDeclaration { [INFO] [stdout] | ____________^ [INFO] [stdout] 127 | | var_keyword_span, [INFO] [stdout] 128 | | identifier, [INFO] [stdout] 129 | | init, [INFO] [stdout] 130 | | semicolon_span, [INFO] [stdout] 131 | | }) [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] --> compiler/src/parser/mod.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 141 | let body = self.parse_block_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | [INFO] [stdout] 143 | Ok(pt::FunctionDeclaration { [INFO] [stdout] | ____________^ [INFO] [stdout] 144 | | fun_keyword_span, [INFO] [stdout] 145 | | function_name, [INFO] [stdout] 146 | | parameters, [INFO] [stdout] ... | [INFO] [stdout] 149 | | body: Box::new(body), [INFO] [stdout] 150 | | }) [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] --> compiler/src/parser/mod.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 223 | let condition = self.parse_expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | let right_paren_span = self.expect(Token::RightParenthesis)?; [INFO] [stdout] 225 | let body = self.parse_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | let else_statement = if front_st.token == Token::ElseKeyword { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let else_keyword_span = self.expect(Token::ElseKeyword)?; [INFO] [stdout] 230 | let body = self.parse_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | Ok(pt::IfStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 240 | | condition: Box::new(condition), [INFO] [stdout] 241 | | if_keyword_span, [INFO] [stdout] 242 | | left_paren_span, [INFO] [stdout] ... | [INFO] [stdout] 245 | | else_statement, [INFO] [stdout] 246 | | }) [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] | |_________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] --> compiler/src/parser/mod.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 252 | let condition = self.parse_expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let right_paren_span = self.expect(Token::RightParenthesis)?; [INFO] [stdout] 254 | let body = self.parse_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | [INFO] [stdout] 256 | Ok(pt::WhileStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 257 | | condition: Box::new(condition), [INFO] [stdout] 258 | | while_keyword_span, [INFO] [stdout] 259 | | left_paren_span, [INFO] [stdout] 260 | | right_paren_span, [INFO] [stdout] 261 | | body: Box::new(body), [INFO] [stdout] 262 | | }) [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] --> compiler/src/parser/mod.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 270 | let init = match front_st.token { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | let condition = self.parse_expression_or_empty_statement()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | [INFO] [stdout] 280 | let step = if !self.front_matches(Token::RightParenthesis)? { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | let body = self.parse_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | [INFO] [stdout] 289 | Ok(pt::ForStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 290 | | init: Box::new(init), [INFO] [stdout] 291 | | condition: Box::new(condition), [INFO] [stdout] 292 | | step: step.map(Box::new), [INFO] [stdout] ... | [INFO] [stdout] 296 | | body: Box::new(body), [INFO] [stdout] 297 | | }) [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] | | 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] | |_________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] --> compiler/src/parser/mod.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 303 | let mut declarations = Vec::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 314 | Ok(pt::BlockStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 315 | | declarations, [INFO] [stdout] 316 | | left_bracket_span, [INFO] [stdout] 317 | | right_bracket_span, [INFO] [stdout] 318 | | }) [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] --> compiler/src/parser/mod.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 323 | let expression = self.parse_expression()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let semicolon_span = self.expect(Token::SemiColon)?; [INFO] [stdout] 325 | Ok(pt::PrintStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 326 | | expression: Box::new(expression), [INFO] [stdout] 327 | | print_keyword_span, [INFO] [stdout] 328 | | semicolon_span, [INFO] [stdout] 329 | | }) [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] --> compiler/src/parser/mod.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 334 | let expr = if !self.front_matches(Token::SemiColon)? { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | Ok(pt::ReturnStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 341 | | expression: expr.map(Box::new), [INFO] [stdout] 342 | | return_keyword_span, [INFO] [stdout] 343 | | semicolon_span, [INFO] [stdout] 344 | | }) [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] --> compiler/src/parser/mod.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 362 | let expression = self.parse_expression()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 363 | let semicolon_span = self.expect(Token::SemiColon)?; [INFO] [stdout] 364 | Ok(pt::ExpressionStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 365 | | expression: Some(Box::new(expression)), [INFO] [stdout] 366 | | semicolon_span, [INFO] [stdout] 367 | | }) [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] --> compiler/src/parser/mod.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 496 | let sub = self.parse_expression()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 499 | Ok(pt::Expression::Parenthesis(pt::ParenthesisExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 500 | | left_paren_span: left_span, [INFO] [stdout] 501 | | right_paren_span: right_span, [INFO] [stdout] 502 | | sub: Box::new(sub), [INFO] [stdout] 503 | | })) [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] --> compiler/src/pt2ast/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn translate_program(&mut self, prog: pt::Program) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | self.scopes.begin_scope(); [INFO] [stdout] 29 | let statements: Result, _> = prog [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let statements = statements?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | Ok(ast::Program { statements }) [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] --> compiler/src/pt2ast/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 54 | var_decl: pt::VarDeclaration, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | ) -> Result { [INFO] [stdout] 56 | let (init_expression, equal_span) = if self.scopes.is_at_global_scope() { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | if let Some(init) = var_decl.init { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let expr = ast::Expression::Literal(tc::LiteralExpression { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let (init_expression, equal_span) = if let Some(init) = var_decl.init { [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] ... [INFO] [stdout] 91 | let expr = ast::Expression::Literal(tc::LiteralExpression { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(ast::Statement::VarDeclaration { [INFO] [stdout] | ____________^ [INFO] [stdout] 115 | | var_keyword_span: var_decl.var_keyword_span, [INFO] [stdout] 116 | | identifier: var_decl.identifier, [INFO] [stdout] 117 | | init_expression: Box::new(init_expression), [INFO] [stdout] 118 | | equal_span, [INFO] [stdout] 119 | | semicolon_span: var_decl.semicolon_span, [INFO] [stdout] 120 | | }) [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] --> compiler/src/pt2ast/mod.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 125 | decl: pt::FunctionDeclaration, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let body = self.translate_block_statement(*decl.body, true, false)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | Ok(ast::Statement::FunctionDeclaration { [INFO] [stdout] | ____________^ [INFO] [stdout] 140 | | fun_keyword_span: decl.fun_keyword_span, [INFO] [stdout] 141 | | function_name: decl.function_name, [INFO] [stdout] 142 | | parameters: decl.parameters, [INFO] [stdout] ... | [INFO] [stdout] 145 | | body: Box::new(body), [INFO] [stdout] 146 | | }) [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] --> compiler/src/pt2ast/mod.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 197 | statement: pt::PrintStatement, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | ) -> Result { [INFO] [stdout] 199 | let expr = self.translate_expression(*statement.expression)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | Ok(ast::Statement::Print { [INFO] [stdout] | ____________^ [INFO] [stdout] 201 | | expression: Box::new(expr), [INFO] [stdout] 202 | | print_keyword_span: statement.print_keyword_span, [INFO] [stdout] 203 | | semicolon_span: statement.semicolon_span, [INFO] [stdout] 204 | | }) [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] --> compiler/src/pt2ast/mod.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 209 | statement: pt::ReturnStatement, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let expr = statement [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | Ok(ast::Statement::Return { [INFO] [stdout] | ____________^ [INFO] [stdout] 224 | | expression: expr.map(Box::new), [INFO] [stdout] 225 | | return_keyword_span: statement.return_keyword_span, [INFO] [stdout] 226 | | semicolon_span: statement.semicolon_span, [INFO] [stdout] 227 | | }) [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] --> compiler/src/pt2ast/mod.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 232 | statement: pt::ExpressionStatement, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | ) -> Result { [INFO] [stdout] 234 | let expression = statement [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | Ok(ast::Statement::Expression { [INFO] [stdout] | ____________^ [INFO] [stdout] 239 | | expression, [INFO] [stdout] 240 | | semicolon_span: statement.semicolon_span, [INFO] [stdout] 241 | | }) [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] --> compiler/src/pt2ast/mod.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | .map(|expr| self.translate_expression(*expr).map(Box::new)) [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] --> compiler/src/pt2ast/mod.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 246 | statement: pt::IfStatement, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | let condition = self.translate_expression(*statement.condition)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | let true_body = self.translate_statement(*statement.body, in_function)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | [INFO] [stdout] 252 | let (false_body, else_keyword_span) = if let Some(else_part) = statement.else_statement { [INFO] [stdout] | ---------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let body = self.translate_statement(*else_part.body, in_function)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | let empty_body = ast::Statement::Block { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok(ast::Statement::If { [INFO] [stdout] | ____________^ [INFO] [stdout] 265 | | condition: Box::new(condition), [INFO] [stdout] 266 | | if_keyword_span: statement.if_keyword_span, [INFO] [stdout] 267 | | left_paren_span: statement.left_paren_span, [INFO] [stdout] ... | [INFO] [stdout] 271 | | false_body: Box::new(false_body), [INFO] [stdout] 272 | | }) [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] | |_________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] --> compiler/src/pt2ast/mod.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 277 | statement: pt::WhileStatement, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | let condition = self.translate_expression(*statement.condition)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | let body = self.translate_statement(*statement.body, in_function)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | [INFO] [stdout] 283 | Ok(ast::Statement::While { [INFO] [stdout] | ____________^ [INFO] [stdout] 284 | | condition: Box::new(condition), [INFO] [stdout] 285 | | while_keyword_span: statement.while_keyword_span, [INFO] [stdout] 286 | | left_paren_span: statement.left_paren_span, [INFO] [stdout] 287 | | right_paren_span: statement.right_paren_span, [INFO] [stdout] 288 | | body: Box::new(body), [INFO] [stdout] 289 | | }) [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] --> compiler/src/pt2ast/mod.rs:466:12 [INFO] [stdout] | [INFO] [stdout] 423 | expr: pt::BinaryExpression, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 428 | lhs, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 429 | rhs, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | let lhs = Box::new(self.translate_expression(*lhs)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 438 | let rhs = Box::new(self.translate_expression(*rhs)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 466 | Ok(match op { [INFO] [stdout] | ____________^ [INFO] [stdout] 467 | | LogicalOrBinary::Binary(op) => ast::Expression::Binary(ast::BinaryExpression { [INFO] [stdout] 468 | | operator: op, [INFO] [stdout] 469 | | operator_span, [INFO] [stdout] ... | [INFO] [stdout] 480 | | } [INFO] [stdout] 481 | | }) [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: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (lib) due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> compiler/src/ast_eval/mod.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(context: &'c CompilationContext, stdout: W) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | functions: Vec::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] = 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] --> compiler/src/ast_eval/mod.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(context: &'c CompilationContext, stdout: W) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | env: Environment::new(context), [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] --> compiler/src/ast_eval/env.rs:26:66 [INFO] [stdout] | [INFO] [stdout] 26 | top_scope: self.top_scope.as_ref().map(|ts| Arc::new(ts.collapse())), [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] --> compiler/src/ast_eval/env.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 148 | fn with_parent(parent: Arc) -> Arc { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | Arc::new(LocalScope { [INFO] [stdout] | __________________^ [INFO] [stdout] 150 | | parent: Some(parent), [INFO] [stdout] 151 | | values: Mutex::new(HashMap::default()), [INFO] [stdout] 152 | | }) [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] --> compiler/src/parser/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 74 | let mut declarations = Vec::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(pt::Program { declarations }) [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] --> compiler/src/parser/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 114 | let init = if front_st.token == Token::Equal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | let equal_span = self.expect(Token::Equal)?; [INFO] [stdout] 116 | let expression = self.parse_expression()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | Ok(pt::VarDeclaration { [INFO] [stdout] | ____________^ [INFO] [stdout] 127 | | var_keyword_span, [INFO] [stdout] 128 | | identifier, [INFO] [stdout] 129 | | init, [INFO] [stdout] 130 | | semicolon_span, [INFO] [stdout] 131 | | }) [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] --> compiler/src/parser/mod.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 141 | let body = self.parse_block_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | [INFO] [stdout] 143 | Ok(pt::FunctionDeclaration { [INFO] [stdout] | ____________^ [INFO] [stdout] 144 | | fun_keyword_span, [INFO] [stdout] 145 | | function_name, [INFO] [stdout] 146 | | parameters, [INFO] [stdout] ... | [INFO] [stdout] 149 | | body: Box::new(body), [INFO] [stdout] 150 | | }) [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] --> compiler/src/parser/mod.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 223 | let condition = self.parse_expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | let right_paren_span = self.expect(Token::RightParenthesis)?; [INFO] [stdout] 225 | let body = self.parse_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | let else_statement = if front_st.token == Token::ElseKeyword { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let else_keyword_span = self.expect(Token::ElseKeyword)?; [INFO] [stdout] 230 | let body = self.parse_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | Ok(pt::IfStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 240 | | condition: Box::new(condition), [INFO] [stdout] 241 | | if_keyword_span, [INFO] [stdout] 242 | | left_paren_span, [INFO] [stdout] ... | [INFO] [stdout] 245 | | else_statement, [INFO] [stdout] 246 | | }) [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] | |_________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] --> compiler/src/parser/mod.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 252 | let condition = self.parse_expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let right_paren_span = self.expect(Token::RightParenthesis)?; [INFO] [stdout] 254 | let body = self.parse_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | [INFO] [stdout] 256 | Ok(pt::WhileStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 257 | | condition: Box::new(condition), [INFO] [stdout] 258 | | while_keyword_span, [INFO] [stdout] 259 | | left_paren_span, [INFO] [stdout] 260 | | right_paren_span, [INFO] [stdout] 261 | | body: Box::new(body), [INFO] [stdout] 262 | | }) [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] --> compiler/src/parser/mod.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 270 | let init = match front_st.token { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | let condition = self.parse_expression_or_empty_statement()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | [INFO] [stdout] 280 | let step = if !self.front_matches(Token::RightParenthesis)? { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | let body = self.parse_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | [INFO] [stdout] 289 | Ok(pt::ForStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 290 | | init: Box::new(init), [INFO] [stdout] 291 | | condition: Box::new(condition), [INFO] [stdout] 292 | | step: step.map(Box::new), [INFO] [stdout] ... | [INFO] [stdout] 296 | | body: Box::new(body), [INFO] [stdout] 297 | | }) [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] | | 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] | |_________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] --> compiler/src/parser/mod.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 303 | let mut declarations = Vec::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 314 | Ok(pt::BlockStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 315 | | declarations, [INFO] [stdout] 316 | | left_bracket_span, [INFO] [stdout] 317 | | right_bracket_span, [INFO] [stdout] 318 | | }) [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] --> compiler/src/parser/mod.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 323 | let expression = self.parse_expression()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let semicolon_span = self.expect(Token::SemiColon)?; [INFO] [stdout] 325 | Ok(pt::PrintStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 326 | | expression: Box::new(expression), [INFO] [stdout] 327 | | print_keyword_span, [INFO] [stdout] 328 | | semicolon_span, [INFO] [stdout] 329 | | }) [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] --> compiler/src/parser/mod.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 334 | let expr = if !self.front_matches(Token::SemiColon)? { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | Ok(pt::ReturnStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 341 | | expression: expr.map(Box::new), [INFO] [stdout] 342 | | return_keyword_span, [INFO] [stdout] 343 | | semicolon_span, [INFO] [stdout] 344 | | }) [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] --> compiler/src/parser/mod.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 362 | let expression = self.parse_expression()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 363 | let semicolon_span = self.expect(Token::SemiColon)?; [INFO] [stdout] 364 | Ok(pt::ExpressionStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 365 | | expression: Some(Box::new(expression)), [INFO] [stdout] 366 | | semicolon_span, [INFO] [stdout] 367 | | }) [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] --> compiler/src/parser/mod.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 496 | let sub = self.parse_expression()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 499 | Ok(pt::Expression::Parenthesis(pt::ParenthesisExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 500 | | left_paren_span: left_span, [INFO] [stdout] 501 | | right_paren_span: right_span, [INFO] [stdout] 502 | | sub: Box::new(sub), [INFO] [stdout] 503 | | })) [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] --> compiler/src/pt2ast/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn translate_program(&mut self, prog: pt::Program) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | self.scopes.begin_scope(); [INFO] [stdout] 29 | let statements: Result, _> = prog [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let statements = statements?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | Ok(ast::Program { statements }) [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] --> compiler/src/pt2ast/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 54 | var_decl: pt::VarDeclaration, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | ) -> Result { [INFO] [stdout] 56 | let (init_expression, equal_span) = if self.scopes.is_at_global_scope() { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | if let Some(init) = var_decl.init { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let expr = ast::Expression::Literal(tc::LiteralExpression { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let (init_expression, equal_span) = if let Some(init) = var_decl.init { [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] ... [INFO] [stdout] 91 | let expr = ast::Expression::Literal(tc::LiteralExpression { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(ast::Statement::VarDeclaration { [INFO] [stdout] | ____________^ [INFO] [stdout] 115 | | var_keyword_span: var_decl.var_keyword_span, [INFO] [stdout] 116 | | identifier: var_decl.identifier, [INFO] [stdout] 117 | | init_expression: Box::new(init_expression), [INFO] [stdout] 118 | | equal_span, [INFO] [stdout] 119 | | semicolon_span: var_decl.semicolon_span, [INFO] [stdout] 120 | | }) [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] --> compiler/src/pt2ast/mod.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 125 | decl: pt::FunctionDeclaration, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let body = self.translate_block_statement(*decl.body, true, false)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | Ok(ast::Statement::FunctionDeclaration { [INFO] [stdout] | ____________^ [INFO] [stdout] 140 | | fun_keyword_span: decl.fun_keyword_span, [INFO] [stdout] 141 | | function_name: decl.function_name, [INFO] [stdout] 142 | | parameters: decl.parameters, [INFO] [stdout] ... | [INFO] [stdout] 145 | | body: Box::new(body), [INFO] [stdout] 146 | | }) [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] --> compiler/src/pt2ast/mod.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 197 | statement: pt::PrintStatement, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | ) -> Result { [INFO] [stdout] 199 | let expr = self.translate_expression(*statement.expression)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | Ok(ast::Statement::Print { [INFO] [stdout] | ____________^ [INFO] [stdout] 201 | | expression: Box::new(expr), [INFO] [stdout] 202 | | print_keyword_span: statement.print_keyword_span, [INFO] [stdout] 203 | | semicolon_span: statement.semicolon_span, [INFO] [stdout] 204 | | }) [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] --> compiler/src/pt2ast/mod.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 209 | statement: pt::ReturnStatement, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let expr = statement [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | Ok(ast::Statement::Return { [INFO] [stdout] | ____________^ [INFO] [stdout] 224 | | expression: expr.map(Box::new), [INFO] [stdout] 225 | | return_keyword_span: statement.return_keyword_span, [INFO] [stdout] 226 | | semicolon_span: statement.semicolon_span, [INFO] [stdout] 227 | | }) [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] --> compiler/src/pt2ast/mod.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 232 | statement: pt::ExpressionStatement, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | ) -> Result { [INFO] [stdout] 234 | let expression = statement [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | Ok(ast::Statement::Expression { [INFO] [stdout] | ____________^ [INFO] [stdout] 239 | | expression, [INFO] [stdout] 240 | | semicolon_span: statement.semicolon_span, [INFO] [stdout] 241 | | }) [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] --> compiler/src/pt2ast/mod.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | .map(|expr| self.translate_expression(*expr).map(Box::new)) [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] --> compiler/src/pt2ast/mod.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 246 | statement: pt::IfStatement, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | let condition = self.translate_expression(*statement.condition)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | let true_body = self.translate_statement(*statement.body, in_function)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | [INFO] [stdout] 252 | let (false_body, else_keyword_span) = if let Some(else_part) = statement.else_statement { [INFO] [stdout] | ---------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let body = self.translate_statement(*else_part.body, in_function)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | let empty_body = ast::Statement::Block { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok(ast::Statement::If { [INFO] [stdout] | ____________^ [INFO] [stdout] 265 | | condition: Box::new(condition), [INFO] [stdout] 266 | | if_keyword_span: statement.if_keyword_span, [INFO] [stdout] 267 | | left_paren_span: statement.left_paren_span, [INFO] [stdout] ... | [INFO] [stdout] 271 | | false_body: Box::new(false_body), [INFO] [stdout] 272 | | }) [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] | |_________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] --> compiler/src/pt2ast/mod.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 277 | statement: pt::WhileStatement, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | let condition = self.translate_expression(*statement.condition)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | let body = self.translate_statement(*statement.body, in_function)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | [INFO] [stdout] 283 | Ok(ast::Statement::While { [INFO] [stdout] | ____________^ [INFO] [stdout] 284 | | condition: Box::new(condition), [INFO] [stdout] 285 | | while_keyword_span: statement.while_keyword_span, [INFO] [stdout] 286 | | left_paren_span: statement.left_paren_span, [INFO] [stdout] 287 | | right_paren_span: statement.right_paren_span, [INFO] [stdout] 288 | | body: Box::new(body), [INFO] [stdout] 289 | | }) [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] --> compiler/src/pt2ast/mod.rs:466:12 [INFO] [stdout] | [INFO] [stdout] 423 | expr: pt::BinaryExpression, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 428 | lhs, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 429 | rhs, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | let lhs = Box::new(self.translate_expression(*lhs)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 438 | let rhs = Box::new(self.translate_expression(*rhs)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 466 | Ok(match op { [INFO] [stdout] | ____________^ [INFO] [stdout] 467 | | LogicalOrBinary::Binary(op) => ast::Expression::Binary(ast::BinaryExpression { [INFO] [stdout] 468 | | operator: op, [INFO] [stdout] 469 | | operator_span, [INFO] [stdout] ... | [INFO] [stdout] 480 | | } [INFO] [stdout] 481 | | }) [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: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "89b846e72cd0b6d69e450c6c1379fad48dad7a58162892a56a46fe997eca6b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b846e72cd0b6d69e450c6c1379fad48dad7a58162892a56a46fe997eca6b38", kill_on_drop: false }` [INFO] [stdout] 89b846e72cd0b6d69e450c6c1379fad48dad7a58162892a56a46fe997eca6b38