[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] testing tawashichan/raft-sample against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Fraft-sample" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tawashichan/raft-sample on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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/source/Cargo.toml
[INFO] crate git repo https://github.com/tawashichan/raft-sample already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf5b894c89cc327b2513ec674b5a1bfa52823c6f9b8eab107ab2883642d9765c
[INFO] running `Command { std: "docker" "start" "-a" "bf5b894c89cc327b2513ec674b5a1bfa52823c6f9b8eab107ab2883642d9765c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf5b894c89cc327b2513ec674b5a1bfa52823c6f9b8eab107ab2883642d9765c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf5b894c89cc327b2513ec674b5a1bfa52823c6f9b8eab107ab2883642d9765c", kill_on_drop: false }`
[INFO] [stdout] bf5b894c89cc327b2513ec674b5a1bfa52823c6f9b8eab107ab2883642d9765c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd711effb6b4d3993a7a4f006c672db43b8c62341d293eb6924f2d18d9b2d77f
[INFO] running `Command { std: "docker" "start" "-a" "cd711effb6b4d3993a7a4f006c672db43b8c62341d293eb6924f2d18d9b2d77f", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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)]` 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: 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 `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: `#[warn(dead_code)]` on by default
[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: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.25s
[INFO] running `Command { std: "docker" "inspect" "cd711effb6b4d3993a7a4f006c672db43b8c62341d293eb6924f2d18d9b2d77f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd711effb6b4d3993a7a4f006c672db43b8c62341d293eb6924f2d18d9b2d77f", kill_on_drop: false }`
[INFO] [stdout] cd711effb6b4d3993a7a4f006c672db43b8c62341d293eb6924f2d18d9b2d77f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8c1f7ea4fc0d3a4473ca7cbded83fe1f2332b4e6bb07078c4013597f44cdfb9
[INFO] running `Command { std: "docker" "start" "-a" "b8c1f7ea4fc0d3a4473ca7cbded83fe1f2332b4e6bb07078c4013597f44cdfb9", kill_on_drop: false }`
[INFO] [stderr]    Compiling raft-model v0.1.0 (/opt/rustwide/workdir)
[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]     |                       ^^^^^^^^^^^^-- an argument 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] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raft-model` due to 2 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b8c1f7ea4fc0d3a4473ca7cbded83fe1f2332b4e6bb07078c4013597f44cdfb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8c1f7ea4fc0d3a4473ca7cbded83fe1f2332b4e6bb07078c4013597f44cdfb9", kill_on_drop: false }`
[INFO] [stdout] b8c1f7ea4fc0d3a4473ca7cbded83fe1f2332b4e6bb07078c4013597f44cdfb9
