[INFO] cloning repository https://github.com/EwanValentine/rust-paxos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EwanValentine/rust-paxos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEwanValentine%2Frust-paxos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEwanValentine%2Frust-paxos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 331d29815f2185dbbd6fbdf372b89bc6427bd5ef
[INFO] testing EwanValentine/rust-paxos against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEwanValentine%2Frust-paxos" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/EwanValentine/rust-paxos on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/EwanValentine/rust-paxos
[INFO] finished tweaking git repo https://github.com/EwanValentine/rust-paxos
[INFO] tweaked toml for git repo https://github.com/EwanValentine/rust-paxos written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/EwanValentine/rust-paxos already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 85963a4231b890ead601f95a1741da9a7f79b87f775f7f88045046db31d223de
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "85963a4231b890ead601f95a1741da9a7f79b87f775f7f88045046db31d223de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "85963a4231b890ead601f95a1741da9a7f79b87f775f7f88045046db31d223de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85963a4231b890ead601f95a1741da9a7f79b87f775f7f88045046db31d223de", kill_on_drop: false }`
[INFO] [stdout] 85963a4231b890ead601f95a1741da9a7f79b87f775f7f88045046db31d223de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ff5a827506d1dc207c92080d2fdf5755061ad969c9a466ad2dc1c0cdd5963cd0
[INFO] running `Command { std: "docker" "start" "-a" "ff5a827506d1dc207c92080d2fdf5755061ad969c9a466ad2dc1c0cdd5963cd0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling syn v1.0.33
[INFO] [stderr]    Compiling pin-project-internal v0.4.22
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling once_cell v1.4.0
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling cache-padded v1.1.0
[INFO] [stderr]    Compiling waker-fn v1.0.0
[INFO] [stderr]    Compiling parking v1.0.3
[INFO] [stderr]    Compiling async-task v3.0.0
[INFO] [stderr]    Compiling fastrand v1.3.2
[INFO] [stderr]    Compiling pin-project-lite v0.1.7
[INFO] [stderr]    Compiling concurrent-queue v1.1.1
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling kv-log-macro v1.0.6
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling socket2 v0.3.12
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling async-attributes v1.1.1
[INFO] [stderr]    Compiling pin-project v0.4.22
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling blocking v0.4.6
[INFO] [stderr]    Compiling smol v0.1.18
[INFO] [stderr]    Compiling async-std v1.6.2
[INFO] [stderr]    Compiling paxos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/transport/tcp.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::net::ToSocketAddrs`
[INFO] [stdout]  --> src/transport/transport.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_std::net::ToSocketAddrs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]  --> src/transport/transport.rs:8:50
[INFO] [stdout]   |
[INFO] [stdout] 8 |   fn connect<T>(addr: String) -> std::io::Result<(T)>;
[INFO] [stdout]   |                                                  ^ ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 -   fn connect<T>(addr: String) -> std::io::Result<(T)>;
[INFO] [stdout] 8 +   fn connect<T>(addr: String) -> std::io::Result<T>;
[INFO] [stdout]   | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]  --> src/transport/transport.rs:9:62
[INFO] [stdout]   |
[INFO] [stdout] 9 |   fn connect_with_stream<T, S>(stream: S) -> std::io::Result<(T)>;
[INFO] [stdout]   |                                                              ^ ^
[INFO] [stdout]   |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 9 -   fn connect_with_stream<T, S>(stream: S) -> std::io::Result<(T)>;
[INFO] [stdout] 9 +   fn connect_with_stream<T, S>(stream: S) -> std::io::Result<T>;
[INFO] [stdout]   | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/transport/transport.rs:25:60
[INFO] [stdout]    |
[INFO] [stdout] 25 |   pub fn connect<T>(self, addr: String) -> std::io::Result<(T)> {
[INFO] [stdout]    |                                                            ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 -   pub fn connect<T>(self, addr: String) -> std::io::Result<(T)> {
[INFO] [stdout] 25 +   pub fn connect<T>(self, addr: String) -> std::io::Result<T> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/transport/transport.rs:30:72
[INFO] [stdout]    |
[INFO] [stdout] 30 |   pub fn connect_with_stream<T, S>(self, stream: S) -> std::io::Result<(T)> {
[INFO] [stdout]    |                                                                        ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 30 -   pub fn connect_with_stream<T, S>(self, stream: S) -> std::io::Result<(T)> {
[INFO] [stdout] 30 +   pub fn connect_with_stream<T, S>(self, stream: S) -> std::io::Result<T> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/transport/transport.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |   adapter: &'a Adapter
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 -   adapter: &'a Adapter
[INFO] [stdout] 17 +   adapter: &'a dyn Adapter
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Adapter` cannot be made into an object
[INFO] [stdout]   --> src/transport/transport.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |   adapter: &'a Adapter
[INFO] [stdout]    |                ^^^^^^^ `Adapter` cannot be made into an object
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]   --> src/transport/transport.rs:8:6
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub trait Adapter {
[INFO] [stdout]    |           ------- this trait cannot be made into an object...
[INFO] [stdout] 8  |   fn connect<T>(addr: String) -> std::io::Result<(T)>;
[INFO] [stdout]    |      ^^^^^^^ ...because associated function `connect` has no `self` parameter
[INFO] [stdout] 9  |   fn connect_with_stream<T, S>(stream: S) -> std::io::Result<(T)>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^ ...because associated function `connect_with_stream` has no `self` parameter
[INFO] [stdout] help: consider turning `connect` into a method by giving it a `&self` argument
[INFO] [stdout]    |
[INFO] [stdout] 8  |   fn connect<T>(&self, addr: String) -> std::io::Result<(T)>;
[INFO] [stdout]    |                 ++++++
[INFO] [stdout] help: alternatively, consider constraining `connect` so it does not apply to trait objects
[INFO] [stdout]    |
[INFO] [stdout] 8  |   fn connect<T>(addr: String) -> std::io::Result<(T)> where Self: Sized;
[INFO] [stdout]    |                                                       +++++++++++++++++
[INFO] [stdout] help: consider turning `connect_with_stream` into a method by giving it a `&self` argument
[INFO] [stdout]    |
[INFO] [stdout] 9  |   fn connect_with_stream<T, S>(&self, stream: S) -> std::io::Result<(T)>;
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] help: alternatively, consider constraining `connect_with_stream` so it does not apply to trait objects
[INFO] [stdout]    |
[INFO] [stdout] 9  |   fn connect_with_stream<T, S>(stream: S) -> std::io::Result<(T)> where Self: Sized;
[INFO] [stdout]    |                                                                   +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `paxos` due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ff5a827506d1dc207c92080d2fdf5755061ad969c9a466ad2dc1c0cdd5963cd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff5a827506d1dc207c92080d2fdf5755061ad969c9a466ad2dc1c0cdd5963cd0", kill_on_drop: false }`
[INFO] [stdout] ff5a827506d1dc207c92080d2fdf5755061ad969c9a466ad2dc1c0cdd5963cd0
