[INFO] cloning repository https://github.com/marony/raft-on-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marony/raft-on-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarony%2Fraft-on-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarony%2Fraft-on-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e069a7b41fbe41289bea86c7b62b10b2a3761e58
[INFO] testing marony/raft-on-rust against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarony%2Fraft-on-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/marony/raft-on-rust on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/marony/raft-on-rust
[INFO] finished tweaking git repo https://github.com/marony/raft-on-rust
[INFO] tweaked toml for git repo https://github.com/marony/raft-on-rust written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/marony/raft-on-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bincode v0.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8e29f85d2644b97bb2ce21fffdade8f0b32da6a9447eb703282d49238c38ced
[INFO] running `Command { std: "docker" "start" "-a" "e8e29f85d2644b97bb2ce21fffdade8f0b32da6a9447eb703282d49238c38ced", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8e29f85d2644b97bb2ce21fffdade8f0b32da6a9447eb703282d49238c38ced", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8e29f85d2644b97bb2ce21fffdade8f0b32da6a9447eb703282d49238c38ced", kill_on_drop: false }`
[INFO] [stdout] e8e29f85d2644b97bb2ce21fffdade8f0b32da6a9447eb703282d49238c38ced
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 82681c8da6c03f6c7ef4d8b3250f21795e07b314c4780008591a2e1af4f56f06
[INFO] running `Command { std: "docker" "start" "-a" "82681c8da6c03f6c7ef4d8b3250f21795e07b314c4780008591a2e1af4f56f06", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.0.0
[INFO] [stderr]    Compiling num-traits v0.1.36
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling bincode v0.6.1
[INFO] [stderr]    Compiling env_logger v0.3.5
[INFO] [stderr]    Compiling raft-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/raft/receiver.rs:26:54
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn on_receive(&self, message: &message::Message, &address: &SocketAddr) -> (bool, Option<entity::Role>);
[INFO] [stdout]    |                                                      ^^^^^^^^ pattern not allowed in function without body
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread`, `time`
[INFO] [stdout]  --> src/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{thread, time};
[INFO] [stdout]   |           ^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> src/raft/message.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> src/raft/message.rs:3:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustc_serialize`
[INFO] [stdout]  --> src/raft/message.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rustc_serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> src/raft/receiver.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/raft/receiver.rs:54:23
[INFO] [stdout]    |
[INFO] [stdout] 54 |     logic: Option<Box<RaftLogic>>,
[INFO] [stdout]    |                       ^^^^^^^^^ help: use `dyn`: `dyn RaftLogic`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/raft/receiver.rs:90:24
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let logic: Box<RaftLogic> = match role {
[INFO] [stdout]    |                        ^^^^^^^^^ help: use `dyn`: `dyn RaftLogic`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> src/raft/sender.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time`
[INFO] [stdout]  --> src/raft/sender.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{thread, time};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0642`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raft-rust` due to 2 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "82681c8da6c03f6c7ef4d8b3250f21795e07b314c4780008591a2e1af4f56f06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82681c8da6c03f6c7ef4d8b3250f21795e07b314c4780008591a2e1af4f56f06", kill_on_drop: false }`
[INFO] [stdout] 82681c8da6c03f6c7ef4d8b3250f21795e07b314c4780008591a2e1af4f56f06
