[INFO] cloning repository https://github.com/theghostmac/raft-consensus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theghostmac/raft-consensus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostmac%2Fraft-consensus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostmac%2Fraft-consensus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f56f663304e714512e99cde0c49997730c8f376 [INFO] checking theghostmac/raft-consensus against master#4b596bbd847672da87763b76171687d3544863c2 for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostmac%2Fraft-consensus" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/theghostmac/raft-consensus [INFO] finished tweaking git repo https://github.com/theghostmac/raft-consensus [INFO] tweaked toml for git repo https://github.com/theghostmac/raft-consensus written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/theghostmac/raft-consensus on toolchain 4b596bbd847672da87763b76171687d3544863c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/theghostmac/raft-consensus 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" "+4b596bbd847672da87763b76171687d3544863c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e3b5886529de9468888e66ac05cbe5d014a95c79c9f546ba5c9ec82e4095a1e [INFO] running `Command { std: "docker" "start" "-a" "4e3b5886529de9468888e66ac05cbe5d014a95c79c9f546ba5c9ec82e4095a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e3b5886529de9468888e66ac05cbe5d014a95c79c9f546ba5c9ec82e4095a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3b5886529de9468888e66ac05cbe5d014a95c79c9f546ba5c9ec82e4095a1e", kill_on_drop: false }` [INFO] [stdout] 4e3b5886529de9468888e66ac05cbe5d014a95c79c9f546ba5c9ec82e4095a1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f596fab7a5a2df6341df87acba5a0c3d483288fa229b4f470c899b24b5b713f [INFO] running `Command { std: "docker" "start" "-a" "0f596fab7a5a2df6341df87acba5a0c3d483288fa229b4f470c899b24b5b713f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking memchr v2.7.2 [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 serde v1.0.202 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking raft-consensus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LogEntry` [INFO] [stdout] --> src/raft/node.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::raft::log::{Log, LogEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogEntry` [INFO] [stdout] --> src/raft/node.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::raft::log::{Log, LogEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer` [INFO] [stdout] --> src/raft/node.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | for peer in &self.peers { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_peer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_vote` [INFO] [stdout] --> src/raft/node.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let request_vote = request_vote.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer` [INFO] [stdout] --> src/raft/node.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | for peer in &self.peers { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_peer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `append_entries` [INFO] [stdout] --> src/raft/node.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let append_entries = append_entries.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_append_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer` [INFO] [stdout] --> src/raft/node.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | for peer in &self.peers { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_peer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_vote` [INFO] [stdout] --> src/raft/node.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let request_vote = request_vote.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer` [INFO] [stdout] --> src/raft/node.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | for peer in &self.peers { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_peer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `append_entries` [INFO] [stdout] --> src/raft/node.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let append_entries = append_entries.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_append_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RaftConfig` is never constructed [INFO] [stdout] --> src/raft/config.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RaftConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_request_vote` is never used [INFO] [stdout] --> src/raft/election.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 4 | impl RaftNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 5 | pub async fn handle_request_vote(&mut self, request: RequestVote) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogEntry` is never constructed [INFO] [stdout] --> src/raft/log.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LogEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Log` is never constructed [INFO] [stdout] --> src/raft/log.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `append`, `last_entry`, `last_index`, and `last_term` are never used [INFO] [stdout] --> src/raft/log.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Log { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn append(&mut self, entry: LogEntry) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn last_entry(&self) -> Option<&LogEntry> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn last_index(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn last_term(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RaftNode` is never constructed [INFO] [stdout] --> src/raft/node.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RaftNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `run`, `run_follower`, `run_candidate`, and `run_leader` are never used [INFO] [stdout] --> src/raft/node.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl RaftNode { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(config: RaftConfig, id: u64, peers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | async fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | async fn run_follower(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | async fn run_candidate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | async fn run_leader(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_append_entries` is never used [INFO] [stdout] --> src/raft/replication.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 4 | impl RaftNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 5 | pub async fn handle_append_entries(&mut self, request: AppendEntries) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/raft/state.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestVote` is never constructed [INFO] [stdout] --> src/raft/rpc.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RequestVote { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppendEntries` is never constructed [INFO] [stdout] --> src/raft/rpc.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AppendEntries { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_request_vote` and `send_append_entries` are never used [INFO] [stdout] --> src/network/client.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl RaftNode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 8 | pub async fn send_request_vote(&self, peer: &str, request_vote: RequestVote) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn send_append_entries(&self, peer: &str, append_entries: AppendEntries) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_server` is never used [INFO] [stdout] --> src/network/server.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl RaftNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 8 | pub async fn start_server(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RaftConfig` is never constructed [INFO] [stdout] --> src/raft/config.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RaftConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_request_vote` is never used [INFO] [stdout] --> src/raft/election.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 4 | impl RaftNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 5 | pub async fn handle_request_vote(&mut self, request: RequestVote) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-consensus` (lib test); 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/4b596bbd847672da87763b76171687d3544863c2/bin/rustc --crate-name raft_consensus --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ab997d0c50189186 -C extra-filename=-b30141bc837f3d48 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-d258f07ef7a75f8b.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-6336f7e0658fb5a4.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-1a642c1cccd84882.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-329e530428a0e25f.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-1d16c89670115810.rmeta --cap-lints=forbid` (exit status: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `LogEntry` [INFO] [stdout] --> src/raft/node.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::raft::log::{Log, LogEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogEntry` [INFO] [stdout] --> src/raft/node.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::raft::log::{Log, LogEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer` [INFO] [stdout] --> src/raft/node.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | for peer in &self.peers { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_peer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_vote` [INFO] [stdout] --> src/raft/node.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let request_vote = request_vote.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer` [INFO] [stdout] --> src/raft/node.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | for peer in &self.peers { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_peer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `append_entries` [INFO] [stdout] --> src/raft/node.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let append_entries = append_entries.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_append_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_request_vote` is never used [INFO] [stdout] --> src/raft/election.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 4 | impl RaftNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 5 | pub async fn handle_request_vote(&mut self, request: RequestVote) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append`, `last_entry`, `last_index`, and `last_term` are never used [INFO] [stdout] --> src/raft/log.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Log { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn append(&mut self, entry: LogEntry) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn last_entry(&self) -> Option<&LogEntry> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn last_index(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn last_term(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `last_applied` are never read [INFO] [stdout] --> src/raft/node.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RaftNode { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | config: RaftConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | last_applied: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_append_entries` is never used [INFO] [stdout] --> src/raft/replication.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 4 | impl RaftNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 5 | pub async fn handle_append_entries(&mut self, request: AppendEntries) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_request_vote` and `send_append_entries` are never used [INFO] [stdout] --> src/network/client.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl RaftNode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 8 | pub async fn send_request_vote(&self, peer: &str, request_vote: RequestVote) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn send_append_entries(&self, peer: &str, append_entries: AppendEntries) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_server` is never used [INFO] [stdout] --> src/network/server.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl RaftNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 8 | pub async fn start_server(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-consensus` (bin "raft-consensus" test); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/4b596bbd847672da87763b76171687d3544863c2/bin/rustc --crate-name raft_consensus --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1d6585e2c8e80c34 -C extra-filename=-2ac44b25e138d0d9 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-d258f07ef7a75f8b.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-6336f7e0658fb5a4.rmeta --extern raft_consensus=/opt/rustwide/target/debug/deps/libraft_consensus-6dc065b42cb8d346.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-1a642c1cccd84882.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-329e530428a0e25f.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-1d16c89670115810.rmeta --cap-lints=forbid` (exit status: 0) [INFO] running `Command { std: "docker" "inspect" "0f596fab7a5a2df6341df87acba5a0c3d483288fa229b4f470c899b24b5b713f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f596fab7a5a2df6341df87acba5a0c3d483288fa229b4f470c899b24b5b713f", kill_on_drop: false }` [INFO] [stdout] 0f596fab7a5a2df6341df87acba5a0c3d483288fa229b4f470c899b24b5b713f