[INFO] fetching crate odra-macros 1.3.0... [INFO] checking odra-macros-1.3.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate odra-macros 1.3.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate odra-macros 1.3.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate odra-macros 1.3.0 [INFO] finished tweaking crates.io crate odra-macros 1.3.0 [INFO] tweaked toml for crates.io crate odra-macros 1.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding blake2 v0.9.2 (available: v0.10.6) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding convert_case v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding crypto-mac v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding uint v0.9.5 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 981c13892453081bdf6a71b1a5090c79583e693136dcf00e96b8621c54eb486d [INFO] running `Command { std: "docker" "start" "-a" "981c13892453081bdf6a71b1a5090c79583e693136dcf00e96b8621c54eb486d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "981c13892453081bdf6a71b1a5090c79583e693136dcf00e96b8621c54eb486d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "981c13892453081bdf6a71b1a5090c79583e693136dcf00e96b8621c54eb486d", kill_on_drop: false }` [INFO] [stdout] 981c13892453081bdf6a71b1a5090c79583e693136dcf00e96b8621c54eb486d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad4fc351aff3336debe090ae31dc56730534253b685c43def5e7392346e0b873 [INFO] running `Command { std: "docker" "start" "-a" "ad4fc351aff3336debe090ae31dc56730534253b685c43def5e7392346e0b873", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking convert_case v0.5.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking base16 v0.2.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling derive-try-from-ref v0.1.0 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling odra-macros v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/blueprint.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 50 | let ty_blueprint = utils::ty::contract_blueprint(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let ident_module_schema = utils::ident::module_schema(); [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | expr: utils::expr::new_blueprint(&module.module_ident()?) [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 `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/blueprint.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 50 | let ty_blueprint = utils::ty::contract_blueprint(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let ident_module_schema = utils::ident::module_schema(); [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | expr: utils::expr::new_blueprint(&module.module_ident()?) [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 `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/exec_parts.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 100 | let ty = utils::ty::unreferenced_ty(&arg.ty()?); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | Ok(utils::stmt::get_named_arg( [INFO] [stdout] 102 | &arg.name()?, [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 `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/exec_parts.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 100 | let ty = utils::ty::unreferenced_ty(&arg.ty()?); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | Ok(utils::stmt::get_named_arg( [INFO] [stdout] 102 | &arg.name()?, [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 `syn::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/odra_type_item.rs:337:57 [INFO] [stdout] | [INFO] [stdout] 311 | fn from_enum(variants: Vec) -> syn::Result { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | let ty_bytes_vec = utils::ty::bytes_vec(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | let ty_ret = utils::ty::bytes_result(&ty_bytes_vec); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | let name = utils::ident::to_bytes(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 315 | let ret_ty = utils::misc::ret_ty(&ty_ret); [INFO] [stdout] 316 | let ident_result = utils::ident::result(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | fn_item: FnItem::new(&name, vec![], ret_ty, match_self_expr(arms).as_block()).instanced() [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 `syn::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/odra_type_item.rs:405:57 [INFO] [stdout] | [INFO] [stdout] 386 | fn from_enum(variants: Vec) -> syn::Result { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | let ty_usize = utils::ty::usize(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | let name = utils::ident::serialized_length(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | let ret_ty = utils::misc::ret_ty(&ty_usize); [INFO] [stdout] 390 | let expr_u8_serialized_len = utils::expr::u8_serialized_len(); [INFO] [stdout] | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 405 | fn_item: FnItem::new(&name, vec![], ret_ty, match_self_expr(arms).as_block()).instanced() [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 `syn::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/odra_type_item.rs:337:57 [INFO] [stdout] | [INFO] [stdout] 311 | fn from_enum(variants: Vec) -> syn::Result { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | let ty_bytes_vec = utils::ty::bytes_vec(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | let ty_ret = utils::ty::bytes_result(&ty_bytes_vec); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | let name = utils::ident::to_bytes(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 315 | let ret_ty = utils::misc::ret_ty(&ty_ret); [INFO] [stdout] 316 | let ident_result = utils::ident::result(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | fn_item: FnItem::new(&name, vec![], ret_ty, match_self_expr(arms).as_block()).instanced() [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 `syn::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/odra_type_item.rs:405:57 [INFO] [stdout] | [INFO] [stdout] 386 | fn from_enum(variants: Vec) -> syn::Result { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | let ty_usize = utils::ty::usize(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | let name = utils::ident::serialized_length(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | let ret_ty = utils::misc::ret_ty(&ty_usize); [INFO] [stdout] 390 | let expr_u8_serialized_len = utils::expr::u8_serialized_len(); [INFO] [stdout] | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 405 | fn_item: FnItem::new(&name, vec![], ret_ty, match_self_expr(arms).as_block()).instanced() [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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/schema/custom_item.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let fields = f.named.iter().map(|f| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | Some(quote::quote!(odra::schema::custom_struct(#ty_name, odra::prelude::vec![#(#fields),*]))) [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] | [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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/schema/custom_item.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let fields = f.named.iter().map(|f| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | Some(quote::quote!(odra::schema::custom_struct(#ty_name, odra::prelude::vec![#(#fields),*]))) [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] | [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `odra-macros` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `odra-macros` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "ad4fc351aff3336debe090ae31dc56730534253b685c43def5e7392346e0b873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad4fc351aff3336debe090ae31dc56730534253b685c43def5e7392346e0b873", kill_on_drop: false }` [INFO] [stdout] ad4fc351aff3336debe090ae31dc56730534253b685c43def5e7392346e0b873