[INFO] cloning repository https://github.com/tawashichan/raft-sample
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tawashichan/raft-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Fraft-sample", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Fraft-sample'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6ab1cac6ce1cd073f331d8e875f298c8cf5930b7
[INFO] checking tawashichan/raft-sample/6ab1cac6ce1cd073f331d8e875f298c8cf5930b7 against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Fraft-sample" "/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/tawashichan/raft-sample
[INFO] finished tweaking git repo https://github.com/tawashichan/raft-sample
[INFO] tweaked toml for git repo https://github.com/tawashichan/raft-sample written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tawashichan/raft-sample on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tawashichan/raft-sample 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking tawashichan/raft-sample/6ab1cac6ce1cd073f331d8e875f298c8cf5930b7 against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Fraft-sample" "/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/tawashichan/raft-sample
[INFO] finished tweaking git repo https://github.com/tawashichan/raft-sample
[INFO] tweaked toml for git repo https://github.com/tawashichan/raft-sample written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tawashichan/raft-sample on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tawashichan/raft-sample 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking tawashichan/raft-sample/6ab1cac6ce1cd073f331d8e875f298c8cf5930b7 against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Fraft-sample" "/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/tawashichan/raft-sample
[INFO] finished tweaking git repo https://github.com/tawashichan/raft-sample
[INFO] tweaked toml for git repo https://github.com/tawashichan/raft-sample written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tawashichan/raft-sample on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tawashichan/raft-sample 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9c9fe8407a1c81ef40e8bb271a8a6abde005be7af2f44cd80d66e575ea12caf7
[INFO] running `Command { std: "docker" "start" "-a" "9c9fe8407a1c81ef40e8bb271a8a6abde005be7af2f44cd80d66e575ea12caf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9c9fe8407a1c81ef40e8bb271a8a6abde005be7af2f44cd80d66e575ea12caf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c9fe8407a1c81ef40e8bb271a8a6abde005be7af2f44cd80d66e575ea12caf7", kill_on_drop: false }`
[INFO] [stdout] 9c9fe8407a1c81ef40e8bb271a8a6abde005be7af2f44cd80d66e575ea12caf7
[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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03d059f4358f9e4f44be3e9ad2c8a8568479d79d447b6fe40cfa2b1bf74809dd
[INFO] running `Command { std: "docker" "start" "-a" "03d059f4358f9e4f44be3e9ad2c8a8568479d79d447b6fe40cfa2b1bf74809dd", kill_on_drop: false }`
[INFO] [stderr]     Checking raft-model v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]    --> src/main.rs:321:34
[INFO] [stdout]     |
[INFO] [stdout] 321 |             Reply::AppendEntries(body) => {
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/main.rs:553:23
[INFO] [stdout]     |
[INFO] [stdout] 553 |     let mut history = History::new();
[INFO] [stdout]     |                       ^^^^^^^^^^^^-- argument #1 of type `Vec<Event>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/main.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 |     fn new(events: Vec<Event>) -> History {
[INFO] [stdout]     |        ^^^ ------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 553 |     let mut history = History::new(/* Vec<Event> */);
[INFO] [stdout]     |                                    ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/main.rs:379:60
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let node_ids: Vec<NodeId> = nodes.iter().map(|(id, node)| id.clone()).collect();
[INFO] [stdout]     |                                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:446:21
[INFO] [stdout]     |
[INFO] [stdout] 446 |                 let mut node = nodes.get_mut(id).unwrap();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:452:21
[INFO] [stdout]     |
[INFO] [stdout] 452 |                 let mut node = nodes.get_mut(id).unwrap();
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/main.rs:459:28
[INFO] [stdout]     |
[INFO] [stdout] 459 |             Event::Request(val, _) => self,
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct CommitIndex(i64);
[INFO] [stdout]    |        ----------- ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `CommitIndex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Log {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] 36 |     term: i64,
[INFO] [stdout] 37 |     value: i64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Log` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commit_index` is never read
[INFO] [stdout]   --> src/main.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Node {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 |     commit_index: CommitIndex,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `next_index` and `match_index` are never read
[INFO] [stdout]   --> src/main.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct Peer {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 61 |     next_index: i64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 62 |     match_index: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Peer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `term`, `from`, `success`, and `match_index` are never read
[INFO] [stdout]   --> src/main.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct AppendEntriesResp {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] 68 |     term: Term,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 69 |     from: NodeId,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 70 |     to: NodeId,
[INFO] [stdout] 71 |     success: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 72 |     match_index: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppendEntriesResp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prev_index`, `prev_term`, `entries`, and `commit_index` are never read
[INFO] [stdout]    --> src/main.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | struct AppendEntriesReq {
[INFO] [stdout]     |        ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 106 |     prev_index: i64, // 何のためにある?
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 107 |     prev_term: i64,  // 何のためにある?
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 108 |     entries: Vec<Log>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 109 |     commit_index: i64,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AppendEntriesReq` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Request` is never constructed
[INFO] [stdout]    --> src/main.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 119 | enum Event {
[INFO] [stdout]     |      ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 122 |     Request(i64, i64),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]    --> src/main.rs:321:34
[INFO] [stdout]     |
[INFO] [stdout] 321 |             Reply::AppendEntries(body) => {
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/main.rs:379:60
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let node_ids: Vec<NodeId> = nodes.iter().map(|(id, node)| id.clone()).collect();
[INFO] [stdout]     |                                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:446:21
[INFO] [stdout]     |
[INFO] [stdout] 446 |                 let mut node = nodes.get_mut(id).unwrap();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:452:21
[INFO] [stdout]     |
[INFO] [stdout] 452 |                 let mut node = nodes.get_mut(id).unwrap();
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/main.rs:459:28
[INFO] [stdout]     |
[INFO] [stdout] 459 |             Event::Request(val, _) => self,
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raft-model` (bin "raft-model" test) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "03d059f4358f9e4f44be3e9ad2c8a8568479d79d447b6fe40cfa2b1bf74809dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03d059f4358f9e4f44be3e9ad2c8a8568479d79d447b6fe40cfa2b1bf74809dd", kill_on_drop: false }`
[INFO] [stdout] 03d059f4358f9e4f44be3e9ad2c8a8568479d79d447b6fe40cfa2b1bf74809dd
