[INFO] fetching crate mt_logger 3.0.2... [INFO] checking mt_logger-3.0.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mt_logger 3.0.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate mt_logger 3.0.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 mt_logger 3.0.2 [INFO] finished tweaking crates.io crate mt_logger 3.0.2 [INFO] tweaked toml for crates.io crate mt_logger 3.0.2 written to /workspace/builds/worker-4-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 42 packages to latest compatible versions [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1766f1f0cde27c52f46f40dbb8f3c75583208bc3e03dd794b5b5318d351d3ee1 [INFO] running `Command { std: "docker" "start" "-a" "1766f1f0cde27c52f46f40dbb8f3c75583208bc3e03dd794b5b5318d351d3ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1766f1f0cde27c52f46f40dbb8f3c75583208bc3e03dd794b5b5318d351d3ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1766f1f0cde27c52f46f40dbb8f3c75583208bc3e03dd794b5b5318d351d3ee1", kill_on_drop: false }` [INFO] [stdout] 1766f1f0cde27c52f46f40dbb8f3c75583208bc3e03dd794b5b5318d351d3ee1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5b07dfa5aee78e2c1903dc603771fa4cea451efe8d7beb1d422960e51088769d [INFO] running `Command { std: "docker" "start" "-a" "5b07dfa5aee78e2c1903dc603771fa4cea451efe8d7beb1d422960e51088769d", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking mt_logger v3.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.10.6 [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 790 | mt_log!(Level::Trace, "This is a TRACE message."); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 791 | mt_log!(Level::Debug, "This is a DEBUG message."); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 792 | mt_log!(Level::Info, "This is an INFO message."); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 793 | mt_log!(Level::Warning, "This is a WARNING message."); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 794 | mt_log!(Level::Error, "This is an ERROR message."); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 795 | mt_log!(Level::Fatal, "This is a FATAL message."); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 940 | mt_log!(Level::Trace, "This message appears in BOTH."); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 941 | mt_log!(Level::Fatal, "This message appears in BOTH."); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 945 | mt_log!(Level::Trace, "This message appears in STDOUT."); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 946 | mt_log!(Level::Fatal, "This message appears in STDOUT."); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 950 | mt_log!(Level::Trace, "This message appears in FILEOUT."); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 951 | mt_log!(Level::Fatal, "This message appears in FILEOUT."); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 955 | mt_log!(Level::Trace, "This message appears in NEITHER."); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 956 | mt_log!(Level::Fatal, "This message appears in NEITHER."); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [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:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | .and_then(|instance| instance.log_msg( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 412 | | timestamp, [INFO] [stdout] 413 | | $log_level, [INFO] [stdout] 414 | | fn_name.to_string(), [INFO] [stdout] 415 | | line!(), [INFO] [stdout] 416 | | msg_content) [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 1006 | mt_log!(Level::Info, "Message #{}", i); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `mt_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mt_logger` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "5b07dfa5aee78e2c1903dc603771fa4cea451efe8d7beb1d422960e51088769d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b07dfa5aee78e2c1903dc603771fa4cea451efe8d7beb1d422960e51088769d", kill_on_drop: false }` [INFO] [stdout] 5b07dfa5aee78e2c1903dc603771fa4cea451efe8d7beb1d422960e51088769d