[INFO] fetching crate overlord 0.4.2... [INFO] checking overlord-0.4.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate overlord 0.4.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate overlord 0.4.2 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] removed /workspace/builds/worker-3-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate overlord 0.4.2 [INFO] finished tweaking crates.io crate overlord 0.4.2 [INFO] tweaked toml for crates.io crate overlord 0.4.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate overlord 0.4.2 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" "+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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c7f4bc0331d737235e50f4e55af8e235eea1b9d5cf7fc5e30090a65505899f2e [INFO] running `Command { std: "docker" "start" "-a" "c7f4bc0331d737235e50f4e55af8e235eea1b9d5cf7fc5e30090a65505899f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7f4bc0331d737235e50f4e55af8e235eea1b9d5cf7fc5e30090a65505899f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f4bc0331d737235e50f4e55af8e235eea1b9d5cf7fc5e30090a65505899f2e", kill_on_drop: false }` [INFO] [stdout] c7f4bc0331d737235e50f4e55af8e235eea1b9d5cf7fc5e30090a65505899f2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6db19f00488bce7c58c67118f2e3396006e4d659deba3fcd993515807b302ab9 [INFO] running `Command { std: "docker" "start" "-a" "6db19f00488bce7c58c67118f2e3396006e4d659deba3fcd993515807b302ab9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking creep v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking faster-hex v0.6.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking hummer v0.2.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking hasher v0.1.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking blake2b_simd v1.0.0 [INFO] [stderr] Checking libmath v0.1.4 [INFO] [stderr] Checking prime_tools v0.3.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling muta-apm-derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking trackable v1.2.0 [INFO] [stderr] Checking trackable v0.2.24 [INFO] [stderr] Checking thrift_codec v0.1.1 [INFO] [stderr] Checking rustracing v0.5.1 [INFO] [stderr] Checking rustracing_jaeger v0.7.0 [INFO] [stderr] Checking muta-apm v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rlp v0.5.1 [INFO] [stderr] Checking overlord v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `UnboundedReceiver` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/timer.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 266 | async fn test_timer_trigger(input: SMREvent, output: SMRTrigger) { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | let (trigger_tx, mut trigger_rx) = unbounded(); [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: this value of type `Result, ConsensusError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state/parallel.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 106 | ctx: Context, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | crypto: Arc, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | qc: AggregatedVote, [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | authority: AuthorityManage, [INFO] [stdout] 110 | tx: UnboundedSender<(Context, OverlordMsg)>, [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | msg_clone: OverlordMsg, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | ) { [INFO] [stdout] 113 | let hash = crypto.hash(Bytes::from(rlp::encode(&qc.to_vote()))); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | if let Ok(voters) = get_voters(&qc.signature.address_bitmap, authority) { [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 `overlord` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result, ConsensusError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state/parallel.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 106 | ctx: Context, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | crypto: Arc, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | qc: AggregatedVote, [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | authority: AuthorityManage, [INFO] [stdout] 110 | tx: UnboundedSender<(Context, OverlordMsg)>, [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | msg_clone: OverlordMsg, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | ) { [INFO] [stdout] 113 | let hash = crypto.hash(Bytes::from(rlp::encode(&qc.to_vote()))); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | if let Ok(voters) = get_voters(&qc.signature.address_bitmap, authority) { [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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/timer.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 348 | let (trigger_tx, mut trigger_rx) = unbounded(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | let (event_tx, event_rx) = unbounded(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 395 | let mut output = Vec::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | let predict = vec![ [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 402 | while let Some(res) = trigger_rx.next().await { [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: this value of type `bytes::Bytes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/auth_manage.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 382 | let mut auth_list = gen_auth_list(10); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | let mut origin_auth_list = auth_list.clone(); [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 386 | let res = extract_voters(&mut auth_list, &Bytes::from(bit_map.to_bytes())).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | address.clone() [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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `overlord` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6db19f00488bce7c58c67118f2e3396006e4d659deba3fcd993515807b302ab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db19f00488bce7c58c67118f2e3396006e4d659deba3fcd993515807b302ab9", kill_on_drop: false }` [INFO] [stdout] 6db19f00488bce7c58c67118f2e3396006e4d659deba3fcd993515807b302ab9