[INFO] fetching crate tracelogging_macros 1.2.0... [INFO] building tracelogging_macros-1.2.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate tracelogging_macros 1.2.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate tracelogging_macros 1.2.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tracelogging_macros 1.2.0 [INFO] finished tweaking crates.io crate tracelogging_macros 1.2.0 [INFO] tweaked toml for crates.io crate tracelogging_macros 1.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate tracelogging_macros 1.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c641514c10d2f9576814e9ff9adeb2f21c48bdac25fa690d78af1e7e45685d8 [INFO] running `Command { std: "docker" "start" "-a" "7c641514c10d2f9576814e9ff9adeb2f21c48bdac25fa690d78af1e7e45685d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c641514c10d2f9576814e9ff9adeb2f21c48bdac25fa690d78af1e7e45685d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c641514c10d2f9576814e9ff9adeb2f21c48bdac25fa690d78af1e7e45685d8", kill_on_drop: false }` [INFO] [stdout] 7c641514c10d2f9576814e9ff9adeb2f21c48bdac25fa690d78af1e7e45685d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 401015eb6e526398f11ade3c3b8d1283518356ec651fc160f5d91e6bd19199a9 [INFO] running `Command { std: "docker" "start" "-a" "401015eb6e526398f11ade3c3b8d1283518356ec651fc160f5d91e6bd19199a9", kill_on_drop: false }` [INFO] [stderr] Compiling tracelogging_macros v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/event_info.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 207 | let mut field = FieldInfo { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | match option_parser.next_arg(field_wants_struct) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 316 | ArgResult::Struct(mut struct_parser) => { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `struct_parser` calls a custom destructor [INFO] [stdout] | `struct_parser` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | ArgResult::Option(field_option_ident, mut field_option_parser) => { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | `field_option_parser` calls a custom destructor [INFO] [stdout] | `field_option_parser` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `struct_parser` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `field_option_parser` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `define_client_handles` which comes from the expansion of the macro `with_api_handle_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/event_info.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 199 | while let ArgResult::Option(option_ident, mut option_parser) = parent_parser.next_arg(false) [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `option_parser` calls a custom destructor [INFO] [stdout] | `option_parser` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | let mut field = FieldInfo { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | match option_parser.next_arg(field_wants_struct) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 316 | ArgResult::Struct(mut struct_parser) => { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `struct_parser` calls a custom destructor [INFO] [stdout] | `struct_parser` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | ArgResult::Option(field_option_ident, mut field_option_parser) => { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | `field_option_parser` calls a custom destructor [INFO] [stdout] | `field_option_parser` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `option_parser` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `struct_parser` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `field_option_parser` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `define_client_handles` which comes from the expansion of the macro `with_api_handle_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/event_info.rs:199:72 [INFO] [stdout] | [INFO] [stdout] 199 | while let ArgResult::Option(option_ident, mut option_parser) = parent_parser.next_arg(false) [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `option_parser` calls a custom destructor [INFO] [stdout] | `option_parser` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | let mut field = FieldInfo { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 316 | ArgResult::Struct(mut struct_parser) => { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `struct_parser` calls a custom destructor [INFO] [stdout] | `struct_parser` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | ArgResult::Option(field_option_ident, mut field_option_parser) => { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | `field_option_parser` calls a custom destructor [INFO] [stdout] | `field_option_parser` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 494 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `option_parser` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `struct_parser` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `field_option_parser` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `define_client_handles` which comes from the expansion of the macro `with_api_handle_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/provider_info.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 61 | while let ArgResult::Option(option_name_ident, mut option_args_parser) = [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | `option_args_parser` calls a custom destructor [INFO] [stdout] | `option_args_parser` will be dropped later as of Edition 2024 [INFO] [stdout] 62 | root_parser.next_arg(false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `option_args_parser` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `define_client_handles` which comes from the expansion of the macro `with_api_handle_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracelogging_macros` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "401015eb6e526398f11ade3c3b8d1283518356ec651fc160f5d91e6bd19199a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "401015eb6e526398f11ade3c3b8d1283518356ec651fc160f5d91e6bd19199a9", kill_on_drop: false }` [INFO] [stdout] 401015eb6e526398f11ade3c3b8d1283518356ec651fc160f5d91e6bd19199a9