[INFO] fetching crate mechutil 0.3.0... [INFO] checking mechutil-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate mechutil 0.3.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate mechutil 0.3.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 mechutil 0.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mechutil 0.3.0 [INFO] tweaked toml for crates.io crate mechutil 0.3.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate mechutil 0.3.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2298071a22947d75879dbd6949686fb8a85d47d530c9403294d68a03625dbac1 [INFO] running `Command { std: "docker" "start" "-a" "2298071a22947d75879dbd6949686fb8a85d47d530c9403294d68a03625dbac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2298071a22947d75879dbd6949686fb8a85d47d530c9403294d68a03625dbac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2298071a22947d75879dbd6949686fb8a85d47d530c9403294d68a03625dbac1", kill_on_drop: false }` [INFO] [stdout] 2298071a22947d75879dbd6949686fb8a85d47d530c9403294d68a03625dbac1 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45c0892f68f11a50e5af52cad701b47f08904364aa81d008a6421089a42feb48 [INFO] running `Command { std: "docker" "start" "-a" "45c0892f68f11a50e5af52cad701b47f08904364aa81d008a6421089a42feb48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking mechutil v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Interval` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/actor.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 223 | async fn run_my_actor(mut actor: MechActorInternal, interval : Duration) { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | [INFO] [stdout] 225 | let mut ticker = tokio::time::interval(interval); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | / tokio::select! { [INFO] [stdout] 229 | | _ = ticker.tick() => { [INFO] [stdout] 230 | | actor.tick().await; [INFO] [stdout] 231 | | }, [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `Interval` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/actor.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 223 | async fn run_my_actor(mut actor: MechActorInternal, interval : Duration) { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | [INFO] [stdout] 225 | let mut ticker = tokio::time::interval(interval); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | / tokio::select! { [INFO] [stdout] 229 | | _ = ticker.tick() => { [INFO] [stdout] 230 | | actor.tick().await; [INFO] [stdout] 231 | | }, [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] warning: unused variable: `i` [INFO] [stdout] --> src/variant.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | i => Ok(VariantValue::Int64(int)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/variant.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | u => Ok(VariantValue::UInt64(uint)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/variant.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | i => Ok(VariantValue::Int64(int)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/variant.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | u => Ok(VariantValue::UInt64(uint)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ProcessRoute` is never constructed [INFO] [stdout] --> src/actor.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 126 | enum ActorMessage { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 132 | ProcessRoute{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction_id` and `code` are never read [INFO] [stdout] --> src/command.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct RegisterCommand { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 232 | /// Transaction ID. Should be non-zero. [INFO] [stdout] 233 | transaction_id : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 234 | /// Command code. [INFO] [stdout] 235 | code : i32 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mechutil` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `ProcessRoute` is never constructed [INFO] [stdout] --> src/actor.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 126 | enum ActorMessage { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 132 | ProcessRoute{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction_id` and `code` are never read [INFO] [stdout] --> src/command.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct RegisterCommand { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 232 | /// Transaction ID. Should be non-zero. [INFO] [stdout] 233 | transaction_id : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 234 | /// Command code. [INFO] [stdout] 235 | code : i32 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mechutil` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "45c0892f68f11a50e5af52cad701b47f08904364aa81d008a6421089a42feb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45c0892f68f11a50e5af52cad701b47f08904364aa81d008a6421089a42feb48", kill_on_drop: false }` [INFO] [stdout] 45c0892f68f11a50e5af52cad701b47f08904364aa81d008a6421089a42feb48