[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] testing rachit95arora/rusty_raft against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frachit95arora%2Frusty_raft" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rachit95arora/rusty_raft on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-macro v0.3.19 [INFO] [stderr] Downloaded futures v0.3.19 [INFO] [stderr] Downloaded futures-executor v0.3.19 [INFO] [stderr] Downloaded syn v1.0.83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9d15e97bfe3c3d74f8611ba151d144f92049adef23f255893e782dc10096f0b [INFO] running `Command { std: "docker" "start" "-a" "a9d15e97bfe3c3d74f8611ba151d144f92049adef23f255893e782dc10096f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9d15e97bfe3c3d74f8611ba151d144f92049adef23f255893e782dc10096f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9d15e97bfe3c3d74f8611ba151d144f92049adef23f255893e782dc10096f0b", kill_on_drop: false }` [INFO] [stdout] a9d15e97bfe3c3d74f8611ba151d144f92049adef23f255893e782dc10096f0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea471a5ca06d9d807096c6940174087d09eccaa125f89146cd30963e77f4178f [INFO] running `Command { std: "docker" "start" "-a" "ea471a5ca06d9d807096c6940174087d09eccaa125f89146cd30963e77f4178f", 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] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling 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] 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)]` 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] = note: `#[warn(unused_variables)]` on by default [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: `conf` [INFO] [stdout] --> src/controller.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | fn new(conf: RaftConf) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [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] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_raft` (bin "rusty_raft") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea471a5ca06d9d807096c6940174087d09eccaa125f89146cd30963e77f4178f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea471a5ca06d9d807096c6940174087d09eccaa125f89146cd30963e77f4178f", kill_on_drop: false }` [INFO] [stdout] ea471a5ca06d9d807096c6940174087d09eccaa125f89146cd30963e77f4178f