[INFO] fetching crate structsy-derive 0.5.2... [INFO] checking structsy-derive-0.5.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate structsy-derive 0.5.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate structsy-derive 0.5.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 structsy-derive 0.5.2 [INFO] finished tweaking crates.io crate structsy-derive 0.5.2 [INFO] tweaked toml for crates.io crate structsy-derive 0.5.2 written to /workspace/builds/worker-5-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding darling v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [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] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92d4975c49cbb8d19c6fd5f9272c785a26bac15e68b881c729946f4ab55fb598 [INFO] running `Command { std: "docker" "start" "-a" "92d4975c49cbb8d19c6fd5f9272c785a26bac15e68b881c729946f4ab55fb598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92d4975c49cbb8d19c6fd5f9272c785a26bac15e68b881c729946f4ab55fb598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92d4975c49cbb8d19c6fd5f9272c785a26bac15e68b881c729946f4ab55fb598", kill_on_drop: false }` [INFO] [stdout] 92d4975c49cbb8d19c6fd5f9272c785a26bac15e68b881c729946f4ab55fb598 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84cbe85e326fabb363c6dfd4560d63575061643c950ef9cabd4ca710ac8e966c [INFO] running `Command { std: "docker" "start" "-a" "84cbe85e326fabb363c6dfd4560d63575061643c950ef9cabd4ca710ac8e966c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking unicode-xid v0.2.5 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking darling_core v0.14.4 [INFO] [stderr] Checking synstructure v0.12.6 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking darling v0.14.4 [INFO] [stderr] Checking structsy-derive v0.5.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/persistent.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 69 | let field = f.ident.clone().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let st = sub_type(&f.ty); [INFO] [stdout] 71 | let sub = st.iter().find_map(|x| get_type_ident(*x)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let subsub = st.iter().filter_map(|x| sub_type(x)).find_map(get_type_ident); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | get_type_ident(&f.ty).map(|ty| FieldInfo { [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/persistent.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 69 | let field = f.ident.clone().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let st = sub_type(&f.ty); [INFO] [stdout] 71 | let sub = st.iter().find_map(|x| get_type_ident(*x)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let subsub = st.iter().filter_map(|x| sub_type(x)).find_map(get_type_ident); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | get_type_ident(&f.ty).map(|ty| FieldInfo { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 74 | | name: field, [INFO] [stdout] 75 | | ty, [INFO] [stdout] 76 | | template_ty: sub, [INFO] [stdout] 77 | | sub_template_ty: subsub, [INFO] [stdout] 78 | | index_mode: None, [INFO] [stdout] 79 | | }) [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/persistent.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 133 | let field = f.ident.clone().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | let st = sub_type(&f.ty); [INFO] [stdout] 135 | let sub = st.iter().find_map(|x| get_type_ident(*x)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | let subsub = st.iter().filter_map(|x| sub_type(x)).find_map(get_type_ident); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | get_type_ident(&f.ty).map(|ty| FieldInfo { [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/persistent.rs:137:43 [INFO] [stdout] | [INFO] [stdout] 133 | let field = f.ident.clone().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | let st = sub_type(&f.ty); [INFO] [stdout] 135 | let sub = st.iter().find_map(|x| get_type_ident(*x)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | let subsub = st.iter().filter_map(|x| sub_type(x)).find_map(get_type_ident); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | get_type_ident(&f.ty).map(|ty| FieldInfo { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 138 | | name: field, [INFO] [stdout] 139 | | ty, [INFO] [stdout] 140 | | template_ty: sub, [INFO] [stdout] 141 | | sub_template_ty: subsub, [INFO] [stdout] 142 | | index_mode: f.mode.clone(), [INFO] [stdout] 143 | | }) [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/persistent.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 256 | let tt = match vt.fields.style { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | (vt.ident.clone(), index, tt) [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/persistent.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 354 | let indexed = translate_option_mode(&field.index_mode); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | let field_name = field.name.to_string(); [INFO] [stdout] 356 | let field_ident = field.name.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | let read_fill = quote! { [INFO] [stdout] | _____________---------___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 358 | | #field_ident, [INFO] [stdout] 359 | | }; [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | let ty = field.ty.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | let desc = match (field.template_ty.clone(), field.sub_template_ty.clone()) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | (Some(x), Some(z)) => { [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] 363 | / quote! { [INFO] [stdout] 364 | | structsy::internal::FieldDescription::new::<#ty<#x<#z>>>(#pos,#field_name,#indexed), [INFO] [stdout] 365 | | } [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] 366 | } [INFO] [stdout] 367 | | (Some(x), None) => { [INFO] [stdout] | | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | / quote! { [INFO] [stdout] 369 | | structsy::internal::FieldDescription::new::<#ty<#x>>(#pos,#field_name,#indexed), [INFO] [stdout] 370 | | } [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] 373 | / quote! { [INFO] [stdout] 374 | | structsy::internal::FieldDescription::new::<#ty>(#pos,#field_name,#indexed), [INFO] [stdout] 375 | | } [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] 376 | } [INFO] [stdout] 377 | | (None, Some(_x)) => panic!(""), [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 380 | let write = quote! { [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] 381 | | self.#field_ident.write(write)?; [INFO] [stdout] 382 | | }; [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] 383 | [INFO] [stdout] 384 | let read = quote! { [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] 385 | | let #field_ident= PersistentEmbedded::read(read)?; [INFO] [stdout] 386 | | }; [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] 387 | | ((desc, write), (read, read_fill)) [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/persistent.rs:387:25 [INFO] [stdout] | [INFO] [stdout] 354 | let indexed = translate_option_mode(&field.index_mode); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | let field_name = field.name.to_string(); [INFO] [stdout] 356 | let field_ident = field.name.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | let read_fill = quote! { [INFO] [stdout] | _____________---------___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 358 | | #field_ident, [INFO] [stdout] 359 | | }; [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | let ty = field.ty.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | let desc = match (field.template_ty.clone(), field.sub_template_ty.clone()) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | (Some(x), Some(z)) => { [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] 363 | / quote! { [INFO] [stdout] 364 | | structsy::internal::FieldDescription::new::<#ty<#x<#z>>>(#pos,#field_name,#indexed), [INFO] [stdout] 365 | | } [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] 366 | } [INFO] [stdout] 367 | | (Some(x), None) => { [INFO] [stdout] | | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | / quote! { [INFO] [stdout] 369 | | structsy::internal::FieldDescription::new::<#ty<#x>>(#pos,#field_name,#indexed), [INFO] [stdout] 370 | | } [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] 373 | / quote! { [INFO] [stdout] 374 | | structsy::internal::FieldDescription::new::<#ty>(#pos,#field_name,#indexed), [INFO] [stdout] 375 | | } [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] 376 | } [INFO] [stdout] 377 | | (None, Some(_x)) => panic!(""), [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 380 | let write = quote! { [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] 381 | | self.#field_ident.write(write)?; [INFO] [stdout] 382 | | }; [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] 383 | [INFO] [stdout] 384 | let read = quote! { [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] 385 | | let #field_ident= PersistentEmbedded::read(read)?; [INFO] [stdout] 386 | | }; [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] 387 | | ((desc, write), (read, read_fill)) [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/persistent.rs:447:19 [INFO] [stdout] | [INFO] [stdout] 429 | let field = f.name.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 432 | let mode = translate_mode(f.index_mode.as_ref().unwrap()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 433 | let index_type = match (f.template_ty.clone(), f.sub_template_ty.clone()) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 434 | (Some(_), Some(s1)) => s1, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 435 | (Some(s), None) => s, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | let declare = quote! { [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] 439 | | structsy::internal::declare_index::<#index_type>(db,#index_name,#mode)?; [INFO] [stdout] 440 | | }; [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] 441 | let put = quote! { [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] 442 | | self.#field.puts(tx, #t_name, &[#field_name], id)?; [INFO] [stdout] 443 | | }; [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] 444 | let remove = quote! { [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] 445 | | self.#field.removes(tx, #t_name, &[#field_name], id)?; [INFO] [stdout] 446 | | }; [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] 447 | | (declare, (put, remove)) [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] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/queries.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | if let Type::Path(ref p) = t.borrow() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `syn::Type` does not implement `Borrow`, so calling `borrow` on `&syn::Type` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 114 - if let Type::Path(ref p) = t.borrow() { [INFO] [stdout] 114 + if let Type::Path(ref p) = t { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `syn::Type`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/macros.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | $mac!([$(#[$m])* #[derive(Clone)] [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `structsy-derive` (lib) due to 9 previous errors; 1 warning emitted [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/persistent.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 69 | let field = f.ident.clone().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let st = sub_type(&f.ty); [INFO] [stdout] 71 | let sub = st.iter().find_map(|x| get_type_ident(*x)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let subsub = st.iter().filter_map(|x| sub_type(x)).find_map(get_type_ident); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | get_type_ident(&f.ty).map(|ty| FieldInfo { [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/persistent.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 69 | let field = f.ident.clone().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let st = sub_type(&f.ty); [INFO] [stdout] 71 | let sub = st.iter().find_map(|x| get_type_ident(*x)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let subsub = st.iter().filter_map(|x| sub_type(x)).find_map(get_type_ident); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | get_type_ident(&f.ty).map(|ty| FieldInfo { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 74 | | name: field, [INFO] [stdout] 75 | | ty, [INFO] [stdout] 76 | | template_ty: sub, [INFO] [stdout] 77 | | sub_template_ty: subsub, [INFO] [stdout] 78 | | index_mode: None, [INFO] [stdout] 79 | | }) [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/persistent.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 133 | let field = f.ident.clone().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | let st = sub_type(&f.ty); [INFO] [stdout] 135 | let sub = st.iter().find_map(|x| get_type_ident(*x)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | let subsub = st.iter().filter_map(|x| sub_type(x)).find_map(get_type_ident); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | get_type_ident(&f.ty).map(|ty| FieldInfo { [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/persistent.rs:137:43 [INFO] [stdout] | [INFO] [stdout] 133 | let field = f.ident.clone().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | let st = sub_type(&f.ty); [INFO] [stdout] 135 | let sub = st.iter().find_map(|x| get_type_ident(*x)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | let subsub = st.iter().filter_map(|x| sub_type(x)).find_map(get_type_ident); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | get_type_ident(&f.ty).map(|ty| FieldInfo { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 138 | | name: field, [INFO] [stdout] 139 | | ty, [INFO] [stdout] 140 | | template_ty: sub, [INFO] [stdout] 141 | | sub_template_ty: subsub, [INFO] [stdout] 142 | | index_mode: f.mode.clone(), [INFO] [stdout] 143 | | }) [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/persistent.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 256 | let tt = match vt.fields.style { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | (vt.ident.clone(), index, tt) [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/persistent.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 354 | let indexed = translate_option_mode(&field.index_mode); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | let field_name = field.name.to_string(); [INFO] [stdout] 356 | let field_ident = field.name.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | let read_fill = quote! { [INFO] [stdout] | _____________---------___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 358 | | #field_ident, [INFO] [stdout] 359 | | }; [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | let ty = field.ty.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | let desc = match (field.template_ty.clone(), field.sub_template_ty.clone()) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | (Some(x), Some(z)) => { [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] 363 | / quote! { [INFO] [stdout] 364 | | structsy::internal::FieldDescription::new::<#ty<#x<#z>>>(#pos,#field_name,#indexed), [INFO] [stdout] 365 | | } [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] 366 | } [INFO] [stdout] 367 | | (Some(x), None) => { [INFO] [stdout] | | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | / quote! { [INFO] [stdout] 369 | | structsy::internal::FieldDescription::new::<#ty<#x>>(#pos,#field_name,#indexed), [INFO] [stdout] 370 | | } [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] 373 | / quote! { [INFO] [stdout] 374 | | structsy::internal::FieldDescription::new::<#ty>(#pos,#field_name,#indexed), [INFO] [stdout] 375 | | } [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] 376 | } [INFO] [stdout] 377 | | (None, Some(_x)) => panic!(""), [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 380 | let write = quote! { [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] 381 | | self.#field_ident.write(write)?; [INFO] [stdout] 382 | | }; [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] 383 | [INFO] [stdout] 384 | let read = quote! { [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] 385 | | let #field_ident= PersistentEmbedded::read(read)?; [INFO] [stdout] 386 | | }; [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] 387 | | ((desc, write), (read, read_fill)) [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/persistent.rs:387:25 [INFO] [stdout] | [INFO] [stdout] 354 | let indexed = translate_option_mode(&field.index_mode); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | let field_name = field.name.to_string(); [INFO] [stdout] 356 | let field_ident = field.name.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | let read_fill = quote! { [INFO] [stdout] | _____________---------___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 358 | | #field_ident, [INFO] [stdout] 359 | | }; [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | let ty = field.ty.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | let desc = match (field.template_ty.clone(), field.sub_template_ty.clone()) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | (Some(x), Some(z)) => { [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] 363 | / quote! { [INFO] [stdout] 364 | | structsy::internal::FieldDescription::new::<#ty<#x<#z>>>(#pos,#field_name,#indexed), [INFO] [stdout] 365 | | } [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] 366 | } [INFO] [stdout] 367 | | (Some(x), None) => { [INFO] [stdout] | | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | / quote! { [INFO] [stdout] 369 | | structsy::internal::FieldDescription::new::<#ty<#x>>(#pos,#field_name,#indexed), [INFO] [stdout] 370 | | } [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] 373 | / quote! { [INFO] [stdout] 374 | | structsy::internal::FieldDescription::new::<#ty>(#pos,#field_name,#indexed), [INFO] [stdout] 375 | | } [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] 376 | } [INFO] [stdout] 377 | | (None, Some(_x)) => panic!(""), [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 380 | let write = quote! { [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] 381 | | self.#field_ident.write(write)?; [INFO] [stdout] 382 | | }; [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] 383 | [INFO] [stdout] 384 | let read = quote! { [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] 385 | | let #field_ident= PersistentEmbedded::read(read)?; [INFO] [stdout] 386 | | }; [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] 387 | | ((desc, write), (read, read_fill)) [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/persistent.rs:447:19 [INFO] [stdout] | [INFO] [stdout] 429 | let field = f.name.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 432 | let mode = translate_mode(f.index_mode.as_ref().unwrap()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 433 | let index_type = match (f.template_ty.clone(), f.sub_template_ty.clone()) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 434 | (Some(_), Some(s1)) => s1, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 435 | (Some(s), None) => s, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | let declare = quote! { [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] 439 | | structsy::internal::declare_index::<#index_type>(db,#index_name,#mode)?; [INFO] [stdout] 440 | | }; [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] 441 | let put = quote! { [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] 442 | | self.#field.puts(tx, #t_name, &[#field_name], id)?; [INFO] [stdout] 443 | | }; [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] 444 | let remove = quote! { [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] 445 | | self.#field.removes(tx, #t_name, &[#field_name], id)?; [INFO] [stdout] 446 | | }; [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] 447 | | (declare, (put, remove)) [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] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/queries.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | if let Type::Path(ref p) = t.borrow() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `syn::Type` does not implement `Borrow`, so calling `borrow` on `&syn::Type` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 114 - if let Type::Path(ref p) = t.borrow() { [INFO] [stdout] 114 + if let Type::Path(ref p) = t { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `syn::Type`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/macros.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | $mac!([$(#[$m])* #[derive(Clone)] [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `structsy-derive` (lib test) due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "84cbe85e326fabb363c6dfd4560d63575061643c950ef9cabd4ca710ac8e966c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84cbe85e326fabb363c6dfd4560d63575061643c950ef9cabd4ca710ac8e966c", kill_on_drop: false }` [INFO] [stdout] 84cbe85e326fabb363c6dfd4560d63575061643c950ef9cabd4ca710ac8e966c