[INFO] fetching crate basicmethod 0.1.2... [INFO] checking basicmethod-0.1.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate basicmethod 0.1.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate basicmethod 0.1.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate basicmethod 0.1.2 [INFO] finished tweaking crates.io crate basicmethod 0.1.2 [INFO] tweaked toml for crates.io crate basicmethod 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate basicmethod 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `basicmethod` library target) [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0827c9eb01d39725a043c19452469416aa9a99e36d4fbc23c6536eadf96d8005 [INFO] running `Command { std: "docker" "start" "-a" "0827c9eb01d39725a043c19452469416aa9a99e36d4fbc23c6536eadf96d8005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0827c9eb01d39725a043c19452469416aa9a99e36d4fbc23c6536eadf96d8005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0827c9eb01d39725a043c19452469416aa9a99e36d4fbc23c6536eadf96d8005", kill_on_drop: false }` [INFO] [stdout] 0827c9eb01d39725a043c19452469416aa9a99e36d4fbc23c6536eadf96d8005 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b087651e99f6e968e4e0b799b9493eec2027f6f40119b1aee782a18c5be8b75 [INFO] running `Command { std: "docker" "start" "-a" "4b087651e99f6e968e4e0b799b9493eec2027f6f40119b1aee782a18c5be8b75", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `basicmethod` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking syn v2.0.39 [INFO] [stderr] Checking basicmethod v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `FieldsNamed` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:17:72 [INFO] [stdout] | [INFO] [stdout] 12 | let (attrs, _vis, ident, data) = root_extract(dinput); [INFO] [stdout] | ----- ---- ---- [INFO] [stdout] | | | | [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | [INFO] [stdout] 14 | let vispub = get_vis_pub(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | syn::Data::Struct(syn::DataStruct { fields: syn::Fields::Named(fname), .. }) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | return quote!{ [INFO] [stdout] | ____________________- [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] 31 | | impl #ident { [INFO] [stdout] 32 | | #vispub fn new(#(#new_args),*) -> Self { [INFO] [stdout] 33 | | Self { #(#new_setval),* } [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | }.into() [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | return quote!{ [INFO] [stdout] | ____________________- [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] | |____________________| [INFO] [stdout] 67 | | impl #ident { [INFO] [stdout] 68 | | #info [INFO] [stdout] 69 | | #vispub fn fields() -> ::std::vec::Vec<(&'static str)> { [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | }.into() [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | return quote!{ [INFO] [stdout] | ________________________- [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] 87 | | impl #ident { [INFO] [stdout] 88 | | ///Return HashSet<&'static str> that contains all enum variants as 'static str [INFO] [stdout] 89 | | #vispub fn variants() -> ::std::collections::HashSet<&'static str> { [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | }.into(); [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | } else { [INFO] [stdout] 105 | return quote!{ [INFO] [stdout] | ________________________- [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] 106 | | impl #ident { [INFO] [stdout] 107 | | #vispub fn variants() -> ::std::vec::Vec<&'static str> { [INFO] [stdout] 108 | | let mut v = vec![]; [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | }.into() [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basicmethod` (lib) due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4b087651e99f6e968e4e0b799b9493eec2027f6f40119b1aee782a18c5be8b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b087651e99f6e968e4e0b799b9493eec2027f6f40119b1aee782a18c5be8b75", kill_on_drop: false }` [INFO] [stdout] 4b087651e99f6e968e4e0b799b9493eec2027f6f40119b1aee782a18c5be8b75