[INFO] cloning repository https://github.com/rachit95arora/rusty_raft
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rachit95arora/rusty_raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frachit95arora%2Frusty_raft", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frachit95arora%2Frusty_raft'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 72c85e9ec56c5c8ac4ef7fc1ba18178dba39154b
[INFO] checking rachit95arora/rusty_raft against try#09eeb2bacb9b40b2ed1d47f03177442c0632cda1 for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frachit95arora%2Frusty_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/rachit95arora/rusty_raft
[INFO] finished tweaking git repo https://github.com/rachit95arora/rusty_raft
[INFO] tweaked toml for git repo https://github.com/rachit95arora/rusty_raft written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rachit95arora/rusty_raft on toolchain 09eeb2bacb9b40b2ed1d47f03177442c0632cda1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rachit95arora/rusty_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" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "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] 1722a12f39670ae3d868319dd7e77c4fd0b4394ea1bd45e727028aeadd7282c3
[INFO] running `Command { std: "docker" "start" "1722a12f39670ae3d868319dd7e77c4fd0b4394ea1bd45e727028aeadd7282c3", 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" "1722a12f39670ae3d868319dd7e77c4fd0b4394ea1bd45e727028aeadd7282c3" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1722a12f39670ae3d868319dd7e77c4fd0b4394ea1bd45e727028aeadd7282c3", 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" "1722a12f39670ae3d868319dd7e77c4fd0b4394ea1bd45e727028aeadd7282c3" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.83
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking futures-sink v0.3.19
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]     Checking futures-io v0.3.19
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]    Compiling serde_derive v1.0.133
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling serde v1.0.133
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]     Checking tokio v1.15.0
[INFO] [stderr]     Checking futures-executor v0.3.19
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking futures v0.3.19
[INFO] [stderr]     Checking rusty_raft v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `types`
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod types;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `types`, create file "src/types.rs" or "src/types/mod.rs"
[INFO] [stdout]   = note: if there is a `mod types` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `types`
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod types;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `types`, create file "src/types.rs" or "src/types/mod.rs"
[INFO] [stdout]   = note: if there is a `mod types` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread_rng`
[INFO] [stdout]  --> src/controller.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::{prelude::ThreadRng, thread_rng, Rng};
[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: `thread_rng`
[INFO] [stdout]  --> src/controller.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::{prelude::ThreadRng, thread_rng, Rng};
[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 variable: `conf`
[INFO] [stdout]    --> src/controller.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn new(conf: RaftConf<CommandType>) -> Result<Self, ControllerError> {
[INFO] [stdout]     |            ^^^^ help: if this is intentional, prefix it with an underscore: `_conf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_message`
[INFO] [stdout]    --> src/controller.rs:186:17
[INFO] [stdout]     |
[INFO] [stdout] 186 |                 peer_message = self.comms.receive() => {
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_request`
[INFO] [stdout]    --> src/controller.rs:198:25
[INFO] [stdout]     |
[INFO] [stdout] 198 |                     let client_request = client_request.unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/persistance.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |             Err(err) => return Err(LogError::SeekError(SeekFrom::End(0))),
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/data.rs:100:21
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if let Some(len) = Self::length_if_can_parse(&bytes[..]) {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conf`
[INFO] [stdout]    --> src/controller.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn new(conf: RaftConf<CommandType>) -> Result<Self, ControllerError> {
[INFO] [stdout]     |            ^^^^ help: if this is intentional, prefix it with an underscore: `_conf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_message`
[INFO] [stdout]    --> src/controller.rs:186:17
[INFO] [stdout]     |
[INFO] [stdout] 186 |                 peer_message = self.comms.receive() => {
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_request`
[INFO] [stdout]    --> src/controller.rs:198:25
[INFO] [stdout]     |
[INFO] [stdout] 198 |                     let client_request = client_request.unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/persistance.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |             Err(err) => return Err(LogError::SeekError(SeekFrom::End(0))),
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/data.rs:100:21
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if let Some(len) = Self::length_if_can_parse(&bytes[..]) {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty_raft` (bin "rusty_raft") due to 1 previous error; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty_raft` (bin "rusty_raft" test) due to 1 previous error; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1722a12f39670ae3d868319dd7e77c4fd0b4394ea1bd45e727028aeadd7282c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1722a12f39670ae3d868319dd7e77c4fd0b4394ea1bd45e727028aeadd7282c3", kill_on_drop: false }`
[INFO] [stdout] 1722a12f39670ae3d868319dd7e77c4fd0b4394ea1bd45e727028aeadd7282c3
