[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] testing theghostmac/raft-consensus against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostmac%2Fraft-consensus" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theghostmac/raft-consensus on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 295bbb2cdcbead3aa80d081e62d91c8f881a0281780686f17794194f60867bc4 [INFO] running `Command { std: "docker" "start" "-a" "295bbb2cdcbead3aa80d081e62d91c8f881a0281780686f17794194f60867bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "295bbb2cdcbead3aa80d081e62d91c8f881a0281780686f17794194f60867bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "295bbb2cdcbead3aa80d081e62d91c8f881a0281780686f17794194f60867bc4", kill_on_drop: false }` [INFO] [stdout] 295bbb2cdcbead3aa80d081e62d91c8f881a0281780686f17794194f60867bc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 411bf8bcd0f0327b16bc51f8f1c11f03322a3191a11133ac0dc34a0784feefb5 [INFO] running `Command { std: "docker" "start" "-a" "411bf8bcd0f0327b16bc51f8f1c11f03322a3191a11133ac0dc34a0784feefb5", 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] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling 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 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: fields `election_timeout` and `heartbeat_interval` are never read [INFO] [stdout] --> src/raft/config.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RaftConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2 | pub election_timeout: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | pub heartbeat_interval: u64, [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 `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: variants `Follower`, `Candidate`, and `Leader` are never constructed [INFO] [stdout] --> src/raft/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Follower, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | Candidate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | Leader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stdout] error: failed to write /tmp/rustcWArRJb/lib.rmeta: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-consensus` (lib) due to 1 previous error; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio` (lib) [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/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/bin/rustc --crate-name tokio --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="bytes"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="full"' --cfg 'feature="io-std"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="macros"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="num_cpus"' --cfg 'feature="parking_lot"' --cfg 'feature="process"' --cfg 'feature="rt"' --cfg 'feature="rt-multi-thread"' --cfg 'feature="signal"' --cfg 'feature="signal-hook-registry"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="time"' --cfg 'feature="tokio-macros"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bytes", "default", "fs", "full", "io-std", "io-util", "libc", "macros", "mio", "net", "num_cpus", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "signal-hook-registry", "socket2", "sync", "test-util", "time", "tokio-macros", "tracing", "windows-sys"))' -C metadata=e902765fb1fdaba4 -C extra-filename=-aebea50ed5b91a62 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-9c2a396be262bdae.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-fe9819ecd9fb6bb5.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-a6f70b5d8cb2d717.rmeta --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-7c2dce98dcb84092.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-06cdc1e4c0ab3221.rmeta --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-e0c50e8704e39276.rmeta --extern signal_hook_registry=/opt/rustwide/target/debug/deps/libsignal_hook_registry-80bbe07b92d40203.rmeta --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-ff0e049cb8e7a9c2.rmeta --extern tokio_macros=/opt/rustwide/target/debug/deps/libtokio_macros-5ac461f25abc297e.so --cap-lints allow --cap-lints=forbid` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "411bf8bcd0f0327b16bc51f8f1c11f03322a3191a11133ac0dc34a0784feefb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411bf8bcd0f0327b16bc51f8f1c11f03322a3191a11133ac0dc34a0784feefb5", kill_on_drop: false }` [INFO] [stdout] 411bf8bcd0f0327b16bc51f8f1c11f03322a3191a11133ac0dc34a0784feefb5