[INFO] cloning repository https://github.com/chioni16/raft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chioni16/raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchioni16%2Fraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchioni16%2Fraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e5142146f25de251159613ae15b6674d946b268 [INFO] checking chioni16/raft/9e5142146f25de251159613ae15b6674d946b268 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%2Fchioni16%2Fraft" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chioni16/raft 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] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/chioni16/raft [INFO] finished tweaking git repo https://github.com/chioni16/raft [INFO] tweaked toml for git repo https://github.com/chioni16/raft written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chioni16/raft 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 73d4aa9cbc8508df5075cd7531f3c29168dfaafc9ba3b67fb91f81a16ac1d162 [INFO] running `Command { std: "docker" "start" "-a" "73d4aa9cbc8508df5075cd7531f3c29168dfaafc9ba3b67fb91f81a16ac1d162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73d4aa9cbc8508df5075cd7531f3c29168dfaafc9ba3b67fb91f81a16ac1d162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73d4aa9cbc8508df5075cd7531f3c29168dfaafc9ba3b67fb91f81a16ac1d162", kill_on_drop: false }` [INFO] [stdout] 73d4aa9cbc8508df5075cd7531f3c29168dfaafc9ba3b67fb91f81a16ac1d162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 74df44798b154ec96fa0cd9f32973c11c3fc42f9ca1b6423ba34b1464a6475b5 [INFO] running `Command { std: "docker" "start" "-a" "74df44798b154ec96fa0cd9f32973c11c3fc42f9ca1b6423ba34b1464a6475b5", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling rustix v0.38.33 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling prost-derive v0.12.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking prost-types v0.12.4 [INFO] [stderr] Compiling prost-build v0.12.4 [INFO] [stderr] Checking serde v1.0.200 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking console-api v0.6.0 [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/consensus.rs:356:18 [INFO] [stdout] | [INFO] [stdout] 352 | raft: RaftConsensus, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | tokio::spawn(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 357 | | trace!("[{}] sending RequestVote to {}: {:#?}", raft.id, peer, args); [INFO] [stdout] 358 | | [INFO] [stdout] 359 | | if let Ok(reply) = raft.call_request_vote(peer, args).await { [INFO] [stdout] ... | [INFO] [stdout] 401 | | } [INFO] [stdout] 402 | | }) [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/consensus.rs:411:18 [INFO] [stdout] | [INFO] [stdout] 406 | raft: RaftConsensus, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 411 | tokio::spawn(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 412 | | trace!( [INFO] [stdout] 413 | | "[{}] sending AppendEntries to {}: ni={}, args={:#?}", [INFO] [stdout] 414 | | raft.id, [INFO] [stdout] ... | [INFO] [stdout] 507 | | } [INFO] [stdout] 508 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persistence/mock.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | async fn set(&self, key: String, value: T) { [INFO] [stdout] | __________________________________________________--------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | | let mut map = self.map.lock().await; [INFO] [stdout] 41 | | let value = serde_json::to_string(&value).unwrap(); [INFO] [stdout] 42 | | map.insert(key, value); [INFO] [stdout] 43 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raftlog.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn into(self) -> rpc::LogEntry { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | rpc::LogEntry { [INFO] [stdout] 38 | command: serde_json::to_string(&self.command).unwrap(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rpc.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 30 | request: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | ) -> Result, Status> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 32 | | simulate_network("RequestVote").await?; [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | let args = request.into_inner(); [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(Response::new(reply)) [INFO] [stdout] 88 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rpc.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 92 | request: Request, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | ) -> Result, Status> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 94 | | simulate_network("AppendEntries").await?; [INFO] [stdout] 95 | | [INFO] [stdout] 96 | | let args = request.into_inner(); [INFO] [stdout] ... | [INFO] [stdout] 195 | | Ok(Response::new(reply)) [INFO] [stdout] 196 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rpc.rs:268:43 [INFO] [stdout] | [INFO] [stdout] 268 | .map_err(|err| Status::from_error(Box::new(err))) [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] [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] --> /opt/rustwide/target/debug/build/raft-db0fcae0358d5f6f/out/raft.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 90 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | RaftClient::new(InterceptedService::new(inner, interceptor)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-db0fcae0358d5f6f/out/raft.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | Self::from_arc(Arc::new(inner)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-db0fcae0358d5f6f/out/raft.rs:237:37 [INFO] [stdout] | [INFO] [stdout] 231 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | InterceptedService::new(Self::new(inner), interceptor) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-db0fcae0358d5f6f/out/raft.rs:302:76 [INFO] [stdout] | [INFO] [stdout] 298 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | ... ) -> Self::Future { [INFO] [stdout] 300 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | ... let fut = async move { [INFO] [stdout] 302 | ... ::request_vote(&inner, request).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-db0fcae0358d5f6f/out/raft.rs:346:78 [INFO] [stdout] | [INFO] [stdout] 342 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | ... ) -> Self::Future { [INFO] [stdout] 344 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | ... let fut = async move { [INFO] [stdout] 346 | ... ::append_entries(&inner, request).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: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raft` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "74df44798b154ec96fa0cd9f32973c11c3fc42f9ca1b6423ba34b1464a6475b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74df44798b154ec96fa0cd9f32973c11c3fc42f9ca1b6423ba34b1464a6475b5", kill_on_drop: false }` [INFO] [stdout] 74df44798b154ec96fa0cd9f32973c11c3fc42f9ca1b6423ba34b1464a6475b5