[INFO] cloning repository https://github.com/BugenZhao/Raft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BugenZhao/Raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBugenZhao%2FRaft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBugenZhao%2FRaft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f095bdaecd4e1ff571570a6611f69639216f957 [INFO] checking BugenZhao/Raft/8f095bdaecd4e1ff571570a6611f69639216f957 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBugenZhao%2FRaft" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BugenZhao/Raft 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 git repo https://github.com/BugenZhao/Raft [INFO] finished tweaking git repo https://github.com/BugenZhao/Raft [INFO] tweaked toml for git repo https://github.com/BugenZhao/Raft written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BugenZhao/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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] 2326be7171737620a377f6f291515344f16c7c610de8345bb628c205fb3b7edd [INFO] running `Command { std: "docker" "start" "-a" "2326be7171737620a377f6f291515344f16c7c610de8345bb628c205fb3b7edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2326be7171737620a377f6f291515344f16c7c610de8345bb628c205fb3b7edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2326be7171737620a377f6f291515344f16c7c610de8345bb628c205fb3b7edd", kill_on_drop: false }` [INFO] [stdout] 2326be7171737620a377f6f291515344f16c7c610de8345bb628c205fb3b7edd [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] 5cd7a912ed4811ffd89d1a8015c2e7d75c1a090b8126f038e5f9af8c5f3cf3ea [INFO] running `Command { std: "docker" "start" "-a" "5cd7a912ed4811ffd89d1a8015c2e7d75c1a090b8126f038e5f9af8c5f3cf3ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.47 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking linearizability v0.1.0 (/opt/rustwide/workdir/linearizability) [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Compiling labcodec v0.1.0 (/opt/rustwide/workdir/labcodec) [INFO] [stderr] Compiling percolator v0.1.0 (/opt/rustwide/workdir/percolator) [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir/raft) [INFO] [stderr] Checking labrpc v0.1.0 (/opt/rustwide/workdir/labrpc) [INFO] [stdout] warning: unused imports: `Service` and `add_service as add_tso_service` [INFO] [stdout] --> percolator/src/service.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub use timestamp::{add_service as add_tso_service, Client as TSOClient, Service}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_service as add_transaction_service` [INFO] [stdout] --> percolator/src/service.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub use transaction::{add_service as add_transaction_service, Client as TransactionClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Service` [INFO] [stdout] --> percolator/src/service.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 12 | pub use timestamp::{add_service as add_tso_service, Client as TSOClient, Service}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stdout] warning: unused import: `add_service as add_raft_service` [INFO] [stdout] --> raft/src/proto/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | add_service as add_raft_service, Client as RaftClient, Service as RaftService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_service as add_kv_service` [INFO] [stdout] --> raft/src/proto/mod.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub use self::kv::{add_service as add_kv_service, Client as KvClient, Service as KvService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] warning: 2 warnings emitted [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] --> raft/src/kvraft/config.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 234 | let mut servers = self.servers.lock().unwrap(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | if let Some(kv) = servers.kvservers[i].take() { [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 `raft` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5cd7a912ed4811ffd89d1a8015c2e7d75c1a090b8126f038e5f9af8c5f3cf3ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd7a912ed4811ffd89d1a8015c2e7d75c1a090b8126f038e5f9af8c5f3cf3ea", kill_on_drop: false }` [INFO] [stdout] 5cd7a912ed4811ffd89d1a8015c2e7d75c1a090b8126f038e5f9af8c5f3cf3ea