[INFO] fetching crate silent-db-macros 0.2.0... [INFO] checking silent-db-macros-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate silent-db-macros 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate silent-db-macros 0.2.0 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 silent-db-macros 0.2.0 [INFO] finished tweaking crates.io crate silent-db-macros 0.2.0 [INFO] tweaked toml for crates.io crate silent-db-macros 0.2.0 written to /workspace/builds/worker-6-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 12 packages to latest compatible versions [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] cc8c09af40140b9cb7090ba834ce7fde495a10272f6f957efc451925cfdaf959 [INFO] running `Command { std: "docker" "start" "-a" "cc8c09af40140b9cb7090ba834ce7fde495a10272f6f957efc451925cfdaf959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc8c09af40140b9cb7090ba834ce7fde495a10272f6f957efc451925cfdaf959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8c09af40140b9cb7090ba834ce7fde495a10272f6f957efc451925cfdaf959", kill_on_drop: false }` [INFO] [stdout] cc8c09af40140b9cb7090ba834ce7fde495a10272f6f957efc451925cfdaf959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5740e85eb5b1d573bae7496f10a47f4162ddce6cb44d3de51eba6f4850929463 [INFO] running `Command { std: "docker" "start" "-a" "5740e85eb5b1d573bae7496f10a47f4162ddce6cb44d3de51eba6f4850929463", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking darling v0.20.10 [INFO] [stderr] Checking silent-db-macros v0.2.0 (/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:324:23 [INFO] [stdout] | [INFO] [stdout] 232 | let args = 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] 233 | | name: Self::get_field(), [INFO] [stdout] 234 | | }; [INFO] [stdout] | |_____- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | // 设置字段名称 [INFO] [stdout] 236 | let args = match name.clone() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | Some(c) => quote! { name: #c.to_string(), }, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | None => quote! { #args }, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | let args = match default { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] | |____________________| [INFO] [stdout] 243 | | default: Some(#c.to_string()), }, [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] 244 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 247 | | let args = match nullable { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 249 | | nullable: #c, }, [INFO] [stdout] | |_______________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 253 | | let args = match primary_key { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 255 | | primary_key: #c, }, [INFO] [stdout] | |__________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 259 | | let args = match unique { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 261 | | unique: #c, }, [INFO] [stdout] | |_____________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 265 | | let args = match comment { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] | |____________________| [INFO] [stdout] 267 | | comment: Some(#c.to_string()), }, [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] 268 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 271 | | let args = match auto_increment { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 273 | | auto_increment: #c, }, [INFO] [stdout] | |_____________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 274 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 277 | | let args = match max_digits { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 279 | | max_digits: #c, }, [INFO] [stdout] | |_________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 283 | | let args = match decimal_places { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 285 | | decimal_places: #c, }, [INFO] [stdout] | |_____________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 289 | | let args = match max_length { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 291 | | length: #c, }, [INFO] [stdout] | |_____________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 324 | | token_stream: code.parse().unwrap(), [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/lib.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 232 | let args = 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] 233 | | name: Self::get_field(), [INFO] [stdout] 234 | | }; [INFO] [stdout] | |_____- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | // 设置字段名称 [INFO] [stdout] 236 | let args = match name.clone() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | Some(c) => quote! { name: #c.to_string(), }, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | None => quote! { #args }, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | let args = match default { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] | |____________________| [INFO] [stdout] 243 | | default: Some(#c.to_string()), }, [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] 244 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 247 | | let args = match nullable { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 249 | | nullable: #c, }, [INFO] [stdout] | |_______________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 253 | | let args = match primary_key { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 255 | | primary_key: #c, }, [INFO] [stdout] | |__________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 259 | | let args = match unique { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 261 | | unique: #c, }, [INFO] [stdout] | |_____________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 265 | | let args = match comment { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] | |____________________| [INFO] [stdout] 267 | | comment: Some(#c.to_string()), }, [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] 268 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 271 | | let args = match auto_increment { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 273 | | auto_increment: #c, }, [INFO] [stdout] | |_____________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 274 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 277 | | let args = match max_digits { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 279 | | max_digits: #c, }, [INFO] [stdout] | |_________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 283 | | let args = match decimal_places { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 285 | | decimal_places: #c, }, [INFO] [stdout] | |_____________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 289 | | let args = match max_length { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | Some(c) => quote! { #args [INFO] [stdout] | ____________________- [INFO] [stdout] 291 | | length: #c, }, [INFO] [stdout] | |_____________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | | None => quote! { #args }, [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 324 | | token_stream: code.parse().unwrap(), [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 `silent-db-macros` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `silent-db-macros` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5740e85eb5b1d573bae7496f10a47f4162ddce6cb44d3de51eba6f4850929463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5740e85eb5b1d573bae7496f10a47f4162ddce6cb44d3de51eba6f4850929463", kill_on_drop: false }` [INFO] [stdout] 5740e85eb5b1d573bae7496f10a47f4162ddce6cb44d3de51eba6f4850929463