[INFO] cloning repository https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRongDuJiKsp%2FPrinciples-and-Techniques-of-Compilers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRongDuJiKsp%2FPrinciples-and-Techniques-of-Compilers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7184bc88d9279de417339ca2d8313e9fc52baf8f [INFO] checking RongDuJiKsp/Principles-and-Techniques-of-Compilers/7184bc88d9279de417339ca2d8313e9fc52baf8f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRongDuJiKsp%2FPrinciples-and-Techniques-of-Compilers" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers [INFO] finished tweaking git repo https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers [INFO] tweaked toml for git repo https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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] e77b2c4763e5a48ba0ed2f7137fd5d7cf895ca5f736d47230244b483abe20255 [INFO] running `Command { std: "docker" "start" "-a" "e77b2c4763e5a48ba0ed2f7137fd5d7cf895ca5f736d47230244b483abe20255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e77b2c4763e5a48ba0ed2f7137fd5d7cf895ca5f736d47230244b483abe20255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77b2c4763e5a48ba0ed2f7137fd5d7cf895ca5f736d47230244b483abe20255", kill_on_drop: false }` [INFO] [stdout] e77b2c4763e5a48ba0ed2f7137fd5d7cf895ca5f736d47230244b483abe20255 [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] f3f0266bde898aa0d3ed2618303e090daf391fb88d1069a022e8d1ac9defba26 [INFO] running `Command { std: "docker" "start" "-a" "f3f0266bde898aa0d3ed2618303e090daf391fb88d1069a022e8d1ac9defba26", kill_on_drop: false }` [INFO] [stderr] Checking Compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::main_application::main_application` [INFO] [stdout] --> src/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::main_application::main_application; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PredictionAnalyzerInput` and `PredictionAnalyzer` [INFO] [stdout] --> src/test.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prediction_analyzer::{PredictionAnalyzer, PredictionAnalyzerInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pushdown_automaton_grammar::PushDownAutomatonGrammar` [INFO] [stdout] --> src/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::pushdown_automaton_grammar::PushDownAutomatonGrammar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::statics::EMPTY_SENTENCE` [INFO] [stdout] --> src/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | is_dbg = true; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | is_dbg = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `alpha` and `state` are never used [INFO] [stdout] --> src/deterministic_finite_automaton.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl DeterministicFiniteAutomaton { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn alpha(&self) -> &AlphaTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn state(&self) -> &StateSet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/deterministic_finite_automaton.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 53 | alpha: AlphaTable, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | state: StateSet, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | start_state: State, [INFO] [stdout] 56 | end_state_set: StateSet, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | alpha, [INFO] [stdout] 75 | | state, [INFO] [stdout] 76 | | start_state, [INFO] [stdout] 77 | | end_state_set, [INFO] [stdout] 78 | | trans: grammar, [INFO] [stdout] 79 | | }) [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/deterministic_finite_automaton.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 94 | let mut state_set: StateSet = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let mut end_states: StateSet = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | Ok((state_set, end_states)) [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/deterministic_finite_automaton.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 225 | state_set: Vec, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | alpha: original_dfa.alpha.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/deterministic_finite_automaton.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 225 | state_set: Vec, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | state: original_dfa [INFO] [stdout] | ________________________^ [INFO] [stdout] 250 | | .state [INFO] [stdout] 251 | | .clone() [INFO] [stdout] 252 | | .into_iter() [INFO] [stdout] 253 | | .map(|x| get_mapped_state(x)) [INFO] [stdout] 254 | | .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/deterministic_finite_automaton.rs:256:32 [INFO] [stdout] | [INFO] [stdout] 225 | state_set: Vec, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | end_state_set: original_dfa [INFO] [stdout] | ________________________________^ [INFO] [stdout] 257 | | .end_state_set [INFO] [stdout] 258 | | .iter() [INFO] [stdout] 259 | | .map(|end| get_mapped_state(end.clone())) [INFO] [stdout] 260 | | .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/main_application.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 47 | let push_down_gmr = build_push_down_automaton_grammar_with_args(args); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | match push_down_gmr.build_ll1_analyzer() { [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/pushdown_automaton_grammar.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 54 | let (mut first_set, mut follow_set) = (HashMap::new(), HashMap::new()); [INFO] [stdout] | --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let select_set: SelectSet = self.get_select_set(&first_set, &follow_set); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok((PredictionAnalyzer::new(analyzer_table, self.start), first_set, follow_set, select_set)) [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 7 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | is_dbg = true; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | is_dbg = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Compiler` (bin "Compiler" test) due to 8 previous errors; 5 warnings emitted [INFO] [stdout] warning: methods `alpha` and `state` are never used [INFO] [stdout] --> src/deterministic_finite_automaton.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl DeterministicFiniteAutomaton { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn alpha(&self) -> &AlphaTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn state(&self) -> &StateSet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [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/deterministic_finite_automaton.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 53 | alpha: AlphaTable, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | state: StateSet, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | start_state: State, [INFO] [stdout] 56 | end_state_set: StateSet, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | alpha, [INFO] [stdout] 75 | | state, [INFO] [stdout] 76 | | start_state, [INFO] [stdout] 77 | | end_state_set, [INFO] [stdout] 78 | | trans: grammar, [INFO] [stdout] 79 | | }) [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/deterministic_finite_automaton.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 94 | let mut state_set: StateSet = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let mut end_states: StateSet = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | Ok((state_set, end_states)) [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/deterministic_finite_automaton.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 225 | state_set: Vec, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | alpha: original_dfa.alpha.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/deterministic_finite_automaton.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 225 | state_set: Vec, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | state: original_dfa [INFO] [stdout] | ________________________^ [INFO] [stdout] 250 | | .state [INFO] [stdout] 251 | | .clone() [INFO] [stdout] 252 | | .into_iter() [INFO] [stdout] 253 | | .map(|x| get_mapped_state(x)) [INFO] [stdout] 254 | | .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/deterministic_finite_automaton.rs:256:32 [INFO] [stdout] | [INFO] [stdout] 225 | state_set: Vec, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | end_state_set: original_dfa [INFO] [stdout] | ________________________________^ [INFO] [stdout] 257 | | .end_state_set [INFO] [stdout] 258 | | .iter() [INFO] [stdout] 259 | | .map(|end| get_mapped_state(end.clone())) [INFO] [stdout] 260 | | .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/main_application.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 47 | let push_down_gmr = build_push_down_automaton_grammar_with_args(args); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | match push_down_gmr.build_ll1_analyzer() { [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/pushdown_automaton_grammar.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 54 | let (mut first_set, mut follow_set) = (HashMap::new(), HashMap::new()); [INFO] [stdout] | --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let select_set: SelectSet = self.get_select_set(&first_set, &follow_set); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok((PredictionAnalyzer::new(analyzer_table, self.start), first_set, follow_set, select_set)) [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 7 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Compiler` (bin "Compiler") due to 8 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f3f0266bde898aa0d3ed2618303e090daf391fb88d1069a022e8d1ac9defba26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f0266bde898aa0d3ed2618303e090daf391fb88d1069a022e8d1ac9defba26", kill_on_drop: false }` [INFO] [stdout] f3f0266bde898aa0d3ed2618303e090daf391fb88d1069a022e8d1ac9defba26