[INFO] cloning repository https://github.com/black-pwq/rust-raft
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/black-pwq/rust-raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblack-pwq%2Frust-raft", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblack-pwq%2Frust-raft'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb4caca4f8850ca5b920db705fc382ea978db548
[INFO] checking black-pwq/rust-raft/cb4caca4f8850ca5b920db705fc382ea978db548 against try#d1d7143153307f561233bd4d93e2a3b24157b081 for pr-151539-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblack-pwq%2Frust-raft" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/black-pwq/rust-raft
[INFO] finished tweaking git repo https://github.com/black-pwq/rust-raft
[INFO] tweaked toml for git repo https://github.com/black-pwq/rust-raft written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/black-pwq/rust-raft on toolchain d1d7143153307f561233bd4d93e2a3b24157b081
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/black-pwq/rust-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" "+d1d7143153307f561233bd4d93e2a3b24157b081" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ad1cb8075775a1752b0424129aec74d1044ceda1449f1737df30018e328a7d0b
[INFO] running `Command { std: "docker" "start" "ad1cb8075775a1752b0424129aec74d1044ceda1449f1737df30018e328a7d0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad1cb8075775a1752b0424129aec74d1044ceda1449f1737df30018e328a7d0b" "/opt/rustwide/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad1cb8075775a1752b0424129aec74d1044ceda1449f1737df30018e328a7d0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad1cb8075775a1752b0424129aec74d1044ceda1449f1737df30018e328a7d0b" "/opt/rustwide/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling pulldown-cmark v0.13.0
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling petgraph v0.7.1
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling zmij v1.0.2
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]    Compiling dtor-proc-macro v0.0.6
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling ctor-proc-macro v0.0.7
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking dtor v0.1.1
[INFO] [stderr]     Checking ctor v0.6.3
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling pulldown-cmark-to-cmark v21.1.0
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling prost-derive v0.14.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tonic-build v0.14.2
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling prost v0.14.1
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking tracing-appender v0.2.4
[INFO] [stderr]    Compiling prost-types v0.14.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling prost-build v0.14.1
[INFO] [stderr]    Compiling tonic-prost-build v0.14.2
[INFO] [stderr]    Compiling rust-raft v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking axum v0.8.7
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[INFO] [stderr]     Checking tonic v0.14.2
[INFO] [stderr]     Checking tonic-prost v0.14.2
[INFO] [stdout] warning: unused imports: `AppendEntriesReply`, `ClientReply`, `ClientRequest`, and `RequestVoteReply`
[INFO] [stdout]   --> src/test_util/network.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     AppendEntriesArgs, AppendEntriesReply, RequestVoteArgs, RequestVoteReply,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     proto::{
[INFO] [stdout] 12 |         AppendEntriesArgsPb, AppendEntriesReplyPb, ClientReply, ClientRequest, RequestVoteArgsPb,
[INFO] [stdout]    |                                                    ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `client::Grpc`
[INFO] [stdout]   --> src/test_util.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use tonic::{client::Grpc, transport::Server};
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `error`
[INFO] [stdout]   --> src/test_util.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RaftService` and `tpanic`
[INFO] [stdout]   --> src/test_util.rs:21:34
[INFO] [stdout]    |
[INFO] [stdout] 21 |         ApplyMsg, Command, Peer, RaftService, core::RaftConfig,
[INFO] [stdout]    |                                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     tpanic,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AppendEntriesReply`, `ClientReply`, `ClientRequest`, and `RequestVoteReply`
[INFO] [stdout]   --> src/test_util/network.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     AppendEntriesArgs, AppendEntriesReply, RequestVoteArgs, RequestVoteReply,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     proto::{
[INFO] [stdout] 12 |         AppendEntriesArgsPb, AppendEntriesReplyPb, ClientReply, ClientRequest, RequestVoteArgsPb,
[INFO] [stdout]    |                                                    ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/test_util.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub mod network;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `client::Grpc`
[INFO] [stdout]   --> src/test_util.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use tonic::{client::Grpc, transport::Server};
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/lib.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub mod test_util;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `error`
[INFO] [stdout]   --> src/test_util.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/lib.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub mod test_util;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RaftService` and `tpanic`
[INFO] [stdout]   --> src/test_util.rs:21:34
[INFO] [stdout]    |
[INFO] [stdout] 21 |         ApplyMsg, Command, Peer, RaftService, core::RaftConfig,
[INFO] [stdout]    |                                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     tpanic,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/lib.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub mod test_util;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test_util/logger.rs:42:6
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut file = OpenOptions::new()
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n` is never read
[INFO] [stdout]   --> src/test_util/check.rs:10:2
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct LogChecker {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     n: usize,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_rolling_writer` is never used
[INFO] [stdout]   --> src/test_util/logger.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn get_rolling_writer(filename: &str) -> (NonBlocking, WorkerGuard) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test_util/logger.rs:42:6
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut file = OpenOptions::new()
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n` is never read
[INFO] [stdout]   --> src/test_util/check.rs:10:2
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct LogChecker {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     n: usize,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_rolling_writer` is never used
[INFO] [stdout]   --> src/test_util/logger.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn get_rolling_writer(filename: &str) -> (NonBlocking, WorkerGuard) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tpanic`
[INFO] [stdout]  --> tests/election_tests.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rust_raft::{test_util::TestHarness, tpanic};
[INFO] [stdout]   |                                         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> tests/election_tests.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info, instrument, warn};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.83s
[INFO] running `Command { std: "docker" "inspect" "ad1cb8075775a1752b0424129aec74d1044ceda1449f1737df30018e328a7d0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad1cb8075775a1752b0424129aec74d1044ceda1449f1737df30018e328a7d0b", kill_on_drop: false }`
[INFO] [stdout] ad1cb8075775a1752b0424129aec74d1044ceda1449f1737df30018e328a7d0b
