[INFO] cloning repository https://github.com/anshulsanghi-blog/macros-handbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anshulsanghi-blog/macros-handbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshulsanghi-blog%2Fmacros-handbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshulsanghi-blog%2Fmacros-handbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 610b43c1f0aa36e87f970a9d774c2689a9439ee9 [INFO] checking anshulsanghi-blog/macros-handbook/610b43c1f0aa36e87f970a9d774c2689a9439ee9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshulsanghi-blog%2Fmacros-handbook" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anshulsanghi-blog/macros-handbook 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 git repo https://github.com/anshulsanghi-blog/macros-handbook [INFO] finished tweaking git repo https://github.com/anshulsanghi-blog/macros-handbook [INFO] tweaked toml for git repo https://github.com/anshulsanghi-blog/macros-handbook written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anshulsanghi-blog/macros-handbook 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d0b51e107d627f2a63d16aa0cce4441787ea7cdbc82f1b32e681b9553de6d1a6 [INFO] running `Command { std: "docker" "start" "-a" "d0b51e107d627f2a63d16aa0cce4441787ea7cdbc82f1b32e681b9553de6d1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0b51e107d627f2a63d16aa0cce4441787ea7cdbc82f1b32e681b9553de6d1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b51e107d627f2a63d16aa0cce4441787ea7cdbc82f1b32e681b9553de6d1a6", kill_on_drop: false }` [INFO] [stdout] d0b51e107d627f2a63d16aa0cce4441787ea7cdbc82f1b32e681b9553de6d1a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ad5d38bace25aab507173a145a0b24c96fe7a2a7d9714ee40781ac1ba4c42abe [INFO] running `Command { std: "docker" "start" "-a" "ad5d38bace25aab507173a145a0b24c96fe7a2a7d9714ee40781ac1ba4c42abe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking raw-cpuid v11.0.1 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling moka v0.12.7 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking xxhash-rust v0.8.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking triomphe v0.1.11 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking syn v2.0.58 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking quanta v0.12.3 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking reflink-copy v0.1.16 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking ssri v9.2.0 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> macros/src/custom_model.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let DeriveInput { data, ident, .. } = original_struct.clone(); [INFO] [stdout] | ^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] --> macros/src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn into_hash_map(item: TokenStream) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let input = syn::parse_macro_input!(item as syn::DeriveInput); [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] 23 | / match &input.data { [INFO] [stdout] 24 | | Data::Struct(syn::DataStruct { fields, .. }) => { [INFO] [stdout] 25 | | let field_identifiers = fields.iter().map(|item| item.ident.as_ref().unwrap()).collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 41 | | _ => unimplemented!() [INFO] [stdout] 42 | | }.into() [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] --> macros/src/hash_mapify.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 24 | let mut entries = Vec::::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let ty = input.parse::()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | Ok(ParsedMap { [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | value_type: ty, [INFO] [stdout] 90 | | entries, [INFO] [stdout] 91 | | }) [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: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `macros` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> macros/src/custom_model.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let DeriveInput { data, ident, .. } = original_struct.clone(); [INFO] [stdout] | ^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> macros/src/custom_model.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let DeriveInput { data, ident, .. } = original_struct.clone(); [INFO] [stdout] | ^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] --> macros/src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn into_hash_map(item: TokenStream) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let input = syn::parse_macro_input!(item as syn::DeriveInput); [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] 23 | / match &input.data { [INFO] [stdout] 24 | | Data::Struct(syn::DataStruct { fields, .. }) => { [INFO] [stdout] 25 | | let field_identifiers = fields.iter().map(|item| item.ident.as_ref().unwrap()).collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 41 | | _ => unimplemented!() [INFO] [stdout] 42 | | }.into() [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] --> macros/src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn into_hash_map(item: TokenStream) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let input = syn::parse_macro_input!(item as syn::DeriveInput); [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] 23 | / match &input.data { [INFO] [stdout] 24 | | Data::Struct(syn::DataStruct { fields, .. }) => { [INFO] [stdout] 25 | | let field_identifiers = fields.iter().map(|item| item.ident.as_ref().unwrap()).collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 41 | | _ => unimplemented!() [INFO] [stdout] 42 | | }.into() [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] --> macros/src/hash_mapify.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 24 | let mut entries = Vec::::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let ty = input.parse::()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | Ok(ParsedMap { [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | value_type: ty, [INFO] [stdout] 90 | | entries, [INFO] [stdout] 91 | | }) [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] --> macros/src/hash_mapify.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 24 | let mut entries = Vec::::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let ty = input.parse::()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | Ok(ParsedMap { [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | value_type: ty, [INFO] [stdout] 90 | | entries, [INFO] [stdout] 91 | | }) [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: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `macros` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `macros` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ad5d38bace25aab507173a145a0b24c96fe7a2a7d9714ee40781ac1ba4c42abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad5d38bace25aab507173a145a0b24c96fe7a2a7d9714ee40781ac1ba4c42abe", kill_on_drop: false }` [INFO] [stdout] ad5d38bace25aab507173a145a0b24c96fe7a2a7d9714ee40781ac1ba4c42abe