[INFO] fetching crate rsmonad-macros 0.1.2... [INFO] checking rsmonad-macros-0.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rsmonad-macros 0.1.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate rsmonad-macros 0.1.2 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 rsmonad-macros 0.1.2 [INFO] finished tweaking crates.io crate rsmonad-macros 0.1.2 [INFO] tweaked toml for crates.io crate rsmonad-macros 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.8.4 (latest: v0.11.5) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c67a21785cc50742fca48ff1349bd2909e81b31d50dd3981587af1a3cc60bfc [INFO] running `Command { std: "docker" "start" "-a" "7c67a21785cc50742fca48ff1349bd2909e81b31d50dd3981587af1a3cc60bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c67a21785cc50742fca48ff1349bd2909e81b31d50dd3981587af1a3cc60bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c67a21785cc50742fca48ff1349bd2909e81b31d50dd3981587af1a3cc60bfc", kill_on_drop: false }` [INFO] [stdout] 7c67a21785cc50742fca48ff1349bd2909e81b31d50dd3981587af1a3cc60bfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c138b583d893906b70218ed8b2e8c4b05bb8ccf25284bb6c13d68c023fa9f44e [INFO] running `Command { std: "docker" "start" "-a" "c138b583d893906b70218ed8b2e8c4b05bb8ccf25284bb6c13d68c023fa9f44e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking rsmonad-macros v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking env_logger v0.8.4 [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:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn monad(ts: 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] 75 | / match transmute(ts.into()) { [INFO] [stdout] 76 | | Ok(out) => out, [INFO] [stdout] 77 | | Err(e) => e.to_compile_error(), [INFO] [stdout] 78 | | } [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:251:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn write_arbitrary_impl(ident: syn::Ident, fields: Fields) -> syn::Result { [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] 251 | Ok(syn::ItemImpl { [INFO] [stdout] | ________^ [INFO] [stdout] 252 | | attrs: vec![], [INFO] [stdout] 253 | | defaultness: None, [INFO] [stdout] 254 | | unsafety: None, [INFO] [stdout] ... | [INFO] [stdout] 561 | | })], [INFO] [stdout] 562 | | }) [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:803:8 [INFO] [stdout] | [INFO] [stdout] 790 | bind: syn::ImplItemFn, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 791 | consume: syn::ImplItemFn, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 792 | ) -> syn::Result { [INFO] [stdout] 793 | let items = vec![ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 794 | syn::Item::Use(syn::parse2(quote! { use rsmonad::prelude::*; })?), [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 795 | syn::Item::Use(syn::parse2(quote! { use super::*; })?), [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 803 | Ok(syn::ItemMod { [INFO] [stdout] | ________^ [INFO] [stdout] 804 | | attrs: vec![], [INFO] [stdout] 805 | | vis: syn::Visibility::Inherited, [INFO] [stdout] 806 | | unsafety: None, [INFO] [stdout] ... | [INFO] [stdout] 820 | | semi: None, [INFO] [stdout] 821 | | }) [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] | | 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] | |_____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:850:8 [INFO] [stdout] | [INFO] [stdout] 841 | bind: syn::ImplItemFn, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 842 | consume: syn::ImplItemFn, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 843 | ) -> syn::Result { [INFO] [stdout] 844 | let mut item: syn::ItemImpl = syn::parse2(quote! { impl Monad for M {} })?; [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] 850 | Ok(syn::Item::Impl(item)) [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:911:8 [INFO] [stdout] | [INFO] [stdout] 902 | let ml: syn::MetaList = syn::parse2( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 903 | quote! {derive(Clone, Debug, /* Default, */ Eq, Hash, Ord, PartialEq, PartialOrd)}, [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] 911 | Ok(syn::Attribute { [INFO] [stdout] | ________^ [INFO] [stdout] 912 | | pound_token: syn::token::Pound { [INFO] [stdout] 913 | | spans: [Span::call_site()], [INFO] [stdout] 914 | | }, [INFO] [stdout] ... | [INFO] [stdout] 919 | | meta: syn::Meta::List(ml), [INFO] [stdout] 920 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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:934:8 [INFO] [stdout] | [INFO] [stdout] 925 | let ml: syn::MetaList = syn::parse2( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 926 | quote! { allow(clippy::non_exhaustive_enums, clippy::non_exhaustive_structs) }, [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] 934 | Ok(syn::Attribute { [INFO] [stdout] | ________^ [INFO] [stdout] 935 | | pound_token: syn::token::Pound { [INFO] [stdout] 936 | | spans: [Span::call_site()], [INFO] [stdout] 937 | | }, [INFO] [stdout] ... | [INFO] [stdout] 942 | | meta: syn::Meta::List(ml), [INFO] [stdout] 943 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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:980:8 [INFO] [stdout] | [INFO] [stdout] 957 | mut item: syn::ItemEnum, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 958 | publicity: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 980 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 981 | | item.ident, [INFO] [stdout] 982 | | item.generics, [INFO] [stdout] 983 | | Fields::EnumVariants(item.variants), [INFO] [stdout] 984 | | )) [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:995:8 [INFO] [stdout] | [INFO] [stdout] 990 | mut item: syn::ItemStruct, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 995 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 996 | | item.ident, [INFO] [stdout] 997 | | item.generics, [INFO] [stdout] 998 | | Fields::StructMembers(item.fields), [INFO] [stdout] 999 | | )) [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsmonad-macros` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c138b583d893906b70218ed8b2e8c4b05bb8ccf25284bb6c13d68c023fa9f44e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c138b583d893906b70218ed8b2e8c4b05bb8ccf25284bb6c13d68c023fa9f44e", kill_on_drop: false }` [INFO] [stdout] c138b583d893906b70218ed8b2e8c4b05bb8ccf25284bb6c13d68c023fa9f44e