[INFO] fetching crate cargo-equip 0.20.1... [INFO] checking cargo-equip-0.20.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate cargo-equip 0.20.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate cargo-equip 0.20.1 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 cargo-equip 0.20.1 [INFO] finished tweaking crates.io crate cargo-equip 0.20.1 [INFO] tweaked toml for crates.io crate cargo-equip 0.20.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-equip 0.20.1 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 551349473f31d63b00ad3cc526af591c6fc30db41188474543e83a2d10e2b700 [INFO] running `Command { std: "docker" "start" "-a" "551349473f31d63b00ad3cc526af591c6fc30db41188474543e83a2d10e2b700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "551349473f31d63b00ad3cc526af591c6fc30db41188474543e83a2d10e2b700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551349473f31d63b00ad3cc526af591c6fc30db41188474543e83a2d10e2b700", kill_on_drop: false }` [INFO] [stdout] 551349473f31d63b00ad3cc526af591c6fc30db41188474543e83a2d10e2b700 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ba56003ef074d9d62b4073461a5f098b581f09c12d3a651b4f8014f26148a6e3 [INFO] running `Command { std: "docker" "start" "-a" "ba56003ef074d9d62b4073461a5f098b581f09c12d3a651b4f8014f26148a6e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling serde v1.0.181 [INFO] [stderr] Compiling serde_derive v1.0.181 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.6 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking unicode-ident v1.0.11 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking always-assert v0.1.3 [INFO] [stderr] Checking jod-thread v0.1.2 [INFO] [stderr] Compiling snap v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking smol_str v0.2.0 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking quote v1.0.32 [INFO] [stderr] Checking la-arena v0.3.1 [INFO] [stderr] Checking winnow v0.5.4 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking petgraph v0.6.3 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking cfg-expr v0.8.1 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking triomphe v0.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking ra_ap_paths v0.0.166 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking spdx v0.6.2 [INFO] [stderr] Checking cfg-expr v0.9.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.81 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking perf-event-open-sys v1.0.1 [INFO] [stderr] Checking ra_ap_stdx v0.0.166 [INFO] [stderr] Checking dashmap v5.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking ra_ap_tt v0.0.166 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking perf-event v0.4.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking jobserver v0.1.26 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking which v4.4.0 [INFO] [stderr] Checking ra_ap_profile v0.0.166 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking regex-automata v0.3.4 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking cargo-platform v0.1.3 [INFO] [stderr] Checking kstring v1.0.6 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking insta v1.31.0 [INFO] [stderr] Checking toml_edit v0.19.14 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking cargo_metadata v0.14.2 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Checking rustminify v0.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking krates v0.8.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling strum_macros v0.25.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking toml_edit v0.5.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking ra_ap_proc_macro_api v0.0.166 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking cargo-util v0.1.2 [INFO] [stderr] Checking cargo-equip v0.20.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Filter, Result, for<'a> fn(&'a Attribute) -> Result {Attribute::parse_meta}>, std::option::Option, {closure@src/rust.rs:48:19: 48:25}>, {closure@src/rust.rs:52:17: 52:40}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rust.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 41 | let syn::File { attrs, .. } = syn::parse_file(code) [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Ok(attrs [INFO] [stdout] | ________^ [INFO] [stdout] 46 | | .iter() [INFO] [stdout] 47 | | .flat_map(Attribute::parse_meta) [INFO] [stdout] 48 | | .flat_map(|meta| match meta { [INFO] [stdout] ... | [INFO] [stdout] 51 | | }) [INFO] [stdout] 52 | | .filter(|MetaList { path, .. }| path.is_ident("cfg_attr")) [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: this value of type `std::option::Option), anyhow::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rust.rs:786:39 [INFO] [stdout] | [INFO] [stdout] 781 | fn visit_struct_enum_union(&mut self, i: impl ToTokens, attrs: &[Attribute]) { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 786 | if let Some(result) = attrs [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 787 | | .iter() [INFO] [stdout] 788 | | .flat_map(Attribute::parse_meta) [INFO] [stdout] 789 | | .flat_map(|meta| match meta { [INFO] [stdout] ... | [INFO] [stdout] 818 | | }) [INFO] [stdout] 819 | | }) [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: this value of type `Filter, Result, for<'a> fn(&'a Attribute) -> Result {Attribute::parse_meta}>, std::option::Option, {closure@src/rust.rs:48:19: 48:25}>, {closure@src/rust.rs:52:17: 52:40}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rust.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 41 | let syn::File { attrs, .. } = syn::parse_file(code) [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Ok(attrs [INFO] [stdout] | ________^ [INFO] [stdout] 46 | | .iter() [INFO] [stdout] 47 | | .flat_map(Attribute::parse_meta) [INFO] [stdout] 48 | | .flat_map(|meta| match meta { [INFO] [stdout] ... | [INFO] [stdout] 51 | | }) [INFO] [stdout] 52 | | .filter(|MetaList { path, .. }| path.is_ident("cfg_attr")) [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: this value of type `std::option::Option), anyhow::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rust.rs:786:39 [INFO] [stdout] | [INFO] [stdout] 781 | fn visit_struct_enum_union(&mut self, i: impl ToTokens, attrs: &[Attribute]) { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 786 | if let Some(result) = attrs [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 787 | | .iter() [INFO] [stdout] 788 | | .flat_map(Attribute::parse_meta) [INFO] [stdout] 789 | | .flat_map(|meta| match meta { [INFO] [stdout] ... | [INFO] [stdout] 818 | | }) [INFO] [stdout] 819 | | }) [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-equip` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-equip` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ba56003ef074d9d62b4073461a5f098b581f09c12d3a651b4f8014f26148a6e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba56003ef074d9d62b4073461a5f098b581f09c12d3a651b4f8014f26148a6e3", kill_on_drop: false }` [INFO] [stdout] ba56003ef074d9d62b4073461a5f098b581f09c12d3a651b4f8014f26148a6e3