[INFO] fetching crate oak 0.8.0... [INFO] checking oak-0.8.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate oak 0.8.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate oak 0.8.0 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 oak 0.8.0 [INFO] finished tweaking crates.io crate oak 0.8.0 [INFO] tweaked toml for crates.io crate oak 0.8.0 written to /workspace/builds/worker-3-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] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding blake2b_simd v0.5.11 (latest: v1.0.2) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.1) [INFO] [stderr] Adding dirs v1.0.5 (latest: v5.0.1) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding partial v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.3) [INFO] [stderr] Adding redox_users v0.3.5 (latest: v0.4.6) [INFO] [stderr] Adding rust-argon2 v0.8.3 (latest: v2.1.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding syntex_pos v0.58.1 (latest: v0.59.1) [INFO] [stderr] Adding term v0.5.2 (latest: v1.0.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `oak` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32ab376c85af2625eb54a690527910b8c57fede08877c9003b7c7319b5f60ce5 [INFO] running `Command { std: "docker" "start" "-a" "32ab376c85af2625eb54a690527910b8c57fede08877c9003b7c7319b5f60ce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32ab376c85af2625eb54a690527910b8c57fede08877c9003b7c7319b5f60ce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32ab376c85af2625eb54a690527910b8c57fede08877c9003b7c7319b5f60ce5", kill_on_drop: false }` [INFO] [stdout] 32ab376c85af2625eb54a690527910b8c57fede08877c9003b7c7319b5f60ce5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52d11a309e250a09e86cb0239034fe917202b71f03245b745a675debd49fa31e [INFO] running `Command { std: "docker" "start" "-a" "52d11a309e250a09e86cb0239034fe917202b71f03245b745a675debd49fa31e", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `oak` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking partial v0.2.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syntex_pos v0.58.1 [INFO] [stderr] Checking oak_runtime v0.6.0 [INFO] [stderr] Checking oak v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/liboak/middle/analysis/duplicate.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> src/liboak/back/compiler/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/liboak/middle/analysis/duplicate.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> src/liboak/back/compiler/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use quote::quote; [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/liboak/lib.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn oak(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let ast = parse_macro_input!(input as front::ast::FGrammar); [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] 38 | // println!("parsing successful!"); [INFO] [stdout] 39 | let tast = middle::typecheck(ast); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | // println!("typing successful!"); [INFO] [stdout] 41 | proc_macro::TokenStream::from(back::compile(tast)) [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] --> src/liboak/ast.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(start_span: Span, exprs: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | exprs_info: Vec) -> Grammar [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | rust_functions: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/ast.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | .find(|r| r.ident().to_string() == id.to_string()) [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/liboak/middle/mod.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn typecheck(fgrammar: FGrammar) -> TGrammar { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | / Partial::Value(fgrammar) [INFO] [stdout] 30 | | .and_then(|grammar| at_least_one_rule_declared(grammar)) [INFO] [stdout] 31 | | .and_then(|grammar| analysis::analyse(grammar)) [INFO] [stdout] 32 | | .ensure("aborting due to previous error (analysis phase).") [INFO] [stdout] 33 | | .and_then(|grammar| extract_stream_type(grammar)) [INFO] [stdout] 34 | | .and_then(|grammar| typing::type_inference(grammar)) [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/liboak/middle/analysis/mod.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn analyse(fgrammar: FGrammar) -> Partial { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let grammar = AGrammar::new(fgrammar.start_span, fgrammar.exprs, fgrammar.exprs_info); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let frust_items = fgrammar.rust_items; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let fattributes = fgrammar.attributes; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | / rule_duplicate(grammar, fgrammar.rules) [INFO] [stdout] 37 | | .and_then(|grammar| rust_functions_duplicate(grammar, frust_items)) [INFO] [stdout] 38 | | .and_then(|grammar| ResolveNonTerminal::resolve(grammar)) [INFO] [stdout] 39 | | .and_then(|grammar| WellFormedness::analyse(grammar)) [INFO] [stdout] 40 | | .and_then(|grammar| UselessChaining::analyse(grammar)) [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/liboak/middle/analysis/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn analyse(fgrammar: FGrammar) -> Partial { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let grammar = AGrammar::new(fgrammar.start_span, fgrammar.exprs, fgrammar.exprs_info); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let frust_items = fgrammar.rust_items; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let fattributes = fgrammar.attributes; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | .and_then(|grammar| decorate_with_attributes(grammar, fattributes)) [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/liboak/middle/analysis/duplicate.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn rule_duplicate(mut grammar: AGrammar, rules: Vec) -> Partial [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] 21 | { [INFO] [stdout] 22 | DuplicateItem::analyse(rules.into_iter(), String::from("rule")) [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/liboak/middle/analysis/duplicate.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn rule_duplicate(mut grammar: AGrammar, rules: Vec) -> Partial [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] 23 | .map(move |rules| { [INFO] [stdout] | ________^ [INFO] [stdout] 24 | | grammar.rules = rules.into_iter().map(|x| x.1).collect(); [INFO] [stdout] 25 | | grammar [INFO] [stdout] 26 | | }) [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/liboak/middle/analysis/duplicate.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rust_functions_duplicate(mut grammar: AGrammar, items: Vec) -> Partial [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] 30 | { [INFO] [stdout] 31 | let mut functions = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let mut others = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | DuplicateItem::analyse(functions.into_iter(), String::from("rust function")) [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/liboak/middle/analysis/duplicate.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rust_functions_duplicate(mut grammar: AGrammar, items: Vec) -> Partial [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] 30 | { [INFO] [stdout] 31 | let mut functions = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let mut others = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | .map(move |functions| { [INFO] [stdout] | __________^ [INFO] [stdout] 43 | | grammar.rust_functions = functions.into_iter().collect(); [INFO] [stdout] 44 | | grammar.rust_items = others; [INFO] [stdout] 45 | | grammar [INFO] [stdout] 46 | | }) [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/liboak/middle/analysis/duplicate.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn analyse(iter: ItemIter, item_kind: String) [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | / DuplicateItem { [INFO] [stdout] 64 | | items: vec![], [INFO] [stdout] 65 | | has_duplicate: false, [INFO] [stdout] 66 | | what_is_duplicated: item_kind [INFO] [stdout] 67 | | }.populate(iter) [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/liboak/middle/analysis/resolve_non_terminal.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | .any(|r| r.ident() == ident.to_string()); [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/liboak/middle/analysis/well_formedness.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | .map(|rule| (rule.ident(), WFA::default())) [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/liboak/middle/typing/ast.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn to_polymorphic_path(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | RecSet { [INFO] [stdout] 254 | path_set: self.path_set.into_iter() [INFO] [stdout] | _________________^ [INFO] [stdout] 255 | | .map(|path| path.to_polymorphic_path()) [INFO] [stdout] 256 | | .collect() [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/liboak/middle/typing/ast.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn keep_only_polymorphic_paths(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | RecSet { [INFO] [stdout] 262 | path_set: self.path_set.into_iter() [INFO] [stdout] | _________________^ [INFO] [stdout] 263 | | .filter(|path| path.kind == RecKind::Poly) [INFO] [stdout] 264 | | .collect() [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/liboak/middle/typing/ast.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn rec(kind: RecKind, rec_path: Vec) -> IType { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | let path = RecPath::new(kind, rec_path); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | Rec(RecSet::new(path)) [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/liboak/middle/typing/surface.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 193 | let tys = walk_exprs(self, children.clone()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | match TypeRewriting::reduce_sum(&self.grammar, tys.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/middle/typing/depth.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(grammar: IGrammar) -> Depth { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Depth { [INFO] [stdout] 57 | surface: Surface::new(grammar), [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/liboak/middle/typing/depth.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(grammar: IGrammar) -> Depth { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | under_ty_ascription: None [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/liboak/middle/typing/type_rewriting.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 73 | fn reduce_regular(grammar: &IGrammar, ty: Type) -> IType { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | match ty.clone() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/middle/typing/type_rewriting.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | .filter(|idx| grammar.type_of(*idx) != Invisible) [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/liboak/middle/typing/type_rewriting.rs:151:46 [INFO] [stdout] | [INFO] [stdout] 151 | .filter(|idx| grammar.type_of(*idx) != Invisible) [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/liboak/middle/typing/type_rewriting.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | .filter(|idx| grammar.type_of(*idx) != Regular(Unit)) [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/liboak/middle/typing/type_rewriting.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | .filter(|idx| grammar.type_of(*idx) != Regular(Unit)) [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/liboak/middle/typing/type_rewriting.rs:205:48 [INFO] [stdout] | [INFO] [stdout] 205 | else if non_rec_tys.iter().all(|ty| ty == &Invisible || ty == &Regular(Unit)) { [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/liboak/middle/typing/type_rewriting.rs:205:68 [INFO] [stdout] | [INFO] [stdout] 205 | else if non_rec_tys.iter().all(|ty| ty == &Invisible || ty == &Regular(Unit)) { [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/liboak/back/context.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 103 | success: syn::Expr, failure: syn::Expr) -> syn::Expr [INFO] [stdout] | ------------------ ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | { [INFO] [stdout] 105 | let compiler = compiler(&self.grammar, idx); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | compiler.compile_expr(self, Continuation::new(success, failure)) [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/liboak/back/context.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | let stream_ty = self.grammar.stream_type(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | / vec![self.state_param(true)] [INFO] [stdout] 170 | | .into_iter() [INFO] [stdout] 171 | | .chain(self.mut_ref_free_variables [INFO] [stdout] 172 | | .iter().cloned() [INFO] [stdout] ... | [INFO] [stdout] 178 | | .iter() [INFO] [stdout] 179 | | .map(|var| parse_quote!(#var: #stream_ty))) [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/liboak/back/continuation.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 44 | compiler: ExprCompilerFn, idx: usize, before_success: syn::Stmt) -> syn::Expr [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | { [INFO] [stdout] 46 | let success = self.success.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let s: syn::Expr = parse_quote!({#before_success #success}); [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] 50 | self.failure.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/back/compiler/grammar.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | .flat_map(|rule| RuleCompiler::compile(&self.grammar, rule.clone()).into_iter()) [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/liboak/back/compiler/rule.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 42 | let mut context = Context::new(self.grammar); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let success = parse_quote!(state.success(())); [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] 44 | let failure = parse_quote!(state.failure()); [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] 45 | [INFO] [stdout] 46 | let body = context.compile(recognizer_compiler, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | context.into_recognizer_function(body, self.rule.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/back/compiler/str_literal.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | / continuation [INFO] [stdout] 42 | | .map_success(|success, failure| parse_quote!( [INFO] [stdout] 43 | | if state.consume_prefix(#lit) { [INFO] [stdout] 44 | | #success [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | )) [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/liboak/back/compiler/sequence.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | { [INFO] [stdout] 45 | / self.seq.clone().into_iter() [INFO] [stdout] 46 | | .rev() [INFO] [stdout] 47 | | .fold(continuation, |continuation, idx| [INFO] [stdout] 48 | | continuation.compile_success(context, self.compiler, idx)) [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/liboak/back/compiler/any_single_char.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 51 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | { [INFO] [stdout] 53 | let pattern = (self.matched_pattern)(context); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | / continuation [INFO] [stdout] 55 | | .map_success(|success, failure| parse_quote!( [INFO] [stdout] 56 | | match state.next() { [INFO] [stdout] 57 | | Some(#pattern) => { [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | )) [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/liboak/back/compiler/repeat.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 43 | continuation: Continuation, body: syn::Expr) -> syn::Expr [INFO] [stdout] | -------------------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | { [INFO] [stdout] 45 | let mark = context.next_mark_name(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | / continuation.map_success(|success, failure| [INFO] [stdout] 47 | | if self.cardinality_min > 0 { [INFO] [stdout] 48 | | let counter = context.next_counter_name(); [INFO] [stdout] 49 | | let cardinality_min = self.cardinality_min; [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | ) [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/liboak/back/compiler/optional.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 40 | continuation: Continuation, body: syn::Expr) -> syn::Expr [INFO] [stdout] | -------------------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | { [INFO] [stdout] 42 | let mark = context.next_mark_name(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | / continuation [INFO] [stdout] 44 | | .map_success(|success, _| [INFO] [stdout] 45 | | parse_quote!({ [INFO] [stdout] 46 | | let #mark = state.mark(); [INFO] [stdout] ... | [INFO] [stdout] 52 | | }) [INFO] [stdout] 53 | | ) [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/liboak/back/compiler/character_class.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 61 | fn compile_condition(&self, x: Ident) -> syn::Expr { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | self.compile_interval(first_interval, x.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/back/compiler/character_class.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | .map(|char_interval| self.compile_interval(char_interval, x.clone())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/back/compiler/character_class.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 77 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let var = (self.bounded_var)(context); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | let condition = self.compile_condition(var.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let mark = context.next_mark_name(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | / continuation [INFO] [stdout] 86 | | .map_success(|success, failure| parse_quote!({ [INFO] [stdout] 87 | | let #mark = state.mark(); [INFO] [stdout] 88 | | match state.next() { [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | })) [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/liboak/back/compiler/non_terminal.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | { [INFO] [stdout] 55 | let recognizer_fn = recognizer_name(self.path.clone()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | / continuation [INFO] [stdout] 57 | | .map_success(|success, failure| parse_quote!( [INFO] [stdout] 58 | | { [INFO] [stdout] 59 | | state = #recognizer_fn(state); [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | )) [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/liboak/back/compiler/non_terminal.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 82 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | { [INFO] [stdout] 84 | let parser_fn = parser_name(self.path.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let cardinality = context.expr_cardinality(self.this_idx); [INFO] [stdout] 86 | let mut vars_names: Vec<_> = (0..cardinality) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let vars = tuple_pattern(vars_names); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | / continuation [INFO] [stdout] 94 | | .map_success(|success, failure| parse_quote!( [INFO] [stdout] 95 | | { [INFO] [stdout] 96 | | let stateful = #parser_fn(state); [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | )) [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 41 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oak` (lib) due to 42 previous errors; 2 warnings emitted [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] --> src/liboak/lib.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn oak(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let ast = parse_macro_input!(input as front::ast::FGrammar); [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] 38 | // println!("parsing successful!"); [INFO] [stdout] 39 | let tast = middle::typecheck(ast); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | // println!("typing successful!"); [INFO] [stdout] 41 | proc_macro::TokenStream::from(back::compile(tast)) [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] --> src/liboak/ast.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(start_span: Span, exprs: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | exprs_info: Vec) -> Grammar [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | rust_functions: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/ast.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | .find(|r| r.ident().to_string() == id.to_string()) [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/liboak/middle/mod.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn typecheck(fgrammar: FGrammar) -> TGrammar { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | / Partial::Value(fgrammar) [INFO] [stdout] 30 | | .and_then(|grammar| at_least_one_rule_declared(grammar)) [INFO] [stdout] 31 | | .and_then(|grammar| analysis::analyse(grammar)) [INFO] [stdout] 32 | | .ensure("aborting due to previous error (analysis phase).") [INFO] [stdout] 33 | | .and_then(|grammar| extract_stream_type(grammar)) [INFO] [stdout] 34 | | .and_then(|grammar| typing::type_inference(grammar)) [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/liboak/middle/analysis/mod.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn analyse(fgrammar: FGrammar) -> Partial { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let grammar = AGrammar::new(fgrammar.start_span, fgrammar.exprs, fgrammar.exprs_info); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let frust_items = fgrammar.rust_items; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let fattributes = fgrammar.attributes; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | / rule_duplicate(grammar, fgrammar.rules) [INFO] [stdout] 37 | | .and_then(|grammar| rust_functions_duplicate(grammar, frust_items)) [INFO] [stdout] 38 | | .and_then(|grammar| ResolveNonTerminal::resolve(grammar)) [INFO] [stdout] 39 | | .and_then(|grammar| WellFormedness::analyse(grammar)) [INFO] [stdout] 40 | | .and_then(|grammar| UselessChaining::analyse(grammar)) [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/liboak/middle/analysis/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn analyse(fgrammar: FGrammar) -> Partial { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let grammar = AGrammar::new(fgrammar.start_span, fgrammar.exprs, fgrammar.exprs_info); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let frust_items = fgrammar.rust_items; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let fattributes = fgrammar.attributes; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | .and_then(|grammar| decorate_with_attributes(grammar, fattributes)) [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/liboak/middle/analysis/duplicate.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn rule_duplicate(mut grammar: AGrammar, rules: Vec) -> Partial [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] 21 | { [INFO] [stdout] 22 | DuplicateItem::analyse(rules.into_iter(), String::from("rule")) [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/liboak/middle/analysis/duplicate.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn rule_duplicate(mut grammar: AGrammar, rules: Vec) -> Partial [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] 23 | .map(move |rules| { [INFO] [stdout] | ________^ [INFO] [stdout] 24 | | grammar.rules = rules.into_iter().map(|x| x.1).collect(); [INFO] [stdout] 25 | | grammar [INFO] [stdout] 26 | | }) [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/liboak/middle/analysis/duplicate.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rust_functions_duplicate(mut grammar: AGrammar, items: Vec) -> Partial [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] 30 | { [INFO] [stdout] 31 | let mut functions = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let mut others = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | DuplicateItem::analyse(functions.into_iter(), String::from("rust function")) [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/liboak/middle/analysis/duplicate.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rust_functions_duplicate(mut grammar: AGrammar, items: Vec) -> Partial [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] 30 | { [INFO] [stdout] 31 | let mut functions = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let mut others = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | .map(move |functions| { [INFO] [stdout] | __________^ [INFO] [stdout] 43 | | grammar.rust_functions = functions.into_iter().collect(); [INFO] [stdout] 44 | | grammar.rust_items = others; [INFO] [stdout] 45 | | grammar [INFO] [stdout] 46 | | }) [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/liboak/middle/analysis/duplicate.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn analyse(iter: ItemIter, item_kind: String) [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | / DuplicateItem { [INFO] [stdout] 64 | | items: vec![], [INFO] [stdout] 65 | | has_duplicate: false, [INFO] [stdout] 66 | | what_is_duplicated: item_kind [INFO] [stdout] 67 | | }.populate(iter) [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/liboak/middle/analysis/resolve_non_terminal.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | .any(|r| r.ident() == ident.to_string()); [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/liboak/middle/analysis/well_formedness.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | .map(|rule| (rule.ident(), WFA::default())) [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/liboak/middle/typing/ast.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn to_polymorphic_path(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | RecSet { [INFO] [stdout] 254 | path_set: self.path_set.into_iter() [INFO] [stdout] | _________________^ [INFO] [stdout] 255 | | .map(|path| path.to_polymorphic_path()) [INFO] [stdout] 256 | | .collect() [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/liboak/middle/typing/ast.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn keep_only_polymorphic_paths(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | RecSet { [INFO] [stdout] 262 | path_set: self.path_set.into_iter() [INFO] [stdout] | _________________^ [INFO] [stdout] 263 | | .filter(|path| path.kind == RecKind::Poly) [INFO] [stdout] 264 | | .collect() [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/liboak/middle/typing/ast.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn rec(kind: RecKind, rec_path: Vec) -> IType { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | let path = RecPath::new(kind, rec_path); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | Rec(RecSet::new(path)) [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/liboak/middle/typing/surface.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 193 | let tys = walk_exprs(self, children.clone()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | match TypeRewriting::reduce_sum(&self.grammar, tys.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/middle/typing/depth.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(grammar: IGrammar) -> Depth { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Depth { [INFO] [stdout] 57 | surface: Surface::new(grammar), [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/liboak/middle/typing/depth.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(grammar: IGrammar) -> Depth { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | under_ty_ascription: None [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/liboak/middle/typing/type_rewriting.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 73 | fn reduce_regular(grammar: &IGrammar, ty: Type) -> IType { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | match ty.clone() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/middle/typing/type_rewriting.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | .filter(|idx| grammar.type_of(*idx) != Invisible) [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/liboak/middle/typing/type_rewriting.rs:151:46 [INFO] [stdout] | [INFO] [stdout] 151 | .filter(|idx| grammar.type_of(*idx) != Invisible) [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/liboak/middle/typing/type_rewriting.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | .filter(|idx| grammar.type_of(*idx) != Regular(Unit)) [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/liboak/middle/typing/type_rewriting.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | .filter(|idx| grammar.type_of(*idx) != Regular(Unit)) [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/liboak/middle/typing/type_rewriting.rs:205:48 [INFO] [stdout] | [INFO] [stdout] 205 | else if non_rec_tys.iter().all(|ty| ty == &Invisible || ty == &Regular(Unit)) { [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/liboak/middle/typing/type_rewriting.rs:205:68 [INFO] [stdout] | [INFO] [stdout] 205 | else if non_rec_tys.iter().all(|ty| ty == &Invisible || ty == &Regular(Unit)) { [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/liboak/back/context.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 103 | success: syn::Expr, failure: syn::Expr) -> syn::Expr [INFO] [stdout] | ------------------ ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | { [INFO] [stdout] 105 | let compiler = compiler(&self.grammar, idx); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | compiler.compile_expr(self, Continuation::new(success, failure)) [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/liboak/back/context.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | let stream_ty = self.grammar.stream_type(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | / vec![self.state_param(true)] [INFO] [stdout] 170 | | .into_iter() [INFO] [stdout] 171 | | .chain(self.mut_ref_free_variables [INFO] [stdout] 172 | | .iter().cloned() [INFO] [stdout] ... | [INFO] [stdout] 178 | | .iter() [INFO] [stdout] 179 | | .map(|var| parse_quote!(#var: #stream_ty))) [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/liboak/back/continuation.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 44 | compiler: ExprCompilerFn, idx: usize, before_success: syn::Stmt) -> syn::Expr [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | { [INFO] [stdout] 46 | let success = self.success.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let s: syn::Expr = parse_quote!({#before_success #success}); [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] 50 | self.failure.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/back/compiler/grammar.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | .flat_map(|rule| RuleCompiler::compile(&self.grammar, rule.clone()).into_iter()) [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/liboak/back/compiler/rule.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 42 | let mut context = Context::new(self.grammar); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let success = parse_quote!(state.success(())); [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] 44 | let failure = parse_quote!(state.failure()); [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] 45 | [INFO] [stdout] 46 | let body = context.compile(recognizer_compiler, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | context.into_recognizer_function(body, self.rule.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/back/compiler/str_literal.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | / continuation [INFO] [stdout] 42 | | .map_success(|success, failure| parse_quote!( [INFO] [stdout] 43 | | if state.consume_prefix(#lit) { [INFO] [stdout] 44 | | #success [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | )) [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/liboak/back/compiler/sequence.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | { [INFO] [stdout] 45 | / self.seq.clone().into_iter() [INFO] [stdout] 46 | | .rev() [INFO] [stdout] 47 | | .fold(continuation, |continuation, idx| [INFO] [stdout] 48 | | continuation.compile_success(context, self.compiler, idx)) [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/liboak/back/compiler/any_single_char.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 51 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | { [INFO] [stdout] 53 | let pattern = (self.matched_pattern)(context); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | / continuation [INFO] [stdout] 55 | | .map_success(|success, failure| parse_quote!( [INFO] [stdout] 56 | | match state.next() { [INFO] [stdout] 57 | | Some(#pattern) => { [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | )) [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/liboak/back/compiler/repeat.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 43 | continuation: Continuation, body: syn::Expr) -> syn::Expr [INFO] [stdout] | -------------------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | { [INFO] [stdout] 45 | let mark = context.next_mark_name(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | / continuation.map_success(|success, failure| [INFO] [stdout] 47 | | if self.cardinality_min > 0 { [INFO] [stdout] 48 | | let counter = context.next_counter_name(); [INFO] [stdout] 49 | | let cardinality_min = self.cardinality_min; [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | ) [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/liboak/back/compiler/optional.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 40 | continuation: Continuation, body: syn::Expr) -> syn::Expr [INFO] [stdout] | -------------------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | { [INFO] [stdout] 42 | let mark = context.next_mark_name(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | / continuation [INFO] [stdout] 44 | | .map_success(|success, _| [INFO] [stdout] 45 | | parse_quote!({ [INFO] [stdout] 46 | | let #mark = state.mark(); [INFO] [stdout] ... | [INFO] [stdout] 52 | | }) [INFO] [stdout] 53 | | ) [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/liboak/back/compiler/character_class.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 61 | fn compile_condition(&self, x: Ident) -> syn::Expr { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | self.compile_interval(first_interval, x.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/back/compiler/character_class.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | .map(|char_interval| self.compile_interval(char_interval, x.clone())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/liboak/back/compiler/character_class.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 77 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let var = (self.bounded_var)(context); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | let condition = self.compile_condition(var.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let mark = context.next_mark_name(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | / continuation [INFO] [stdout] 86 | | .map_success(|success, failure| parse_quote!({ [INFO] [stdout] 87 | | let #mark = state.mark(); [INFO] [stdout] 88 | | match state.next() { [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | })) [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/liboak/back/compiler/non_terminal.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | { [INFO] [stdout] 55 | let recognizer_fn = recognizer_name(self.path.clone()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | / continuation [INFO] [stdout] 57 | | .map_success(|success, failure| parse_quote!( [INFO] [stdout] 58 | | { [INFO] [stdout] 59 | | state = #recognizer_fn(state); [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | )) [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/liboak/back/compiler/non_terminal.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 82 | continuation: Continuation) -> syn::Expr [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | { [INFO] [stdout] 84 | let parser_fn = parser_name(self.path.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let cardinality = context.expr_cardinality(self.this_idx); [INFO] [stdout] 86 | let mut vars_names: Vec<_> = (0..cardinality) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let vars = tuple_pattern(vars_names); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | / continuation [INFO] [stdout] 94 | | .map_success(|success, failure| parse_quote!( [INFO] [stdout] 95 | | { [INFO] [stdout] 96 | | let stateful = #parser_fn(state); [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | )) [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 41 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oak` (lib test) due to 42 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52d11a309e250a09e86cb0239034fe917202b71f03245b745a675debd49fa31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52d11a309e250a09e86cb0239034fe917202b71f03245b745a675debd49fa31e", kill_on_drop: false }` [INFO] [stdout] 52d11a309e250a09e86cb0239034fe917202b71f03245b745a675debd49fa31e