[INFO] fetching crate bones_schema_macros 0.3.1... [INFO] checking bones_schema_macros-0.3.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bones_schema_macros 0.3.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate bones_schema_macros 0.3.1 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 bones_schema_macros 0.3.1 [INFO] finished tweaking crates.io crate bones_schema_macros 0.3.1 [INFO] tweaked toml for crates.io crate bones_schema_macros 0.3.1 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding venial v0.5.0 (latest: v0.6.0) [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48eb56b80711353b283fb559bb5e02ef25b43f0e50c4aa0c79206371707d7398 [INFO] running `Command { std: "docker" "start" "-a" "48eb56b80711353b283fb559bb5e02ef25b43f0e50c4aa0c79206371707d7398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48eb56b80711353b283fb559bb5e02ef25b43f0e50c4aa0c79206371707d7398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48eb56b80711353b283fb559bb5e02ef25b43f0e50c4aa0c79206371707d7398", kill_on_drop: false }` [INFO] [stdout] 48eb56b80711353b283fb559bb5e02ef25b43f0e50c4aa0c79206371707d7398 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2375f5087bd4af7fbab07887bb190d076b996f4c57d3ce772fc1cbbc4150494d [INFO] running `Command { std: "docker" "start" "-a" "2375f5087bd4af7fbab07887bb190d076b996f4c57d3ce772fc1cbbc4150494d", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking venial v0.5.0 [INFO] [stderr] Checking bones_schema_macros v0.3.1 (/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/lib.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn derive_has_schema(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let input = venial::parse_declaration(input.into()).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let name = input.name().expect("Type must have a name"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let schema_mod = input [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let type_datas = { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | / quote! { [INFO] [stdout] 108 | | { [INFO] [stdout] 109 | | let tds = #schema_mod::alloc::TypeDatas::default(); [INFO] [stdout] 110 | | #(#add_derive_type_datas),* [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | | #( [INFO] [stdout] 112 | | tds.insert(#add_type_datas).unwrap(); [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | | let primitive_repr = repr_flags.iter().find_map(|x| match x.as_ref() { [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 138 | | let clone_fn = if no_clone { [INFO] [stdout] | | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | | quote!(None) [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | | } else { [INFO] [stdout] 141 | | quote!(Some(::raw_clone_cb())) [INFO] [stdout] | | ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | | }; [INFO] [stdout] 143 | | let default_fn = if no_default { [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | | quote!(None) [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | | } else { [INFO] [stdout] 146 | | quote!(Some(::raw_default_cb())) [INFO] [stdout] | | -------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 150 | | let schema_kind = (|| { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 301 | let schema_register = quote! { [INFO] [stdout] | _________---------------___- [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | | #schema_mod::registry::SCHEMA_REGISTRY.register(#schema_mod::SchemaData { [INFO] [stdout] 303 | | name: stringify!(#name).into(), [INFO] [stdout] 304 | | full_name: concat!(module_path!(), "::", stringify!(#name)).into(), [INFO] [stdout] ... | [INFO] [stdout] 313 | | }) [INFO] [stdout] 314 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_____| [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 315 | [INFO] [stdout] 316 | / if let Some(generic_params) = input.generic_params() { [INFO] [stdout] 317 | let mut sync_send_generic_params = generic_params.clone(); [INFO] [stdout] 318 | for (param, _) in sync_send_generic_params.params.iter_mut() { [INFO] [stdout] 319 | let clone_bound = if !no_clone { quote!(+ Clone) } else { quote!() }; [INFO] [stdout] ... [INFO] [stdout] 362 | } [INFO] [stdout] 363 | | } [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bones_schema_macros` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn derive_has_schema(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let input = venial::parse_declaration(input.into()).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let name = input.name().expect("Type must have a name"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let schema_mod = input [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let type_datas = { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | / quote! { [INFO] [stdout] 108 | | { [INFO] [stdout] 109 | | let tds = #schema_mod::alloc::TypeDatas::default(); [INFO] [stdout] 110 | | #(#add_derive_type_datas),* [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | | #( [INFO] [stdout] 112 | | tds.insert(#add_type_datas).unwrap(); [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | | let primitive_repr = repr_flags.iter().find_map(|x| match x.as_ref() { [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 138 | | let clone_fn = if no_clone { [INFO] [stdout] | | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | | quote!(None) [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | | } else { [INFO] [stdout] 141 | | quote!(Some(::raw_clone_cb())) [INFO] [stdout] | | ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | | }; [INFO] [stdout] 143 | | let default_fn = if no_default { [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | | quote!(None) [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | | } else { [INFO] [stdout] 146 | | quote!(Some(::raw_default_cb())) [INFO] [stdout] | | -------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 150 | | let schema_kind = (|| { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 301 | let schema_register = quote! { [INFO] [stdout] | _________---------------___- [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | | #schema_mod::registry::SCHEMA_REGISTRY.register(#schema_mod::SchemaData { [INFO] [stdout] 303 | | name: stringify!(#name).into(), [INFO] [stdout] 304 | | full_name: concat!(module_path!(), "::", stringify!(#name)).into(), [INFO] [stdout] ... | [INFO] [stdout] 313 | | }) [INFO] [stdout] 314 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_____| [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 315 | [INFO] [stdout] 316 | / if let Some(generic_params) = input.generic_params() { [INFO] [stdout] 317 | let mut sync_send_generic_params = generic_params.clone(); [INFO] [stdout] 318 | for (param, _) in sync_send_generic_params.params.iter_mut() { [INFO] [stdout] 319 | let clone_bound = if !no_clone { quote!(+ Clone) } else { quote!() }; [INFO] [stdout] ... [INFO] [stdout] 362 | } [INFO] [stdout] 363 | | } [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] [stderr] error: could not compile `bones_schema_macros` (lib test) due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2375f5087bd4af7fbab07887bb190d076b996f4c57d3ce772fc1cbbc4150494d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2375f5087bd4af7fbab07887bb190d076b996f4c57d3ce772fc1cbbc4150494d", kill_on_drop: false }` [INFO] [stdout] 2375f5087bd4af7fbab07887bb190d076b996f4c57d3ce772fc1cbbc4150494d