[INFO] fetching crate rual-core 0.0.4... [INFO] checking rual-core-0.0.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rual-core 0.0.4 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rual-core 0.0.4 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rual-core 0.0.4 [INFO] finished tweaking crates.io crate rual-core 0.0.4 [INFO] tweaked toml for crates.io crate rual-core 0.0.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a86b2e8b9fd2eef223717e6d456191d857712650994f66b6de89b7b75577bd74 [INFO] running `Command { std: "docker" "start" "-a" "a86b2e8b9fd2eef223717e6d456191d857712650994f66b6de89b7b75577bd74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a86b2e8b9fd2eef223717e6d456191d857712650994f66b6de89b7b75577bd74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a86b2e8b9fd2eef223717e6d456191d857712650994f66b6de89b7b75577bd74", kill_on_drop: false }` [INFO] [stdout] a86b2e8b9fd2eef223717e6d456191d857712650994f66b6de89b7b75577bd74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 421f4c7c2a25a9f334ccdea900a066a3515d7e2d918855ebe6d76b0c78ceb07b [INFO] running `Command { std: "docker" "start" "-a" "421f4c7c2a25a9f334ccdea900a066a3515d7e2d918855ebe6d76b0c78ceb07b", kill_on_drop: false }` [INFO] [stderr] Checking rual-core v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Punct` [INFO] [stdout] --> src/lexing/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::syntax::{Keyword, Punct, Token, TokenType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `Value`, `lexing::Lexer`, `parsing::Parser`, and `syntax::Punct` [INFO] [stdout] --> src/vm/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | expressions::{Expr, Value}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 3 | lexing::Lexer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | parsing::Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | syntax::Punct, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/vm/mod.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `Value`, `lexing::Lexer`, `parsing::Parser`, and `syntax::Punct` [INFO] [stdout] --> src/vm/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | expressions::{Expr, Value}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 3 | lexing::Lexer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | parsing::Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | syntax::Punct, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/vm/mod.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | _ => unimplemented!("{:?}", &instr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/vm/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 147 | Instruction::Ret => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 157 | Instruction::Jump => match self.stack.pop() { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 161 | Instruction::Push(v) => self.stack.push(v.clone()), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 162 | Instruction::PushLocal(ref ident) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 208 | _ => unimplemented!("{:?}", &instr), [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unit` is never constructed [INFO] [stdout] --> src/vm/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) enum RlValue { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 20 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RlValue` has derived impls for the traits `Debug` and `Clone`, 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: associated functions `new`, `init`, and `empty` are never used [INFO] [stdout] --> src/vm/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'t> Scope<'t> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 66 | pub fn new(parent: &'t Scope) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn init(parent: Option<&'t Scope>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_num`, `lookup_str`, and `lookup_list` are never used [INFO] [stdout] --> src/vm/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl<'l> VM<'l> { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn lookup_num(&self, ident: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn lookup_str(&self, ident: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn lookup_list(&self, ident: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 94 | let val = if let Some(expr) = self.parse()? { [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] 100 | Ok(Some(Expr::Declaration { name, val })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 106 | let mut q = Vec::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | Ok(Some(flatten!(rpn of q))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:165:39 [INFO] [stdout] | [INFO] [stdout] 165 | s.iter().for_each(|&p| q.push(Expr::Op(p))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 193 | let from = Box::new(self.parse()?.unwrap()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | let to = Box::new(self.parse()?.unwrap()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | Ok(Some(Expr::Range { from, to })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 245 | let body = Box::new(self.parse_while(|s| match s.peek_next() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | Ok(Some(Expr::FunctionDeclaration { name, params, body })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / if $exprs.len() == 1 { [INFO] [stdout] 22 | | $exprs.pop().unwrap() [INFO] [stdout] 23 | | } else { [INFO] [stdout] 24 | | $ctor($exprs) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn parse_while(&mut self, pred: impl Fn(&Self) -> bool) -> Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | Ok(flatten!(multiple exprs)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `flatten` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rual-core` (lib) due to 7 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | _ => unimplemented!("{:?}", &instr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/vm/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 147 | Instruction::Ret => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 157 | Instruction::Jump => match self.stack.pop() { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 161 | Instruction::Push(v) => self.stack.push(v.clone()), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 162 | Instruction::PushLocal(ref ident) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 208 | _ => unimplemented!("{:?}", &instr), [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unit` is never constructed [INFO] [stdout] --> src/vm/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) enum RlValue { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 20 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RlValue` has derived impls for the traits `Debug` and `Clone`, 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: associated functions `new`, `init`, and `empty` are never used [INFO] [stdout] --> src/vm/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'t> Scope<'t> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 66 | pub fn new(parent: &'t Scope) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn init(parent: Option<&'t Scope>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 94 | let val = if let Some(expr) = self.parse()? { [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] 100 | Ok(Some(Expr::Declaration { name, val })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 106 | let mut q = Vec::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | Ok(Some(flatten!(rpn of q))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:165:39 [INFO] [stdout] | [INFO] [stdout] 165 | s.iter().for_each(|&p| q.push(Expr::Op(p))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 193 | let from = Box::new(self.parse()?.unwrap()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | let to = Box::new(self.parse()?.unwrap()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | Ok(Some(Expr::Range { from, to })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 245 | let body = Box::new(self.parse_while(|s| match s.peek_next() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | Ok(Some(Expr::FunctionDeclaration { name, params, body })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / if $exprs.len() == 1 { [INFO] [stdout] 22 | | $exprs.pop().unwrap() [INFO] [stdout] 23 | | } else { [INFO] [stdout] 24 | | $ctor($exprs) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn parse_while(&mut self, pred: impl Fn(&Self) -> bool) -> Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | Ok(flatten!(multiple exprs)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `flatten` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/tests.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 133 | let expr = parse( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | / Expr::FunctionDeclaration { [INFO] [stdout] 145 | | name: (1, 9), [INFO] [stdout] 146 | | params: vec![(11, 12), (14, 15), (17, 18)], [INFO] [stdout] 147 | | body: Box::new(Expr::Multiple(vec![ [INFO] [stdout] ... | [INFO] [stdout] 161 | | ])) [INFO] [stdout] 162 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/tests.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 169 | let expr = parse( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | / Expr::FunctionCall { [INFO] [stdout] 178 | | name: (1, 9), [INFO] [stdout] 179 | | args: vec![ [INFO] [stdout] 180 | | Expr::Rpn(vec![ [INFO] [stdout] ... | [INFO] [stdout] 193 | | ] [INFO] [stdout] 194 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/tests.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 201 | let expr = parse( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | / Expr::Declaration { [INFO] [stdout] 210 | | name: (5, 8), [INFO] [stdout] 211 | | val: Box::new(Expr::FunctionCall { [INFO] [stdout] 212 | | name: (11, 14), [INFO] [stdout] ... | [INFO] [stdout] 234 | | }) [INFO] [stdout] 235 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/tests.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 242 | let expr = parse( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | / Expr::FunctionDeclaration { [INFO] [stdout] 253 | | name: (1, 9), [INFO] [stdout] 254 | | params: vec![], [INFO] [stdout] 255 | | body: Box::new(Expr::Rpn(vec![ [INFO] [stdout] ... | [INFO] [stdout] 259 | | ])) [INFO] [stdout] 260 | | }, [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 10 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rual-core` (lib test) due to 11 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "421f4c7c2a25a9f334ccdea900a066a3515d7e2d918855ebe6d76b0c78ceb07b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421f4c7c2a25a9f334ccdea900a066a3515d7e2d918855ebe6d76b0c78ceb07b", kill_on_drop: false }` [INFO] [stdout] 421f4c7c2a25a9f334ccdea900a066a3515d7e2d918855ebe6d76b0c78ceb07b