[INFO] fetching crate mockers 0.23.0... [INFO] checking mockers-0.23.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate mockers 0.23.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate mockers 0.23.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mockers 0.23.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mockers 0.23.0 [INFO] tweaked toml for crates.io crate mockers 0.23.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding contracts v0.4.0 (available: v0.6.3) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding indoc v0.3.6 (available: v2.0.5) [INFO] [stderr] Adding indoc-impl v0.3.6 (available: v0.3.7) [INFO] [stderr] Adding itertools v0.4.19 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.8.2 (available: v0.13.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding unindent v0.1.11 (available: v0.2.3) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e46510b8ea9068ad5e106386474e8c0a70e48ab6d850de4c6e113437849a7e8 [INFO] running `Command { std: "docker" "start" "-a" "7e46510b8ea9068ad5e106386474e8c0a70e48ab6d850de4c6e113437849a7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e46510b8ea9068ad5e106386474e8c0a70e48ab6d850de4c6e113437849a7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e46510b8ea9068ad5e106386474e8c0a70e48ab6d850de4c6e113437849a7e8", kill_on_drop: false }` [INFO] [stdout] 7e46510b8ea9068ad5e106386474e8c0a70e48ab6d850de4c6e113437849a7e8 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa2f3d95b5cb3230b93df6b9ebc44f06734d1d3c59c6382cd296c53c89091173 [INFO] running `Command { std: "docker" "start" "-a" "aa2f3d95b5cb3230b93df6b9ebc44f06734d1d3c59c6382cd296c53c89091173", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking mockers v0.23.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:658:23 [INFO] [stdout] | [INFO] [stdout] 657 | fn satisfy(&mut self, call: Call, mock_name: &str) -> Box { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 658 | match self.action.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 717 | / define_all!(( [INFO] [stdout] 718 | | CallMatch0, CallMatchSend0, [INFO] [stdout] 719 | | Reaction0, ReactionSend0, [INFO] [stdout] 720 | | ActionClone0, ActionCloneSend0, [INFO] [stdout] ... | [INFO] [stdout] 723 | | ExpectationTimes0, ExpectationTimesSend0) { [INFO] [stdout] 724 | | }); [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 `define_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:691:23 [INFO] [stdout] | [INFO] [stdout] 690 | fn satisfy(&mut self, call: Call, mock_name: &str) -> Box { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 691 | match self.action.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 717 | / define_all!(( [INFO] [stdout] 718 | | CallMatch0, CallMatchSend0, [INFO] [stdout] 719 | | Reaction0, ReactionSend0, [INFO] [stdout] 720 | | ActionClone0, ActionCloneSend0, [INFO] [stdout] ... | [INFO] [stdout] 723 | | ExpectationTimes0, ExpectationTimesSend0) { [INFO] [stdout] 724 | | }); [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 `define_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:658:23 [INFO] [stdout] | [INFO] [stdout] 657 | fn satisfy(&mut self, call: Call, mock_name: &str) -> Box { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 658 | match self.action.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 725 | / define_all!(( [INFO] [stdout] 726 | | CallMatch1, CallMatchSend1, [INFO] [stdout] 727 | | Reaction1, ReactionSend1, [INFO] [stdout] 728 | | ActionClone1, ActionCloneSend1, [INFO] [stdout] ... | [INFO] [stdout] 732 | | (0, arg0, Arg0) [INFO] [stdout] 733 | | }); [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 `define_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:691:23 [INFO] [stdout] | [INFO] [stdout] 690 | fn satisfy(&mut self, call: Call, mock_name: &str) -> Box { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 691 | match self.action.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 725 | / define_all!(( [INFO] [stdout] 726 | | CallMatch1, CallMatchSend1, [INFO] [stdout] 727 | | Reaction1, ReactionSend1, [INFO] [stdout] 728 | | ActionClone1, ActionCloneSend1, [INFO] [stdout] ... | [INFO] [stdout] 732 | | (0, arg0, Arg0) [INFO] [stdout] 733 | | }); [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 `define_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:658:23 [INFO] [stdout] | [INFO] [stdout] 657 | fn satisfy(&mut self, call: Call, mock_name: &str) -> Box { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 658 | match self.action.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | / define_all!(( [INFO] [stdout] 735 | | CallMatch2, CallMatchSend2, [INFO] [stdout] 736 | | Reaction2, ReactionSend2, [INFO] [stdout] 737 | | ActionClone2, ActionCloneSend2, [INFO] [stdout] ... | [INFO] [stdout] 741 | | (0, arg0, Arg0), (1, arg1, Arg1) [INFO] [stdout] 742 | | }); [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 `define_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:691:23 [INFO] [stdout] | [INFO] [stdout] 690 | fn satisfy(&mut self, call: Call, mock_name: &str) -> Box { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 691 | match self.action.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | / define_all!(( [INFO] [stdout] 735 | | CallMatch2, CallMatchSend2, [INFO] [stdout] 736 | | Reaction2, ReactionSend2, [INFO] [stdout] 737 | | ActionClone2, ActionCloneSend2, [INFO] [stdout] ... | [INFO] [stdout] 741 | | (0, arg0, Arg0), (1, arg1, Arg1) [INFO] [stdout] 742 | | }); [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 `define_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:658:23 [INFO] [stdout] | [INFO] [stdout] 657 | fn satisfy(&mut self, call: Call, mock_name: &str) -> Box { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 658 | match self.action.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 743 | / define_all!(( [INFO] [stdout] 744 | | CallMatch3, CallMatchSend3, [INFO] [stdout] 745 | | Reaction3, ReactionSend3, [INFO] [stdout] 746 | | ActionClone3, ActionCloneSend3, [INFO] [stdout] ... | [INFO] [stdout] 750 | | (0, arg0, Arg0), (1, arg1, Arg1), (2, arg2, Arg2) [INFO] [stdout] 751 | | }); [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 `define_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:691:23 [INFO] [stdout] | [INFO] [stdout] 690 | fn satisfy(&mut self, call: Call, mock_name: &str) -> Box { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 691 | match self.action.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 743 | / define_all!(( [INFO] [stdout] 744 | | CallMatch3, CallMatchSend3, [INFO] [stdout] 745 | | Reaction3, ReactionSend3, [INFO] [stdout] 746 | | ActionClone3, ActionCloneSend3, [INFO] [stdout] ... | [INFO] [stdout] 750 | | (0, arg0, Arg0), (1, arg1, Arg1), (2, arg2, Arg2) [INFO] [stdout] 751 | | }); [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 `define_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:658:23 [INFO] [stdout] | [INFO] [stdout] 657 | fn satisfy(&mut self, call: Call, mock_name: &str) -> Box { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 658 | match self.action.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | / define_all!(( [INFO] [stdout] 753 | | CallMatch4, CallMatchSend4, [INFO] [stdout] 754 | | Reaction4, ReactionSend4, [INFO] [stdout] 755 | | ActionClone4, ActionCloneSend4, [INFO] [stdout] ... | [INFO] [stdout] 759 | | (0, arg0, Arg0), (1, arg1, Arg1), (2, arg2, Arg2), (3, arg3, Arg3) [INFO] [stdout] 760 | | }); [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 `define_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:691:23 [INFO] [stdout] | [INFO] [stdout] 690 | fn satisfy(&mut self, call: Call, mock_name: &str) -> Box { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 691 | match self.action.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | / define_all!(( [INFO] [stdout] 753 | | CallMatch4, CallMatchSend4, [INFO] [stdout] 754 | | Reaction4, ReactionSend4, [INFO] [stdout] 755 | | ActionClone4, ActionCloneSend4, [INFO] [stdout] ... | [INFO] [stdout] 759 | | (0, arg0, Arg0), (1, arg1, Arg1), (2, arg2, Arg2), (3, arg3, Arg3) [INFO] [stdout] 760 | | }); [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 `define_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MaybeDebug` is never used [INFO] [stdout] --> src/dbg.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait MaybeDebug { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mockers` (lib) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "aa2f3d95b5cb3230b93df6b9ebc44f06734d1d3c59c6382cd296c53c89091173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa2f3d95b5cb3230b93df6b9ebc44f06734d1d3c59c6382cd296c53c89091173", kill_on_drop: false }` [INFO] [stdout] aa2f3d95b5cb3230b93df6b9ebc44f06734d1d3c59c6382cd296c53c89091173