[INFO] cloning repository https://github.com/Paroxysmisch/simple-raft-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Paroxysmisch/simple-raft-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParoxysmisch%2Fsimple-raft-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParoxysmisch%2Fsimple-raft-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c07e788071bc9ed778db34039db8182bbb309dfb [INFO] checking Paroxysmisch/simple-raft-rs/c07e788071bc9ed778db34039db8182bbb309dfb against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParoxysmisch%2Fsimple-raft-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Paroxysmisch/simple-raft-rs 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 git repo https://github.com/Paroxysmisch/simple-raft-rs [INFO] finished tweaking git repo https://github.com/Paroxysmisch/simple-raft-rs [INFO] tweaked toml for git repo https://github.com/Paroxysmisch/simple-raft-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Paroxysmisch/simple-raft-rs 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5aebf6ae200bfa6d193624a75ab6e6429592344888207c361b3b4097aef7fcfd [INFO] running `Command { std: "docker" "start" "-a" "5aebf6ae200bfa6d193624a75ab6e6429592344888207c361b3b4097aef7fcfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aebf6ae200bfa6d193624a75ab6e6429592344888207c361b3b4097aef7fcfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aebf6ae200bfa6d193624a75ab6e6429592344888207c361b3b4097aef7fcfd", kill_on_drop: false }` [INFO] [stdout] 5aebf6ae200bfa6d193624a75ab6e6429592344888207c361b3b4097aef7fcfd [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99da06d894b82627f7d3d56605ad788c4f00986ce17b5ae6fe452868317c1d39 [INFO] running `Command { std: "docker" "start" "-a" "99da06d894b82627f7d3d56605ad788c4f00986ce17b5ae6fe452868317c1d39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.39.1 [INFO] [stderr] Checking simple-raft-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/raft.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/raft.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogEntry` is never constructed [INFO] [stdout] --> src/raft.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct LogEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/raft.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Raft` is never constructed [INFO] [stdout] --> src/raft.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Raft { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/raft.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Raft { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 47 | fn new(id: u64, send_event_channels: &Vec>, recv_event_channel: Receiver) -> Raft { [INFO] [stdout] | ^^^ [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/raft.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn new(id: u64, send_event_channels: &Vec>, recv_event_channel: Receiver) -> Raft { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let (tx, rx) = tokio::sync::mpsc::channel(32); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | votes_received: HashSet::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 47 | fn new(id: u64, send_event_channels: &Vec>, recv_event_channel: Receiver) -> Raft { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let (tx, rx) = tokio::sync::mpsc::channel(32); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | send_event_channels: send_event_channels.iter().cloned().collect(), [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] warning: struct `LogEntry` is never constructed [INFO] [stdout] --> src/raft.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct LogEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/raft.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Raft` is never constructed [INFO] [stdout] --> src/raft.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Raft { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/raft.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Raft { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 47 | fn new(id: u64, send_event_channels: &Vec>, recv_event_channel: Receiver) -> Raft { [INFO] [stdout] | ^^^ [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/raft.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn new(id: u64, send_event_channels: &Vec>, recv_event_channel: Receiver) -> Raft { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let (tx, rx) = tokio::sync::mpsc::channel(32); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | votes_received: HashSet::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 47 | fn new(id: u64, send_event_channels: &Vec>, recv_event_channel: Receiver) -> Raft { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let (tx, rx) = tokio::sync::mpsc::channel(32); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | send_event_channels: send_event_channels.iter().cloned().collect(), [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 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-raft-rs` (bin "simple-raft-rs" test) due to 3 previous errors; 5 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `simple-raft-rs` (bin "simple-raft-rs") due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "99da06d894b82627f7d3d56605ad788c4f00986ce17b5ae6fe452868317c1d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99da06d894b82627f7d3d56605ad788c4f00986ce17b5ae6fe452868317c1d39", kill_on_drop: false }` [INFO] [stdout] 99da06d894b82627f7d3d56605ad788c4f00986ce17b5ae6fe452868317c1d39