[INFO] fetching crate basicmethod 0.1.2... [INFO] checking basicmethod-0.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate basicmethod 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate basicmethod 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 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-4-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] dce0e6d8c33ccbc28e5ce5aaba4256cbb6b1d7378044e8c282ad6d8e0e5f4574 [INFO] running `Command { std: "docker" "start" "-a" "dce0e6d8c33ccbc28e5ce5aaba4256cbb6b1d7378044e8c282ad6d8e0e5f4574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dce0e6d8c33ccbc28e5ce5aaba4256cbb6b1d7378044e8c282ad6d8e0e5f4574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce0e6d8c33ccbc28e5ce5aaba4256cbb6b1d7378044e8c282ad6d8e0e5f4574", kill_on_drop: false }` [INFO] [stdout] dce0e6d8c33ccbc28e5ce5aaba4256cbb6b1d7378044e8c282ad6d8e0e5f4574 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a0f12617b6a8335a1e3717ec4659f4fe1cdc94b4f3c16db756b42fcb9e7c6821 [INFO] running `Command { std: "docker" "start" "-a" "a0f12617b6a8335a1e3717ec4659f4fe1cdc94b4f3c16db756b42fcb9e7c6821", 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 serde v1.0.190 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking once_cell v1.18.0 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token/processors.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn set_methods(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | punc.iter().map(move |f| { [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/token/processors.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn set_methods(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | punc.iter().map(move |f| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 49 | | if let Some(id) = &f.ident { [INFO] [stdout] 50 | | let x = extract_attr(&f.attrs); [INFO] [stdout] 51 | | if let Some((name, value)) = x { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } else { quote!() } [INFO] [stdout] 64 | | }) [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/token/processors.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_methods(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | punc.iter().map(move |f| { [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/token/processors.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_methods(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | punc.iter().map(move |f| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 69 | | if let Some(id) = &f.ident { [INFO] [stdout] 70 | | let x = extract_attr(&f.attrs); [INFO] [stdout] 71 | | if let Some((name, value)) = x { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } else { quote!() } [INFO] [stdout] 84 | | }) [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/token/processors.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn get_methods_mut(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | punc.iter().map(move |f| { [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/token/processors.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn get_methods_mut(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | punc.iter().map(move |f| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 89 | | if let Some(id) = &f.ident { [INFO] [stdout] 90 | | let x = extract_attr(&f.attrs); [INFO] [stdout] 91 | | if let Some((name, value)) = x { [INFO] [stdout] ... | [INFO] [stdout] 103 | | } else { quote!() } [INFO] [stdout] 104 | | }) [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/token/processors.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn incdec_methods(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | punc.iter().map(move |f| { [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/token/processors.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn incdec_methods(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | punc.iter().map(move |f| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 110 | | if let Some(id) = &f.ident { [INFO] [stdout] 111 | | let ty = &f.ty; [INFO] [stdout] 112 | | let type_str = extract_type_name(ty.clone()); [INFO] [stdout] ... | [INFO] [stdout] 132 | | } else { quote!() } [INFO] [stdout] 133 | | }) [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/token/processors.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn unamed_field(punc: &Punc, _vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let mut idx = 0; [INFO] [stdout] 150 | punc.iter().map(move |f| { [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/token/processors.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn set_methods_unnamed(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | let mut idx = syn::Index::from(0); [INFO] [stdout] 166 | punc.iter().map(move |f| { [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/token/processors.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn set_methods_unnamed(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | let mut idx = syn::Index::from(0); [INFO] [stdout] 166 | punc.iter().map(move |f| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 167 | | let x = extract_attr(&f.attrs); [INFO] [stdout] 168 | | if let Some((name, value)) = x { [INFO] [stdout] 169 | | if name.as_str() == "exclude" || (name.as_str() == "only" && value.as_str() != "set") { [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | }) [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/token/processors.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn incdec_methods_unnamed(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let mut idx = 0; [INFO] [stdout] 194 | punc.iter().map(move |f| { [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/token/processors.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn incdec_methods_unnamed(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let mut idx = 0; [INFO] [stdout] 194 | punc.iter().map(move |f| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 195 | | idx += 1; [INFO] [stdout] 196 | | let type_str = extract_type_name(f.ty.clone()); [INFO] [stdout] 197 | | if is_number(&type_str) { [INFO] [stdout] ... | [INFO] [stdout] 225 | | } else { quote!() } [INFO] [stdout] 226 | | }) [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/token/processors.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn get_methods_unnamed(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 230 | let mut idx = syn::Index::from(0); [INFO] [stdout] 231 | punc.iter().map(move |f| { [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/token/processors.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn get_methods_unnamed(punc: &Punc, vis: syn::Visibility) -> impl Iterator + '_ { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 230 | let mut idx = syn::Index::from(0); [INFO] [stdout] 231 | punc.iter().map(move |f| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 232 | | let x = extract_attr(&f.attrs); [INFO] [stdout] 233 | | if let Some((name, value)) = x { [INFO] [stdout] 234 | | if name.as_str() == "exclude" || (name.as_str() == "only" && value.as_str() != "get") { [INFO] [stdout] ... | [INFO] [stdout] 253 | | } [INFO] [stdout] 254 | | }) [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 `basicmethod` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a0f12617b6a8335a1e3717ec4659f4fe1cdc94b4f3c16db756b42fcb9e7c6821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f12617b6a8335a1e3717ec4659f4fe1cdc94b4f3c16db756b42fcb9e7c6821", kill_on_drop: false }` [INFO] [stdout] a0f12617b6a8335a1e3717ec4659f4fe1cdc94b4f3c16db756b42fcb9e7c6821