[INFO] fetching crate fi-night 0.1.6... [INFO] checking fi-night-0.1.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fi-night 0.1.6 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate fi-night 0.1.6 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 fi-night 0.1.6 [INFO] finished tweaking crates.io crate fi-night 0.1.6 [INFO] tweaked toml for crates.io crate fi-night 0.1.6 written to /workspace/builds/worker-1-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 11 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2521d2e41172f226df55189e0783ee2edd6852d5f55f68813ae3f787cec0ec06 [INFO] running `Command { std: "docker" "start" "-a" "2521d2e41172f226df55189e0783ee2edd6852d5f55f68813ae3f787cec0ec06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2521d2e41172f226df55189e0783ee2edd6852d5f55f68813ae3f787cec0ec06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2521d2e41172f226df55189e0783ee2edd6852d5f55f68813ae3f787cec0ec06", kill_on_drop: false }` [INFO] [stdout] 2521d2e41172f226df55189e0783ee2edd6852d5f55f68813ae3f787cec0ec06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 88efdcfe278cba2d889a6980c2e8fa0a9cc7491020b383a12c6898c20645e049 [INFO] running `Command { std: "docker" "start" "-a" "88efdcfe278cba2d889a6980c2e8fa0a9cc7491020b383a12c6898c20645e049", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking fi-night v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ChainIterItemDecl` is never constructed [INFO] [stdout] --> src/lib.rs:1320:8 [INFO] [stdout] | [INFO] [stdout] 1320 | struct ChainIterItemDecl(Ident, Ident, Ident, Ident); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImplEnumDisplay` is never constructed [INFO] [stdout] --> src/lib.rs:1489:8 [INFO] [stdout] | [INFO] [stdout] 1489 | struct ImplEnumDisplay { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImplEnumVariantDisplay` is never constructed [INFO] [stdout] --> src/lib.rs:1506:8 [INFO] [stdout] | [INFO] [stdout] 1506 | struct ImplEnumVariantDisplay(Ident); [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/lib.rs:414:41 [INFO] [stdout] | [INFO] [stdout] 414 | .map(|(sig, input)| SignalEnumToken(sig.clone(), input.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] = 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/lib.rs:414:54 [INFO] [stdout] | [INFO] [stdout] 414 | .map(|(sig, input)| SignalEnumToken(sig.clone(), input.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/lib.rs:471:28 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn from_any_state_transition_handler(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | let mut input1 = TokenStream::from((Ident::new("_", Span::call_site())).into_token_stream()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 471 | quote_transition_handler(input1.into(), HandlerSignature::Deterministic) [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/lib.rs:914:12 [INFO] [stdout] | [INFO] [stdout] 780 | let name: Ident = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 781 | let mut data_type: Option = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 782 | let mut stack_sym_type: Option = None; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 797 | let state_enum_ident = Ident::new(&format!("{}{}", name.to_string(), "States"), Span::call_site()); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 798 | let signal_enum_ident = Ident::new(&format!("{}{}", name.to_string(), "Signals"), Span::call_site()); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 799 | [INFO] [stdout] 800 | let mut signal_enum_tokens = HashMap::new(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 801 | let mut state_enum_tokens = HashSet::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 802 | let mut match_transition_tokens = BinaryHeap::new(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 805 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 806 | bracketed!(content in input); [INFO] [stdout] 807 | let mut transition_signature: TransitionSignature = content.parse()?; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 808 | let mut from_state; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 882 | let mut match_transition_tokens = match_transition_tokens.into_sorted_vec(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 910 | let _quoted = quote! { [INFO] [stdout] | _____________-------___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 911 | | #(#match_transition_tokens)*, [INFO] [stdout] 912 | | }; [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 913 | // println!("{}", _quoted); [INFO] [stdout] 914 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] 915 | | name, [INFO] [stdout] 916 | | data_type, [INFO] [stdout] 917 | | stack_sym_type, [INFO] [stdout] ... | [INFO] [stdout] 922 | | match_transition_tokens, [INFO] [stdout] 923 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:785:56 [INFO] [stdout] | [INFO] [stdout] 785 | data_type = args_iter.next().map(|arg| match arg.into_value() { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:790:66 [INFO] [stdout] | [INFO] [stdout] 790 | stack_sym_type = args_iter.next().and_then(|arg| match arg.into_value() { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1096:3 [INFO] [stdout] | [INFO] [stdout] 1069 | fn quote_transition_handler(input: proc_macro::TokenStream, signature: HandlerSignature) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1070 | let transition_parsed = parse_macro_input!(input as TransitionHandlerArgsParser); [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] 1079 | let return_type = match signature { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1080 | HandlerSignature::Deterministic => quote! { () }, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1081 | HandlerSignature::Conditional => quote! { ::StateItem }, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1082 | }; [INFO] [stdout] 1083 | let input_arg = match signal_input_type { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1084 | Some(input_type) => quote! {input: &#input_type,}, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1087 | let tr_quoted = quote! { [INFO] [stdout] | _______---------___- [INFO] [stdout] | |_______|___________| [INFO] [stdout] | |_______|___________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1088 | | impl #fsm_ident { [INFO] [stdout] 1089 | | fn #handler_ident(#input_arg [INFO] [stdout] 1090 | | data: &mut ::DataItem, [INFO] [stdout] ... | [INFO] [stdout] 1094 | | } [INFO] [stdout] 1095 | | }; [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] 1096 | | (TokenStream::from(tr_quoted.into_token_stream())).into() [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/lib.rs:1116:8 [INFO] [stdout] | [INFO] [stdout] 1106 | let state: Ident [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1107 | = if let Ok(ty) = input.parse::() { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1108 | match ty { [INFO] [stdout] 1109 | Type::Path(path) => path.path.segments.last().unwrap().ident.clone(), [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1116 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 1117 | | state, [INFO] [stdout] 1118 | | is_entry: { [INFO] [stdout] 1119 | | let ident = input.parse::()?; [INFO] [stdout] ... | [INFO] [stdout] 1122 | | } [INFO] [stdout] 1123 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1159:3 [INFO] [stdout] | [INFO] [stdout] 1143 | fn quote_state_entry_handler(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1144 | let entry_handler_parsed = parse_macro_input!(input as StateEntrySignature); [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] 1151 | let tr_quoted = quote! { [INFO] [stdout] | _______---------___- [INFO] [stdout] | |_______|___________| [INFO] [stdout] | |_______|___________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1152 | | impl #fsm_ident { [INFO] [stdout] 1153 | | fn #handler_ident( [INFO] [stdout] 1154 | | data: &mut ::DataItem, [INFO] [stdout] ... | [INFO] [stdout] 1157 | | } [INFO] [stdout] 1158 | | }; [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] 1159 | | (TokenStream::from(tr_quoted.into_token_stream())).into() [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 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fi-night` (lib test) due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `ChainIterItemDecl` is never constructed [INFO] [stdout] --> src/lib.rs:1320:8 [INFO] [stdout] | [INFO] [stdout] 1320 | struct ChainIterItemDecl(Ident, Ident, Ident, Ident); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImplEnumDisplay` is never constructed [INFO] [stdout] --> src/lib.rs:1489:8 [INFO] [stdout] | [INFO] [stdout] 1489 | struct ImplEnumDisplay { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImplEnumVariantDisplay` is never constructed [INFO] [stdout] --> src/lib.rs:1506:8 [INFO] [stdout] | [INFO] [stdout] 1506 | struct ImplEnumVariantDisplay(Ident); [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/lib.rs:414:41 [INFO] [stdout] | [INFO] [stdout] 414 | .map(|(sig, input)| SignalEnumToken(sig.clone(), input.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] = 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/lib.rs:414:54 [INFO] [stdout] | [INFO] [stdout] 414 | .map(|(sig, input)| SignalEnumToken(sig.clone(), input.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/lib.rs:471:28 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn from_any_state_transition_handler(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | let mut input1 = TokenStream::from((Ident::new("_", Span::call_site())).into_token_stream()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 471 | quote_transition_handler(input1.into(), HandlerSignature::Deterministic) [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/lib.rs:914:12 [INFO] [stdout] | [INFO] [stdout] 780 | let name: Ident = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 781 | let mut data_type: Option = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 782 | let mut stack_sym_type: Option = None; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 797 | let state_enum_ident = Ident::new(&format!("{}{}", name.to_string(), "States"), Span::call_site()); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 798 | let signal_enum_ident = Ident::new(&format!("{}{}", name.to_string(), "Signals"), Span::call_site()); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 799 | [INFO] [stdout] 800 | let mut signal_enum_tokens = HashMap::new(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 801 | let mut state_enum_tokens = HashSet::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 802 | let mut match_transition_tokens = BinaryHeap::new(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 805 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 806 | bracketed!(content in input); [INFO] [stdout] 807 | let mut transition_signature: TransitionSignature = content.parse()?; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 808 | let mut from_state; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 882 | let mut match_transition_tokens = match_transition_tokens.into_sorted_vec(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 910 | let _quoted = quote! { [INFO] [stdout] | _____________-------___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 911 | | #(#match_transition_tokens)*, [INFO] [stdout] 912 | | }; [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 913 | // println!("{}", _quoted); [INFO] [stdout] 914 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] 915 | | name, [INFO] [stdout] 916 | | data_type, [INFO] [stdout] 917 | | stack_sym_type, [INFO] [stdout] ... | [INFO] [stdout] 922 | | match_transition_tokens, [INFO] [stdout] 923 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:785:56 [INFO] [stdout] | [INFO] [stdout] 785 | data_type = args_iter.next().map(|arg| match arg.into_value() { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:790:66 [INFO] [stdout] | [INFO] [stdout] 790 | stack_sym_type = args_iter.next().and_then(|arg| match arg.into_value() { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1096:3 [INFO] [stdout] | [INFO] [stdout] 1069 | fn quote_transition_handler(input: proc_macro::TokenStream, signature: HandlerSignature) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1070 | let transition_parsed = parse_macro_input!(input as TransitionHandlerArgsParser); [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] 1079 | let return_type = match signature { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1080 | HandlerSignature::Deterministic => quote! { () }, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1081 | HandlerSignature::Conditional => quote! { ::StateItem }, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1082 | }; [INFO] [stdout] 1083 | let input_arg = match signal_input_type { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1084 | Some(input_type) => quote! {input: &#input_type,}, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1087 | let tr_quoted = quote! { [INFO] [stdout] | _______---------___- [INFO] [stdout] | |_______|___________| [INFO] [stdout] | |_______|___________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1088 | | impl #fsm_ident { [INFO] [stdout] 1089 | | fn #handler_ident(#input_arg [INFO] [stdout] 1090 | | data: &mut ::DataItem, [INFO] [stdout] ... | [INFO] [stdout] 1094 | | } [INFO] [stdout] 1095 | | }; [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] 1096 | | (TokenStream::from(tr_quoted.into_token_stream())).into() [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/lib.rs:1116:8 [INFO] [stdout] | [INFO] [stdout] 1106 | let state: Ident [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1107 | = if let Ok(ty) = input.parse::() { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1108 | match ty { [INFO] [stdout] 1109 | Type::Path(path) => path.path.segments.last().unwrap().ident.clone(), [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1116 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 1117 | | state, [INFO] [stdout] 1118 | | is_entry: { [INFO] [stdout] 1119 | | let ident = input.parse::()?; [INFO] [stdout] ... | [INFO] [stdout] 1122 | | } [INFO] [stdout] 1123 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1159:3 [INFO] [stdout] | [INFO] [stdout] 1143 | fn quote_state_entry_handler(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1144 | let entry_handler_parsed = parse_macro_input!(input as StateEntrySignature); [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] 1151 | let tr_quoted = quote! { [INFO] [stdout] | _______---------___- [INFO] [stdout] | |_______|___________| [INFO] [stdout] | |_______|___________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1152 | | impl #fsm_ident { [INFO] [stdout] 1153 | | fn #handler_ident( [INFO] [stdout] 1154 | | data: &mut ::DataItem, [INFO] [stdout] ... | [INFO] [stdout] 1157 | | } [INFO] [stdout] 1158 | | }; [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] 1159 | | (TokenStream::from(tr_quoted.into_token_stream())).into() [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 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fi-night` (lib) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88efdcfe278cba2d889a6980c2e8fa0a9cc7491020b383a12c6898c20645e049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88efdcfe278cba2d889a6980c2e8fa0a9cc7491020b383a12c6898c20645e049", kill_on_drop: false }` [INFO] [stdout] 88efdcfe278cba2d889a6980c2e8fa0a9cc7491020b383a12c6898c20645e049