[INFO] fetching crate sleuth-mutator 0.2.1... [INFO] checking sleuth-mutator-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate sleuth-mutator 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate sleuth-mutator 0.2.1 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 sleuth-mutator 0.2.1 [INFO] finished tweaking crates.io crate sleuth-mutator 0.2.1 [INFO] tweaked toml for crates.io crate sleuth-mutator 0.2.1 written to /workspace/builds/worker-2-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 6 packages to latest compatible versions [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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c273e17e42f86ad4837f1a3b06d541b8debe4fdc6391e69a13a62208dc307cfc [INFO] running `Command { std: "docker" "start" "-a" "c273e17e42f86ad4837f1a3b06d541b8debe4fdc6391e69a13a62208dc307cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c273e17e42f86ad4837f1a3b06d541b8debe4fdc6391e69a13a62208dc307cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c273e17e42f86ad4837f1a3b06d541b8debe4fdc6391e69a13a62208dc307cfc", kill_on_drop: false }` [INFO] [stdout] c273e17e42f86ad4837f1a3b06d541b8debe4fdc6391e69a13a62208dc307cfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 38a0017d1f11d281a538fe2fe9f621f9da65f521fae8a8da179769aee5f4ff63 [INFO] running `Command { std: "docker" "start" "-a" "38a0017d1f11d281a538fe2fe9f621f9da65f521fae8a8da179769aee5f4ff63", kill_on_drop: false }` [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking sleuth-mutator v0.2.1 (/opt/rustwide/workdir) [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:93:5 [INFO] [stdout] | [INFO] [stdout] 90 | attr: proc_macro::TokenStream, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | input: proc_macro::TokenStream, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | ) -> proc_macro::TokenStream { [INFO] [stdout] 93 | / match mutate::implementation(attr.into(), input.into()) { [INFO] [stdout] 94 | | Ok(ts) => ts, [INFO] [stdout] 95 | | Err(e) => e.to_compile_error(), [INFO] [stdout] 96 | | } [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:106:21 [INFO] [stdout] | [INFO] [stdout] 104 | punc: syn::punctuated::Punctuated, [INFO] [stdout] | ------------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | ) -> syn::Expr { [INFO] [stdout] 106 | syn::Expr::Path(syn::ExprPath { [INFO] [stdout] | _____________________^ [INFO] [stdout] 107 | | attrs: vec![], [INFO] [stdout] 108 | | qself: None, [INFO] [stdout] 109 | | path: path(leading, punc), [INFO] [stdout] 110 | | }) [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:146:20 [INFO] [stdout] | [INFO] [stdout] 143 | const fn pathseg(fn_name: syn::Ident) -> syn::PathSegment { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | arguments: syn::PathArguments::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/mutate.rs:452:18 [INFO] [stdout] | [INFO] [stdout] 451 | fn make_scope_struct(fn_inputs: Punctuated) -> Item { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | Item::Struct(syn::ItemStruct { [INFO] [stdout] | __________________^ [INFO] [stdout] 453 | | attrs: vec![], [INFO] [stdout] 454 | | vis: syn::Visibility::Public(single_token!(Pub)), [INFO] [stdout] 455 | | struct_token: single_token!(Struct), [INFO] [stdout] ... | [INFO] [stdout] 462 | | semi_token: None, [INFO] [stdout] 463 | | }) [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/mutate.rs:521:19 [INFO] [stdout] | [INFO] [stdout] 518 | pred: Expr, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 519 | fn_trait_bound: Punctuated, [INFO] [stdout] | ----------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 520 | ) -> Item { [INFO] [stdout] 521 | syn::Item::Fn(syn::ItemFn { [INFO] [stdout] | ___________________^ [INFO] [stdout] 522 | | attrs: vec![syn::Attribute { [INFO] [stdout] 523 | | pound_token: token!(Pound), [INFO] [stdout] 524 | | style: syn::AttrStyle::Outer, [INFO] [stdout] ... | [INFO] [stdout] 616 | | }), [INFO] [stdout] 617 | | }) [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/mutate.rs:623:14 [INFO] [stdout] | [INFO] [stdout] 622 | fn make_test_original(parsed_fn_sig_ident: Ident) -> Item { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 623 | Item::Fn(syn::ItemFn { [INFO] [stdout] | ______________^ [INFO] [stdout] 624 | | attrs: vec![syn::Attribute { [INFO] [stdout] 625 | | pound_token: token!(Pound), [INFO] [stdout] 626 | | style: syn::AttrStyle::Outer, [INFO] [stdout] ... | [INFO] [stdout] 671 | | }), [INFO] [stdout] 672 | | }) [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/mutate.rs:679:14 [INFO] [stdout] | [INFO] [stdout] 678 | fn make_test_mutants(fn_inputs: Punctuated) -> Item { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 679 | Item::Fn(syn::ItemFn { [INFO] [stdout] | ______________^ [INFO] [stdout] 680 | | attrs: vec![syn::Attribute { [INFO] [stdout] 681 | | pound_token: token!(Pound), [INFO] [stdout] 682 | | style: syn::AttrStyle::Outer, [INFO] [stdout] ... | [INFO] [stdout] 1001 | | }), [INFO] [stdout] 1002 | | }) [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/mutate.rs:1018:20 [INFO] [stdout] | [INFO] [stdout] 1009 | mod_ident: Ident, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1010 | scoped_vars: Item, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1011 | scope_struct: Item, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1012 | ast_type: syn::TypePath, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1013 | ast_init: Expr, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1014 | check_fn: Item, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1015 | test_original: Item, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1016 | test_mutants: Item, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1017 | ) -> Item { [INFO] [stdout] 1018 | syn::Item::Mod(syn::ItemMod { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1019 | | attrs: vec![syn::Attribute { [INFO] [stdout] 1020 | | pound_token: token!(Pound), [INFO] [stdout] 1021 | | style: syn::AttrStyle::Outer, [INFO] [stdout] ... | [INFO] [stdout] 1082 | | semi: None, [INFO] [stdout] 1083 | | }) [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/parse.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 18 | generics: [TypePath; N], [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | args: [Expr; M], [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | ) -> Node { [INFO] [stdout] 21 | let mut whole_enchilada = [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | punctuate([pathseg(ident(crate::CRATE_NAME)), pathseg(ident("expr"))]); [INFO] [stdout] 23 | let mut generic_args = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | punctuate(generics.map(move |t| syn::GenericArgument::Type(syn::Type::Path(t)))); [INFO] [stdout] 25 | let mut init_args = punctuate(args); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | / TypePath { [INFO] [stdout] 49 | | qself: None, [INFO] [stdout] 50 | | path: path(true, whole_enchilada.clone()), [INFO] [stdout] 51 | | }, [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/parse.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 18 | generics: [TypePath; N], [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | args: [Expr; M], [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | ) -> Node { [INFO] [stdout] 21 | let mut whole_enchilada = [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | punctuate([pathseg(ident(crate::CRATE_NAME)), pathseg(ident("expr"))]); [INFO] [stdout] 23 | let mut generic_args = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | punctuate(generics.map(move |t| syn::GenericArgument::Type(syn::Type::Path(t)))); [INFO] [stdout] 25 | let mut init_args = punctuate(args); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | / Expr::Call(syn::ExprCall { [INFO] [stdout] 53 | | attrs: vec![], [INFO] [stdout] 54 | | func: Box::new(expr_path( [INFO] [stdout] 55 | | true, [INFO] [stdout] ... | [INFO] [stdout] 62 | | args: init_args, [INFO] [stdout] 63 | | }), [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/parse.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 24 | punctuate(generics.map(move |t| syn::GenericArgument::Type(syn::Type::Path(t)))); [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/parse.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | let (stmt_type, stmt_init) = statements(&b.stmts)?; [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] 79 | Ok(node("Block", [stmt_type], [stmt_init])) [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/parse.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 89 | let (mut t, mut e) = if let syn::Stmt::Expr(e, None) = last { [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] 90 | let (r_t, r_e) = expression(e)?; // Last expression with no semicolon => locally returning its value [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] 93 | let (s_t, s_e) = statement(last)?; [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] 94 | let (l_t, l_e) = node("EndList", [], []); [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] 101 | Ok((t, e)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 147 | let (cond_t, cond_e) = expression(e.cond.as_ref())?; [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] 148 | let (left_t, left_e) = block(&e.then_branch)?; [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] 149 | Ok(if let Some((_, right)) = &e.else_branch { [INFO] [stdout] | ________^ [INFO] [stdout] 150 | | let (right_t, right_e) = expression(right.as_ref())?; [INFO] [stdout] 151 | | node( [INFO] [stdout] 152 | | "IfElse", [INFO] [stdout] ... | [INFO] [stdout] 157 | | node("If", [cond_t, left_t], [cond_e, left_e]) [INFO] [stdout] 158 | | }) [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/parse.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 190 | let (left_t, left_e) = expression(e.left.as_ref())?; [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] 191 | let (right_t, right_e) = expression(e.right.as_ref())?; [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] 192 | Ok(node( [INFO] [stdout] | ________^ [INFO] [stdout] 193 | | match e.op { [INFO] [stdout] 194 | | syn::BinOp::Add(_) => "Add", [INFO] [stdout] 195 | | syn::BinOp::Sub(_) => "Sub", [INFO] [stdout] ... | [INFO] [stdout] 199 | | [left_e, right_e], [INFO] [stdout] 200 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sleuth-mutator` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 90 | attr: proc_macro::TokenStream, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | input: proc_macro::TokenStream, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | ) -> proc_macro::TokenStream { [INFO] [stdout] 93 | / match mutate::implementation(attr.into(), input.into()) { [INFO] [stdout] 94 | | Ok(ts) => ts, [INFO] [stdout] 95 | | Err(e) => e.to_compile_error(), [INFO] [stdout] 96 | | } [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:106:21 [INFO] [stdout] | [INFO] [stdout] 104 | punc: syn::punctuated::Punctuated, [INFO] [stdout] | ------------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | ) -> syn::Expr { [INFO] [stdout] 106 | syn::Expr::Path(syn::ExprPath { [INFO] [stdout] | _____________________^ [INFO] [stdout] 107 | | attrs: vec![], [INFO] [stdout] 108 | | qself: None, [INFO] [stdout] 109 | | path: path(leading, punc), [INFO] [stdout] 110 | | }) [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:146:20 [INFO] [stdout] | [INFO] [stdout] 143 | const fn pathseg(fn_name: syn::Ident) -> syn::PathSegment { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | arguments: syn::PathArguments::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/mutate.rs:452:18 [INFO] [stdout] | [INFO] [stdout] 451 | fn make_scope_struct(fn_inputs: Punctuated) -> Item { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | Item::Struct(syn::ItemStruct { [INFO] [stdout] | __________________^ [INFO] [stdout] 453 | | attrs: vec![], [INFO] [stdout] 454 | | vis: syn::Visibility::Public(single_token!(Pub)), [INFO] [stdout] 455 | | struct_token: single_token!(Struct), [INFO] [stdout] ... | [INFO] [stdout] 462 | | semi_token: None, [INFO] [stdout] 463 | | }) [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/mutate.rs:521:19 [INFO] [stdout] | [INFO] [stdout] 518 | pred: Expr, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 519 | fn_trait_bound: Punctuated, [INFO] [stdout] | ----------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 520 | ) -> Item { [INFO] [stdout] 521 | syn::Item::Fn(syn::ItemFn { [INFO] [stdout] | ___________________^ [INFO] [stdout] 522 | | attrs: vec![syn::Attribute { [INFO] [stdout] 523 | | pound_token: token!(Pound), [INFO] [stdout] 524 | | style: syn::AttrStyle::Outer, [INFO] [stdout] ... | [INFO] [stdout] 616 | | }), [INFO] [stdout] 617 | | }) [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/mutate.rs:623:14 [INFO] [stdout] | [INFO] [stdout] 622 | fn make_test_original(parsed_fn_sig_ident: Ident) -> Item { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 623 | Item::Fn(syn::ItemFn { [INFO] [stdout] | ______________^ [INFO] [stdout] 624 | | attrs: vec![syn::Attribute { [INFO] [stdout] 625 | | pound_token: token!(Pound), [INFO] [stdout] 626 | | style: syn::AttrStyle::Outer, [INFO] [stdout] ... | [INFO] [stdout] 671 | | }), [INFO] [stdout] 672 | | }) [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/mutate.rs:679:14 [INFO] [stdout] | [INFO] [stdout] 678 | fn make_test_mutants(fn_inputs: Punctuated) -> Item { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 679 | Item::Fn(syn::ItemFn { [INFO] [stdout] | ______________^ [INFO] [stdout] 680 | | attrs: vec![syn::Attribute { [INFO] [stdout] 681 | | pound_token: token!(Pound), [INFO] [stdout] 682 | | style: syn::AttrStyle::Outer, [INFO] [stdout] ... | [INFO] [stdout] 1001 | | }), [INFO] [stdout] 1002 | | }) [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/mutate.rs:1018:20 [INFO] [stdout] | [INFO] [stdout] 1009 | mod_ident: Ident, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1010 | scoped_vars: Item, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1011 | scope_struct: Item, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1012 | ast_type: syn::TypePath, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1013 | ast_init: Expr, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1014 | check_fn: Item, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1015 | test_original: Item, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1016 | test_mutants: Item, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1017 | ) -> Item { [INFO] [stdout] 1018 | syn::Item::Mod(syn::ItemMod { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1019 | | attrs: vec![syn::Attribute { [INFO] [stdout] 1020 | | pound_token: token!(Pound), [INFO] [stdout] 1021 | | style: syn::AttrStyle::Outer, [INFO] [stdout] ... | [INFO] [stdout] 1082 | | semi: None, [INFO] [stdout] 1083 | | }) [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/parse.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 18 | generics: [TypePath; N], [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | args: [Expr; M], [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | ) -> Node { [INFO] [stdout] 21 | let mut whole_enchilada = [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | punctuate([pathseg(ident(crate::CRATE_NAME)), pathseg(ident("expr"))]); [INFO] [stdout] 23 | let mut generic_args = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | punctuate(generics.map(move |t| syn::GenericArgument::Type(syn::Type::Path(t)))); [INFO] [stdout] 25 | let mut init_args = punctuate(args); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | / TypePath { [INFO] [stdout] 49 | | qself: None, [INFO] [stdout] 50 | | path: path(true, whole_enchilada.clone()), [INFO] [stdout] 51 | | }, [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/parse.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 18 | generics: [TypePath; N], [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | args: [Expr; M], [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | ) -> Node { [INFO] [stdout] 21 | let mut whole_enchilada = [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | punctuate([pathseg(ident(crate::CRATE_NAME)), pathseg(ident("expr"))]); [INFO] [stdout] 23 | let mut generic_args = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | punctuate(generics.map(move |t| syn::GenericArgument::Type(syn::Type::Path(t)))); [INFO] [stdout] 25 | let mut init_args = punctuate(args); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | / Expr::Call(syn::ExprCall { [INFO] [stdout] 53 | | attrs: vec![], [INFO] [stdout] 54 | | func: Box::new(expr_path( [INFO] [stdout] 55 | | true, [INFO] [stdout] ... | [INFO] [stdout] 62 | | args: init_args, [INFO] [stdout] 63 | | }), [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/parse.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 24 | punctuate(generics.map(move |t| syn::GenericArgument::Type(syn::Type::Path(t)))); [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/parse.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | let (stmt_type, stmt_init) = statements(&b.stmts)?; [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] 79 | Ok(node("Block", [stmt_type], [stmt_init])) [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/parse.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 89 | let (mut t, mut e) = if let syn::Stmt::Expr(e, None) = last { [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] 90 | let (r_t, r_e) = expression(e)?; // Last expression with no semicolon => locally returning its value [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] 93 | let (s_t, s_e) = statement(last)?; [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] 94 | let (l_t, l_e) = node("EndList", [], []); [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] 101 | Ok((t, e)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 147 | let (cond_t, cond_e) = expression(e.cond.as_ref())?; [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] 148 | let (left_t, left_e) = block(&e.then_branch)?; [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] 149 | Ok(if let Some((_, right)) = &e.else_branch { [INFO] [stdout] | ________^ [INFO] [stdout] 150 | | let (right_t, right_e) = expression(right.as_ref())?; [INFO] [stdout] 151 | | node( [INFO] [stdout] 152 | | "IfElse", [INFO] [stdout] ... | [INFO] [stdout] 157 | | node("If", [cond_t, left_t], [cond_e, left_e]) [INFO] [stdout] 158 | | }) [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/parse.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 190 | let (left_t, left_e) = expression(e.left.as_ref())?; [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] 191 | let (right_t, right_e) = expression(e.right.as_ref())?; [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] 192 | Ok(node( [INFO] [stdout] | ________^ [INFO] [stdout] 193 | | match e.op { [INFO] [stdout] 194 | | syn::BinOp::Add(_) => "Add", [INFO] [stdout] 195 | | syn::BinOp::Sub(_) => "Sub", [INFO] [stdout] ... | [INFO] [stdout] 199 | | [left_e, right_e], [INFO] [stdout] 200 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sleuth-mutator` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "38a0017d1f11d281a538fe2fe9f621f9da65f521fae8a8da179769aee5f4ff63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a0017d1f11d281a538fe2fe9f621f9da65f521fae8a8da179769aee5f4ff63", kill_on_drop: false }` [INFO] [stdout] 38a0017d1f11d281a538fe2fe9f621f9da65f521fae8a8da179769aee5f4ff63