[INFO] cloning repository https://github.com/gwint/mystorers
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gwint/mystorers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgwint%2Fmystorers", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgwint%2Fmystorers'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 060250f56c84c75f2395a723923abf4e517094e0
[INFO] testing gwint/mystorers against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgwint%2Fmystorers" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gwint/mystorers
[INFO] finished tweaking git repo https://github.com/gwint/mystorers
[INFO] tweaked toml for git repo https://github.com/gwint/mystorers written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gwint/mystorers on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gwint/mystorers 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thrift v0.13.0
[INFO] [stderr]   Downloaded hermit-abi v0.1.13
[INFO] [stderr]   Downloaded integer-encoding v1.1.5
[INFO] [stderr]   Downloaded libc v0.2.71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f9d705748955e2182d6bfc99eeecd8ee7fc3c88659b037b8b884dba00b67288e
[INFO] running `Command { std: "docker" "start" "-a" "f9d705748955e2182d6bfc99eeecd8ee7fc3c88659b037b8b884dba00b67288e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9d705748955e2182d6bfc99eeecd8ee7fc3c88659b037b8b884dba00b67288e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9d705748955e2182d6bfc99eeecd8ee7fc3c88659b037b8b884dba00b67288e", kill_on_drop: false }`
[INFO] [stdout] f9d705748955e2182d6bfc99eeecd8ee7fc3c88659b037b8b884dba00b67288e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3cfa12762f15fac764b9252f335a894cad653263bf6bb1a2c83e665cf1fdca16
[INFO] running `Command { std: "docker" "start" "-a" "3cfa12762f15fac764b9252f335a894cad653263bf6bb1a2c83e665cf1fdca16", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling integer-encoding v1.1.5
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling thrift v0.13.0
[INFO] [stderr]    Compiling mystorers v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]  --> src/lib.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex};
[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: `std::collections::HashMap`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `entry_position`, `target_host`, and `target_port` are never read
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Job {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 5 |     entry_position : u32,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     target_host : String,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 7 |     target_port : u32
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LockHandler` is never constructed
[INFO] [stdout]   --> src/lib.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct LockHandler {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/replicaservice.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments, type_complexity))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rc`
[INFO] [stdout]  --> src/main.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::rc::{Rc};
[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: `std::thread`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EntryType`
[INFO] [stdout]   --> src/main.rs:14:29
[INFO] [stdout]    |
[INFO] [stdout] 14 | use replicaservice::{Entry, EntryType, ID, ReplicaServiceSyncProcessor, ReplicaServiceSyncHandler, PutResponse, GetResponse, AppendE...
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1060:19
[INFO] [stdout]      |
[INFO] [stdout] 1060 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1097:19
[INFO] [stdout]      |
[INFO] [stdout] 1097 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1134:19
[INFO] [stdout]      |
[INFO] [stdout] 1134 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1171:19
[INFO] [stdout]      |
[INFO] [stdout] 1171 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1199:19
[INFO] [stdout]      |
[INFO] [stdout] 1199 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1232:19
[INFO] [stdout]      |
[INFO] [stdout] 1232 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1260:19
[INFO] [stdout]      |
[INFO] [stdout] 1260 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1293:19
[INFO] [stdout]      |
[INFO] [stdout] 1293 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1330:19
[INFO] [stdout]      |
[INFO] [stdout] 1330 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/main.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn new(port : u32) -> Self {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/main.rs:84:35
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `candidate_i_d`
[INFO] [stdout]   --> src/main.rs:84:46
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_i_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_log_index`
[INFO] [stdout]   --> src/main.rs:84:65
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_log_term`
[INFO] [stdout]   --> src/main.rs:84:86
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stdout]    |                                                                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/main.rs:88:35
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn handle_append_entry(&self, term: i32, leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i...
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_i_d`
[INFO] [stdout]   --> src/main.rs:88:46
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn handle_append_entry(&self, term: i32, leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i...
[INFO] [stdout]    |                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_i_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prev_log_index`
[INFO] [stdout]   --> src/main.rs:88:62
[INFO] [stdout]    |
[INFO] [stdout] 88 | ..., leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_log_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prev_log_term`
[INFO] [stdout]   --> src/main.rs:88:83
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...ev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_log_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]   --> src/main.rs:88:103
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_commit`
[INFO] [stdout]   --> src/main.rs:88:117
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_commit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/main.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn handle_get(&self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result<GetResponse> {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_identifier`
[INFO] [stdout]   --> src/main.rs:93:39
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn handle_get(&self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result<GetResponse> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request_identifier`
[INFO] [stdout]   --> src/main.rs:93:66
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn handle_get(&self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result<GetResponse> {
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/main.rs:97:26
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn handle_put(&self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result<PutRespon...
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/main.rs:97:39
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn handle_put(&self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result<PutRespon...
[INFO] [stdout]    |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_identifier`
[INFO] [stdout]   --> src/main.rs:97:54
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...value: String, client_identifier: String, request_identifier: i32) -> thrift::Result<PutResponse> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request_identifier`
[INFO] [stdout]   --> src/main.rs:97:81
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...fier: String, request_identifier: i32) -> thrift::Result<PutResponse> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_term`
[INFO] [stdout]    --> src/main.rs:132:39
[INFO] [stdout]     |
[INFO] [stdout] 132 |     fn handle_install_snapshot(&self, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: ...
[INFO] [stdout]     |                                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_i_d`
[INFO] [stdout]    --> src/main.rs:132:57
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...lf, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: Vec<u8>, done: bool)...
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_i_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_included_index`
[INFO] [stdout]    --> src/main.rs:132:73
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...der_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_included_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_included_term`
[INFO] [stdout]    --> src/main.rs:132:99
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...d_index: i32, last_included_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_included_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/main.rs:132:124
[INFO] [stdout]     |
[INFO] [stdout] 132 | ... last_included_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/main.rs:132:137
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...ded_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stdout]     |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `done`
[INFO] [stdout]    --> src/main.rs:132:152
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stdout]     |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_done`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endpoints`
[INFO] [stdout]    --> src/main.rs:136:44
[INFO] [stdout]     |
[INFO] [stdout] 136 |     fn handle_add_new_configuration(&self, endpoints: Vec<ID>) -> thrift::Result<bool> {
[INFO] [stdout]     |                                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoints`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CANDIDATE` and `LEADER` are never constructed
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum ReplicaState {
[INFO] [stdout]    |      ------------ variants in this enum
[INFO] [stdout] 17 |     FOLLOWER,
[INFO] [stdout] 18 |     CANDIDATE,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 19 |     LEADER
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Replica {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout] 23 |     state : Arc<Mutex<ReplicaState>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     current_term : Arc<Mutex<u32>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 25 |     log : Arc<Mutex<Vec<Entry>>>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 26 |     commit_index : Arc<Mutex<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 27 |     last_applied : Arc<Mutex<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 28 |     next_index : Arc<Mutex<Vec<usize>>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 29 |     match_index : Arc<Mutex<Vec<usize>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 30 |     time_left : Arc<Mutex<u32>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 31 |     timeout : Arc<u32>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 32 |     voted_for : Arc<Mutex<ID>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 33 |     leader : Arc<Mutex<ID>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 34 |     state_machine : Arc<Mutex<HashMap<String, String>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 35 |     current_request_being_serviced : Arc<Mutex<u32>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     noop_index : Arc<Mutex<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 37 |     jobs_to_retry : Arc<Mutex<VecDeque<mystorers::Job>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 38 |     cluster_membership : Arc<Mutex<Vec<ID>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 39 |     has_operation_started : bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     my_id : ID
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `replica` is never read
[INFO] [stdout]   --> src/main.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | struct Container {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 69 |     replica : Arc<Mutex<Replica>>
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `timer` is never used
[INFO] [stdout]   --> src/main.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl Container {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn timer() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]   --> src/replicaservice.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl EntryType {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 52 |   pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `write_to_out_protocol` are never used
[INFO] [stdout]    --> src/replicaservice.rs:97:10
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl Entry {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  97 |   pub fn new<F1, F2, F3, F4, F5, F6, F7>(type_: F1, key: F2, value: F3, term: F4, client_identifier: F5, request_identifier: F6, ne...
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |   pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stdout]    --> src/replicaservice.rs:271:10
[INFO] [stdout]     |
[INFO] [stdout] 270 | impl AppendEntryResponse {
[INFO] [stdout]     | ------------------------ associated functions in this implementation
[INFO] [stdout] 271 |   pub fn new<F1, F2, F3, F4>(success: F1, term: F2, prev_log_index: F3, number_of_entries_added: F4) -> AppendEntryResponse where F...
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<AppendEntryResponse> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stdout]    --> src/replicaservice.rs:385:10
[INFO] [stdout]     |
[INFO] [stdout] 384 | impl Ballot {
[INFO] [stdout]     | ----------- associated functions in this implementation
[INFO] [stdout] 385 |   pub fn new<F1, F2>(vote_granted: F1, term: F2) -> Ballot where F1: Into<Option<bool>>, F2: Into<Option<i32>> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<Ballot> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stdout]    --> src/replicaservice.rs:549:10
[INFO] [stdout]     |
[INFO] [stdout] 548 | impl PutResponse {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout] 549 |   pub fn new<F1, F2>(success: F1, leader_i_d: F2) -> PutResponse where F1: Into<Option<i32>>, F2: Into<Option<ID>> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 555 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<PutResponse> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stdout]    --> src/replicaservice.rs:632:10
[INFO] [stdout]     |
[INFO] [stdout] 631 | impl GetResponse {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout] 632 |   pub fn new<F1, F2, F3>(success: F1, value: F2, leader_i_d: F3) -> GetResponse where F1: Into<Option<bool>>, F2: Into<Option<Strin...
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 639 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<GetResponse> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TReplicaServiceSyncClient` is never used
[INFO] [stdout]    --> src/replicaservice.rs:723:11
[INFO] [stdout]     |
[INFO] [stdout] 723 | pub trait TReplicaServiceSyncClient {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TReplicaServiceSyncClientMarker` is never used
[INFO] [stdout]    --> src/replicaservice.rs:735:11
[INFO] [stdout]     |
[INFO] [stdout] 735 | pub trait TReplicaServiceSyncClientMarker {}
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReplicaServiceSyncClient` is never constructed
[INFO] [stdout]    --> src/replicaservice.rs:737:12
[INFO] [stdout]     |
[INFO] [stdout] 737 | pub struct ReplicaServiceSyncClient<IP, OP> where IP: TInputProtocol, OP: TOutputProtocol {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/replicaservice.rs:744:10
[INFO] [stdout]     |
[INFO] [stdout] 743 | impl <IP, OP> ReplicaServiceSyncClient<IP, OP> where IP: TInputProtocol, OP: TOutputProtocol {
[INFO] [stdout]     | -------------------------------------------------------------------------------------------- associated function in this implementation
[INFO] [stdout] 744 |   pub fn new(input_protocol: IP, output_protocol: OP) -> ReplicaServiceSyncClient<IP, OP> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:1452:6
[INFO] [stdout]      |
[INFO] [stdout] 1403 | impl ReplicaServiceRequestVoteArgs {
[INFO] [stdout]      | ---------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1452 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:1482:6
[INFO] [stdout]      |
[INFO] [stdout] 1481 | impl ReplicaServiceRequestVoteResult {
[INFO] [stdout]      | ------------------------------------ associated items in this implementation
[INFO] [stdout] 1482 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceRequestVoteResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1522 |   fn ok_or(self) -> thrift::Result<Ballot> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:1615:6
[INFO] [stdout]      |
[INFO] [stdout] 1552 | impl ReplicaServiceAppendEntryArgs {
[INFO] [stdout]      | ---------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1615 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:1651:6
[INFO] [stdout]      |
[INFO] [stdout] 1650 | impl ReplicaServiceAppendEntryResult {
[INFO] [stdout]      | ------------------------------------ associated items in this implementation
[INFO] [stdout] 1651 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceAppendEntryResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1691 |   fn ok_or(self) -> thrift::Result<AppendEntryResponse> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:1760:6
[INFO] [stdout]      |
[INFO] [stdout] 1718 | impl ReplicaServiceGetArgs {
[INFO] [stdout]      | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1760 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:1787:6
[INFO] [stdout]      |
[INFO] [stdout] 1786 | impl ReplicaServiceGetResult {
[INFO] [stdout]      | ---------------------------- associated items in this implementation
[INFO] [stdout] 1787 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceGetResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1827 |   fn ok_or(self) -> thrift::Result<GetResponse> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:1904:6
[INFO] [stdout]      |
[INFO] [stdout] 1855 | impl ReplicaServicePutArgs {
[INFO] [stdout]      | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1904 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:1934:6
[INFO] [stdout]      |
[INFO] [stdout] 1933 | impl ReplicaServicePutResult {
[INFO] [stdout]      | ---------------------------- associated items in this implementation
[INFO] [stdout] 1934 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServicePutResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1974 |   fn ok_or(self) -> thrift::Result<PutResponse> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:2018:6
[INFO] [stdout]      |
[INFO] [stdout] 1998 | impl ReplicaServiceKillArgs {
[INFO] [stdout]      | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2018 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:2054:6
[INFO] [stdout]      |
[INFO] [stdout] 2034 | impl ReplicaServiceGetInformationArgs {
[INFO] [stdout]      | ------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2054 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:2072:6
[INFO] [stdout]      |
[INFO] [stdout] 2071 | impl ReplicaServiceGetInformationResult {
[INFO] [stdout]      | --------------------------------------- associated items in this implementation
[INFO] [stdout] 2072 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceGetInformationResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2124 |   fn ok_or(self) -> thrift::Result<BTreeMap<String, String>> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:2168:6
[INFO] [stdout]      |
[INFO] [stdout] 2148 | impl ReplicaServiceStartArgs {
[INFO] [stdout]      | ---------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2168 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:2261:6
[INFO] [stdout]      |
[INFO] [stdout] 2191 | impl ReplicaServiceInstallSnapshotArgs {
[INFO] [stdout]      | -------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2261 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:2300:6
[INFO] [stdout]      |
[INFO] [stdout] 2299 | impl ReplicaServiceInstallSnapshotResult {
[INFO] [stdout]      | ---------------------------------------- associated items in this implementation
[INFO] [stdout] 2300 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceInstallSnapshotResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2340 |   fn ok_or(self) -> thrift::Result<i32> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:2399:6
[INFO] [stdout]      |
[INFO] [stdout] 2365 | impl ReplicaServiceAddNewConfigurationArgs {
[INFO] [stdout]      | ------------------------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2399 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:2424:6
[INFO] [stdout]      |
[INFO] [stdout] 2423 | impl ReplicaServiceAddNewConfigurationResult {
[INFO] [stdout]      | -------------------------------------------- associated items in this implementation
[INFO] [stdout] 2424 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceAddNewConfigurationResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2464 |   fn ok_or(self) -> thrift::Result<bool> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.72s
[INFO] running `Command { std: "docker" "inspect" "3cfa12762f15fac764b9252f335a894cad653263bf6bb1a2c83e665cf1fdca16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cfa12762f15fac764b9252f335a894cad653263bf6bb1a2c83e665cf1fdca16", kill_on_drop: false }`
[INFO] [stdout] 3cfa12762f15fac764b9252f335a894cad653263bf6bb1a2c83e665cf1fdca16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 16146d79dd06c4475ab60343145299047f85f0d01d1511e9b1ceed224ea27b68
[INFO] running `Command { std: "docker" "start" "-a" "16146d79dd06c4475ab60343145299047f85f0d01d1511e9b1ceed224ea27b68", kill_on_drop: false }`
[INFO] [stderr]    Compiling mystorers v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]  --> src/lib.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex};
[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: `std::collections::HashMap`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `entry_position`, `target_host`, and `target_port` are never read
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Job {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 5 |     entry_position : u32,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     target_host : String,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 7 |     target_port : u32
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LockHandler` is never constructed
[INFO] [stdout]   --> src/lib.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct LockHandler {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/replicaservice.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments, type_complexity))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rc`
[INFO] [stdout]  --> src/main.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::rc::{Rc};
[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: `std::thread`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EntryType`
[INFO] [stdout]   --> src/main.rs:14:29
[INFO] [stdout]    |
[INFO] [stdout] 14 | use replicaservice::{Entry, EntryType, ID, ReplicaServiceSyncProcessor, ReplicaServiceSyncHandler, PutResponse, GetResponse, AppendE...
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1060:19
[INFO] [stdout]      |
[INFO] [stdout] 1060 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1097:19
[INFO] [stdout]      |
[INFO] [stdout] 1097 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1134:19
[INFO] [stdout]      |
[INFO] [stdout] 1134 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1171:19
[INFO] [stdout]      |
[INFO] [stdout] 1171 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1199:19
[INFO] [stdout]      |
[INFO] [stdout] 1199 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1232:19
[INFO] [stdout]      |
[INFO] [stdout] 1232 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1260:19
[INFO] [stdout]      |
[INFO] [stdout] 1260 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1293:19
[INFO] [stdout]      |
[INFO] [stdout] 1293 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]     --> src/replicaservice.rs:1330:19
[INFO] [stdout]      |
[INFO] [stdout] 1330 |                 e.description()
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]  --> src/lib.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex};
[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: `std::collections::HashMap`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `entry_position`, `target_host`, and `target_port` are never read
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Job {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 5 |     entry_position : u32,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     target_host : String,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 7 |     target_port : u32
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LockHandler` is never constructed
[INFO] [stdout]   --> src/lib.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct LockHandler {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/main.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn new(port : u32) -> Self {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/main.rs:84:35
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `candidate_i_d`
[INFO] [stdout]   --> src/main.rs:84:46
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_i_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_log_index`
[INFO] [stdout]   --> src/main.rs:84:65
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_log_term`
[INFO] [stdout]   --> src/main.rs:84:86
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stdout]    |                                                                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/main.rs:88:35
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn handle_append_entry(&self, term: i32, leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i...
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_i_d`
[INFO] [stdout]   --> src/main.rs:88:46
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn handle_append_entry(&self, term: i32, leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i...
[INFO] [stdout]    |                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_i_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prev_log_index`
[INFO] [stdout]   --> src/main.rs:88:62
[INFO] [stdout]    |
[INFO] [stdout] 88 | ..., leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_log_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prev_log_term`
[INFO] [stdout]   --> src/main.rs:88:83
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...ev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_log_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]   --> src/main.rs:88:103
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_commit`
[INFO] [stdout]   --> src/main.rs:88:117
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_commit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/main.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn handle_get(&self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result<GetResponse> {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_identifier`
[INFO] [stdout]   --> src/main.rs:93:39
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn handle_get(&self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result<GetResponse> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request_identifier`
[INFO] [stdout]   --> src/main.rs:93:66
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn handle_get(&self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result<GetResponse> {
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/main.rs:97:26
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn handle_put(&self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result<PutRespon...
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/main.rs:97:39
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn handle_put(&self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result<PutRespon...
[INFO] [stdout]    |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_identifier`
[INFO] [stdout]   --> src/main.rs:97:54
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...value: String, client_identifier: String, request_identifier: i32) -> thrift::Result<PutResponse> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request_identifier`
[INFO] [stdout]   --> src/main.rs:97:81
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...fier: String, request_identifier: i32) -> thrift::Result<PutResponse> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_term`
[INFO] [stdout]    --> src/main.rs:132:39
[INFO] [stdout]     |
[INFO] [stdout] 132 |     fn handle_install_snapshot(&self, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: ...
[INFO] [stdout]     |                                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_i_d`
[INFO] [stdout]    --> src/main.rs:132:57
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...lf, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: Vec<u8>, done: bool)...
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_i_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_included_index`
[INFO] [stdout]    --> src/main.rs:132:73
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...der_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_included_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_included_term`
[INFO] [stdout]    --> src/main.rs:132:99
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...d_index: i32, last_included_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_included_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/main.rs:132:124
[INFO] [stdout]     |
[INFO] [stdout] 132 | ... last_included_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/main.rs:132:137
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...ded_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stdout]     |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `done`
[INFO] [stdout]    --> src/main.rs:132:152
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stdout]     |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_done`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endpoints`
[INFO] [stdout]    --> src/main.rs:136:44
[INFO] [stdout]     |
[INFO] [stdout] 136 |     fn handle_add_new_configuration(&self, endpoints: Vec<ID>) -> thrift::Result<bool> {
[INFO] [stdout]     |                                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoints`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CANDIDATE` and `LEADER` are never constructed
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum ReplicaState {
[INFO] [stdout]    |      ------------ variants in this enum
[INFO] [stdout] 17 |     FOLLOWER,
[INFO] [stdout] 18 |     CANDIDATE,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 19 |     LEADER
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Replica {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout] 23 |     state : Arc<Mutex<ReplicaState>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     current_term : Arc<Mutex<u32>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 25 |     log : Arc<Mutex<Vec<Entry>>>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 26 |     commit_index : Arc<Mutex<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 27 |     last_applied : Arc<Mutex<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 28 |     next_index : Arc<Mutex<Vec<usize>>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 29 |     match_index : Arc<Mutex<Vec<usize>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 30 |     time_left : Arc<Mutex<u32>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 31 |     timeout : Arc<u32>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 32 |     voted_for : Arc<Mutex<ID>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 33 |     leader : Arc<Mutex<ID>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 34 |     state_machine : Arc<Mutex<HashMap<String, String>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 35 |     current_request_being_serviced : Arc<Mutex<u32>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     noop_index : Arc<Mutex<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 37 |     jobs_to_retry : Arc<Mutex<VecDeque<mystorers::Job>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 38 |     cluster_membership : Arc<Mutex<Vec<ID>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 39 |     has_operation_started : bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     my_id : ID
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `replica` is never read
[INFO] [stdout]   --> src/main.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | struct Container {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 69 |     replica : Arc<Mutex<Replica>>
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `timer` is never used
[INFO] [stdout]   --> src/main.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl Container {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn timer() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]   --> src/replicaservice.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl EntryType {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 52 |   pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `write_to_out_protocol` are never used
[INFO] [stdout]    --> src/replicaservice.rs:97:10
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl Entry {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  97 |   pub fn new<F1, F2, F3, F4, F5, F6, F7>(type_: F1, key: F2, value: F3, term: F4, client_identifier: F5, request_identifier: F6, ne...
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |   pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stdout]    --> src/replicaservice.rs:271:10
[INFO] [stdout]     |
[INFO] [stdout] 270 | impl AppendEntryResponse {
[INFO] [stdout]     | ------------------------ associated functions in this implementation
[INFO] [stdout] 271 |   pub fn new<F1, F2, F3, F4>(success: F1, term: F2, prev_log_index: F3, number_of_entries_added: F4) -> AppendEntryResponse where F...
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<AppendEntryResponse> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stdout]    --> src/replicaservice.rs:385:10
[INFO] [stdout]     |
[INFO] [stdout] 384 | impl Ballot {
[INFO] [stdout]     | ----------- associated functions in this implementation
[INFO] [stdout] 385 |   pub fn new<F1, F2>(vote_granted: F1, term: F2) -> Ballot where F1: Into<Option<bool>>, F2: Into<Option<i32>> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<Ballot> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stdout]    --> src/replicaservice.rs:549:10
[INFO] [stdout]     |
[INFO] [stdout] 548 | impl PutResponse {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout] 549 |   pub fn new<F1, F2>(success: F1, leader_i_d: F2) -> PutResponse where F1: Into<Option<i32>>, F2: Into<Option<ID>> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 555 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<PutResponse> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stdout]    --> src/replicaservice.rs:632:10
[INFO] [stdout]     |
[INFO] [stdout] 631 | impl GetResponse {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout] 632 |   pub fn new<F1, F2, F3>(success: F1, value: F2, leader_i_d: F3) -> GetResponse where F1: Into<Option<bool>>, F2: Into<Option<Strin...
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 639 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<GetResponse> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TReplicaServiceSyncClient` is never used
[INFO] [stdout]    --> src/replicaservice.rs:723:11
[INFO] [stdout]     |
[INFO] [stdout] 723 | pub trait TReplicaServiceSyncClient {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TReplicaServiceSyncClientMarker` is never used
[INFO] [stdout]    --> src/replicaservice.rs:735:11
[INFO] [stdout]     |
[INFO] [stdout] 735 | pub trait TReplicaServiceSyncClientMarker {}
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReplicaServiceSyncClient` is never constructed
[INFO] [stdout]    --> src/replicaservice.rs:737:12
[INFO] [stdout]     |
[INFO] [stdout] 737 | pub struct ReplicaServiceSyncClient<IP, OP> where IP: TInputProtocol, OP: TOutputProtocol {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/replicaservice.rs:744:10
[INFO] [stdout]     |
[INFO] [stdout] 743 | impl <IP, OP> ReplicaServiceSyncClient<IP, OP> where IP: TInputProtocol, OP: TOutputProtocol {
[INFO] [stdout]     | -------------------------------------------------------------------------------------------- associated function in this implementation
[INFO] [stdout] 744 |   pub fn new(input_protocol: IP, output_protocol: OP) -> ReplicaServiceSyncClient<IP, OP> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:1452:6
[INFO] [stdout]      |
[INFO] [stdout] 1403 | impl ReplicaServiceRequestVoteArgs {
[INFO] [stdout]      | ---------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1452 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:1482:6
[INFO] [stdout]      |
[INFO] [stdout] 1481 | impl ReplicaServiceRequestVoteResult {
[INFO] [stdout]      | ------------------------------------ associated items in this implementation
[INFO] [stdout] 1482 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceRequestVoteResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1522 |   fn ok_or(self) -> thrift::Result<Ballot> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:1615:6
[INFO] [stdout]      |
[INFO] [stdout] 1552 | impl ReplicaServiceAppendEntryArgs {
[INFO] [stdout]      | ---------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1615 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:1651:6
[INFO] [stdout]      |
[INFO] [stdout] 1650 | impl ReplicaServiceAppendEntryResult {
[INFO] [stdout]      | ------------------------------------ associated items in this implementation
[INFO] [stdout] 1651 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceAppendEntryResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1691 |   fn ok_or(self) -> thrift::Result<AppendEntryResponse> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:1760:6
[INFO] [stdout]      |
[INFO] [stdout] 1718 | impl ReplicaServiceGetArgs {
[INFO] [stdout]      | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1760 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:1787:6
[INFO] [stdout]      |
[INFO] [stdout] 1786 | impl ReplicaServiceGetResult {
[INFO] [stdout]      | ---------------------------- associated items in this implementation
[INFO] [stdout] 1787 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceGetResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1827 |   fn ok_or(self) -> thrift::Result<GetResponse> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:1904:6
[INFO] [stdout]      |
[INFO] [stdout] 1855 | impl ReplicaServicePutArgs {
[INFO] [stdout]      | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1904 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:1934:6
[INFO] [stdout]      |
[INFO] [stdout] 1933 | impl ReplicaServicePutResult {
[INFO] [stdout]      | ---------------------------- associated items in this implementation
[INFO] [stdout] 1934 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServicePutResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1974 |   fn ok_or(self) -> thrift::Result<PutResponse> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:2018:6
[INFO] [stdout]      |
[INFO] [stdout] 1998 | impl ReplicaServiceKillArgs {
[INFO] [stdout]      | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2018 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:2054:6
[INFO] [stdout]      |
[INFO] [stdout] 2034 | impl ReplicaServiceGetInformationArgs {
[INFO] [stdout]      | ------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2054 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:2072:6
[INFO] [stdout]      |
[INFO] [stdout] 2071 | impl ReplicaServiceGetInformationResult {
[INFO] [stdout]      | --------------------------------------- associated items in this implementation
[INFO] [stdout] 2072 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceGetInformationResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2124 |   fn ok_or(self) -> thrift::Result<BTreeMap<String, String>> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:2168:6
[INFO] [stdout]      |
[INFO] [stdout] 2148 | impl ReplicaServiceStartArgs {
[INFO] [stdout]      | ---------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2168 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:2261:6
[INFO] [stdout]      |
[INFO] [stdout] 2191 | impl ReplicaServiceInstallSnapshotArgs {
[INFO] [stdout]      | -------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2261 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:2300:6
[INFO] [stdout]      |
[INFO] [stdout] 2299 | impl ReplicaServiceInstallSnapshotResult {
[INFO] [stdout]      | ---------------------------------------- associated items in this implementation
[INFO] [stdout] 2300 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceInstallSnapshotResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2340 |   fn ok_or(self) -> thrift::Result<i32> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_to_out_protocol` is never used
[INFO] [stdout]     --> src/replicaservice.rs:2399:6
[INFO] [stdout]      |
[INFO] [stdout] 2365 | impl ReplicaServiceAddNewConfigurationArgs {
[INFO] [stdout]      | ------------------------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2399 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stdout]     --> src/replicaservice.rs:2424:6
[INFO] [stdout]      |
[INFO] [stdout] 2423 | impl ReplicaServiceAddNewConfigurationResult {
[INFO] [stdout]      | -------------------------------------------- associated items in this implementation
[INFO] [stdout] 2424 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceAddNewConfigurationResult> {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2464 |   fn ok_or(self) -> thrift::Result<bool> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s
[INFO] running `Command { std: "docker" "inspect" "16146d79dd06c4475ab60343145299047f85f0d01d1511e9b1ceed224ea27b68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16146d79dd06c4475ab60343145299047f85f0d01d1511e9b1ceed224ea27b68", kill_on_drop: false }`
[INFO] [stdout] 16146d79dd06c4475ab60343145299047f85f0d01d1511e9b1ceed224ea27b68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 16065fcaa0d1681011ffaafa92b9153efc9ee47e8b420f3062f577b8eb2e7b47
[INFO] running `Command { std: "docker" "start" "-a" "16065fcaa0d1681011ffaafa92b9153efc9ee47e8b420f3062f577b8eb2e7b47", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Arc` and `Mutex`
[INFO] [stderr]  --> src/lib.rs:1:17
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::sync::{Arc, Mutex};
[INFO] [stderr]   |                 ^^^  ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/lib.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `entry_position`, `target_host`, and `target_port` are never read
[INFO] [stderr]  --> src/lib.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct Job {
[INFO] [stderr]   |            --- fields in this struct
[INFO] [stderr] 5 |     entry_position : u32,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 6 |     target_host : String,
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 7 |     target_port : u32
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LockHandler` is never constructed
[INFO] [stderr]   --> src/lib.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct LockHandler {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mystorers` (lib) generated 4 warnings (run `cargo fix --lib -p mystorers` to apply 2 suggestions)
[INFO] [stderr] warning: `mystorers` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]  --> src/replicaservice.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments, type_complexity))]
[INFO] [stderr]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Rc`
[INFO] [stderr]  --> src/main.rs:6:15
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::rc::{Rc};
[INFO] [stderr]   |               ^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::thread;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `EntryType`
[INFO] [stderr]   --> src/main.rs:14:29
[INFO] [stderr]    |
[INFO] [stderr] 14 | use replicaservice::{Entry, EntryType, ID, ReplicaServiceSyncProcessor, ReplicaServiceSyncHandler, PutResponse, GetResponse, AppendE...
[INFO] [stderr]    |                             ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]     --> src/replicaservice.rs:1060:19
[INFO] [stderr]      |
[INFO] [stderr] 1060 |                 e.description()
[INFO] [stderr]      |                   ^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]     --> src/replicaservice.rs:1097:19
[INFO] [stderr]      |
[INFO] [stderr] 1097 |                 e.description()
[INFO] [stderr]      |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]     --> src/replicaservice.rs:1134:19
[INFO] [stderr]      |
[INFO] [stderr] 1134 |                 e.description()
[INFO] [stderr]      |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]     --> src/replicaservice.rs:1171:19
[INFO] [stderr]      |
[INFO] [stderr] 1171 |                 e.description()
[INFO] [stderr]      |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]     --> src/replicaservice.rs:1199:19
[INFO] [stderr]      |
[INFO] [stderr] 1199 |                 e.description()
[INFO] [stderr]      |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]     --> src/replicaservice.rs:1232:19
[INFO] [stderr]      |
[INFO] [stderr] 1232 |                 e.description()
[INFO] [stderr]      |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]     --> src/replicaservice.rs:1260:19
[INFO] [stderr]      |
[INFO] [stderr] 1260 |                 e.description()
[INFO] [stderr]      |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]     --> src/replicaservice.rs:1293:19
[INFO] [stderr]      |
[INFO] [stderr] 1293 |                 e.description()
[INFO] [stderr]      |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]     --> src/replicaservice.rs:1330:19
[INFO] [stderr]      |
[INFO] [stderr] 1330 |                 e.description()
[INFO] [stderr]      |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `port`
[INFO] [stderr]   --> src/main.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 44 |     fn new(port : u32) -> Self {
[INFO] [stderr]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `term`
[INFO] [stderr]   --> src/main.rs:84:35
[INFO] [stderr]    |
[INFO] [stderr] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stderr]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `candidate_i_d`
[INFO] [stderr]   --> src/main.rs:84:46
[INFO] [stderr]    |
[INFO] [stderr] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_i_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `last_log_index`
[INFO] [stderr]   --> src/main.rs:84:65
[INFO] [stderr]    |
[INFO] [stderr] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stderr]    |                                                                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `last_log_term`
[INFO] [stderr]   --> src/main.rs:84:86
[INFO] [stderr]    |
[INFO] [stderr] 84 |     fn handle_request_vote(&self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result<Ballot> {
[INFO] [stderr]    |                                                                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log_term`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `term`
[INFO] [stderr]   --> src/main.rs:88:35
[INFO] [stderr]    |
[INFO] [stderr] 88 |     fn handle_append_entry(&self, term: i32, leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i...
[INFO] [stderr]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `leader_i_d`
[INFO] [stderr]   --> src/main.rs:88:46
[INFO] [stderr]    |
[INFO] [stderr] 88 |     fn handle_append_entry(&self, term: i32, leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i...
[INFO] [stderr]    |                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_i_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `prev_log_index`
[INFO] [stderr]   --> src/main.rs:88:62
[INFO] [stderr]    |
[INFO] [stderr] 88 | ..., leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_log_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `prev_log_term`
[INFO] [stderr]   --> src/main.rs:88:83
[INFO] [stderr]    |
[INFO] [stderr] 88 | ...ev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stderr]    |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_log_term`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entry`
[INFO] [stderr]   --> src/main.rs:88:103
[INFO] [stderr]    |
[INFO] [stderr] 88 | ...: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stderr]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `leader_commit`
[INFO] [stderr]   --> src/main.rs:88:117
[INFO] [stderr]    |
[INFO] [stderr] 88 | ...i32, entry: Entry, leader_commit: i32) -> 
[INFO] [stderr]    |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_commit`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]   --> src/main.rs:93:26
[INFO] [stderr]    |
[INFO] [stderr] 93 |     fn handle_get(&self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result<GetResponse> {
[INFO] [stderr]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `client_identifier`
[INFO] [stderr]   --> src/main.rs:93:39
[INFO] [stderr]    |
[INFO] [stderr] 93 |     fn handle_get(&self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result<GetResponse> {
[INFO] [stderr]    |                                       ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_identifier`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `request_identifier`
[INFO] [stderr]   --> src/main.rs:93:66
[INFO] [stderr]    |
[INFO] [stderr] 93 |     fn handle_get(&self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result<GetResponse> {
[INFO] [stderr]    |                                                                  ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_identifier`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]   --> src/main.rs:97:26
[INFO] [stderr]    |
[INFO] [stderr] 97 |     fn handle_put(&self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result<PutRespon...
[INFO] [stderr]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]   --> src/main.rs:97:39
[INFO] [stderr]    |
[INFO] [stderr] 97 |     fn handle_put(&self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result<PutRespon...
[INFO] [stderr]    |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `client_identifier`
[INFO] [stderr]   --> src/main.rs:97:54
[INFO] [stderr]    |
[INFO] [stderr] 97 | ...value: String, client_identifier: String, request_identifier: i32) -> thrift::Result<PutResponse> {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_identifier`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `request_identifier`
[INFO] [stderr]   --> src/main.rs:97:81
[INFO] [stderr]    |
[INFO] [stderr] 97 | ...fier: String, request_identifier: i32) -> thrift::Result<PutResponse> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_identifier`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `leader_term`
[INFO] [stderr]    --> src/main.rs:132:39
[INFO] [stderr]     |
[INFO] [stderr] 132 |     fn handle_install_snapshot(&self, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: ...
[INFO] [stderr]     |                                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_term`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `leader_i_d`
[INFO] [stderr]    --> src/main.rs:132:57
[INFO] [stderr]     |
[INFO] [stderr] 132 | ...lf, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: Vec<u8>, done: bool)...
[INFO] [stderr]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_i_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `last_included_index`
[INFO] [stderr]    --> src/main.rs:132:73
[INFO] [stderr]     |
[INFO] [stderr] 132 | ...der_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_included_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `last_included_term`
[INFO] [stderr]    --> src/main.rs:132:99
[INFO] [stderr]     |
[INFO] [stderr] 132 | ...d_index: i32, last_included_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_included_term`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `offset`
[INFO] [stderr]    --> src/main.rs:132:124
[INFO] [stderr]     |
[INFO] [stderr] 132 | ... last_included_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stderr]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]    --> src/main.rs:132:137
[INFO] [stderr]     |
[INFO] [stderr] 132 | ...ded_term: i32, offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stderr]     |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `done`
[INFO] [stderr]    --> src/main.rs:132:152
[INFO] [stderr]     |
[INFO] [stderr] 132 | ...offset: i32, data: Vec<u8>, done: bool) -> thrift::Result<i32> {
[INFO] [stderr]     |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_done`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `endpoints`
[INFO] [stderr]    --> src/main.rs:136:44
[INFO] [stderr]     |
[INFO] [stderr] 136 |     fn handle_add_new_configuration(&self, endpoints: Vec<ID>) -> thrift::Result<bool> {
[INFO] [stderr]     |                                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoints`
[INFO] [stderr] 
[INFO] [stderr] warning: variants `CANDIDATE` and `LEADER` are never constructed
[INFO] [stderr]   --> src/main.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | enum ReplicaState {
[INFO] [stderr]    |      ------------ variants in this enum
[INFO] [stderr] 17 |     FOLLOWER,
[INFO] [stderr] 18 |     CANDIDATE,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 19 |     LEADER
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/main.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | struct Replica {
[INFO] [stderr]    |        ------- fields in this struct
[INFO] [stderr] 23 |     state : Arc<Mutex<ReplicaState>>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 24 |     current_term : Arc<Mutex<u32>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 25 |     log : Arc<Mutex<Vec<Entry>>>,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 26 |     commit_index : Arc<Mutex<usize>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 27 |     last_applied : Arc<Mutex<usize>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 28 |     next_index : Arc<Mutex<Vec<usize>>>,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 29 |     match_index : Arc<Mutex<Vec<usize>>>,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 30 |     time_left : Arc<Mutex<u32>>,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 31 |     timeout : Arc<u32>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 32 |     voted_for : Arc<Mutex<ID>>,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 33 |     leader : Arc<Mutex<ID>>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 34 |     state_machine : Arc<Mutex<HashMap<String, String>>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 35 |     current_request_being_serviced : Arc<Mutex<u32>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 36 |     noop_index : Arc<Mutex<usize>>,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 37 |     jobs_to_retry : Arc<Mutex<VecDeque<mystorers::Job>>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 38 |     cluster_membership : Arc<Mutex<Vec<ID>>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 39 |     has_operation_started : bool,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 40 |     my_id : ID
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `replica` is never read
[INFO] [stderr]   --> src/main.rs:69:5
[INFO] [stderr]    |
[INFO] [stderr] 68 | struct Container {
[INFO] [stderr]    |        --------- field in this struct
[INFO] [stderr] 69 |     replica : Arc<Mutex<Replica>>
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `timer` is never used
[INFO] [stderr]   --> src/main.rs:79:8
[INFO] [stderr]    |
[INFO] [stderr] 72 | impl Container {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 79 |     fn timer() {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_to_out_protocol` is never used
[INFO] [stderr]   --> src/replicaservice.rs:52:10
[INFO] [stderr]    |
[INFO] [stderr] 51 | impl EntryType {
[INFO] [stderr]    | -------------- method in this implementation
[INFO] [stderr] 52 |   pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `write_to_out_protocol` are never used
[INFO] [stderr]    --> src/replicaservice.rs:97:10
[INFO] [stderr]     |
[INFO] [stderr]  96 | impl Entry {
[INFO] [stderr]     | ---------- associated items in this implementation
[INFO] [stderr]  97 |   pub fn new<F1, F2, F3, F4, F5, F6, F7>(type_: F1, key: F2, value: F3, term: F4, client_identifier: F5, request_identifier: F6, ne...
[INFO] [stderr]     |          ^^^
[INFO] [stderr] ...
[INFO] [stderr] 176 |   pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stderr]    --> src/replicaservice.rs:271:10
[INFO] [stderr]     |
[INFO] [stderr] 270 | impl AppendEntryResponse {
[INFO] [stderr]     | ------------------------ associated functions in this implementation
[INFO] [stderr] 271 |   pub fn new<F1, F2, F3, F4>(success: F1, term: F2, prev_log_index: F3, number_of_entries_added: F4) -> AppendEntryResponse where F...
[INFO] [stderr]     |          ^^^
[INFO] [stderr] ...
[INFO] [stderr] 279 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<AppendEntryResponse> {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stderr]    --> src/replicaservice.rs:385:10
[INFO] [stderr]     |
[INFO] [stderr] 384 | impl Ballot {
[INFO] [stderr]     | ----------- associated functions in this implementation
[INFO] [stderr] 385 |   pub fn new<F1, F2>(vote_granted: F1, term: F2) -> Ballot where F1: Into<Option<bool>>, F2: Into<Option<i32>> {
[INFO] [stderr]     |          ^^^
[INFO] [stderr] ...
[INFO] [stderr] 391 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<Ballot> {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stderr]    --> src/replicaservice.rs:549:10
[INFO] [stderr]     |
[INFO] [stderr] 548 | impl PutResponse {
[INFO] [stderr]     | ---------------- associated functions in this implementation
[INFO] [stderr] 549 |   pub fn new<F1, F2>(success: F1, leader_i_d: F2) -> PutResponse where F1: Into<Option<i32>>, F2: Into<Option<ID>> {
[INFO] [stderr]     |          ^^^
[INFO] [stderr] ...
[INFO] [stderr] 555 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<PutResponse> {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new` and `read_from_in_protocol` are never used
[INFO] [stderr]    --> src/replicaservice.rs:632:10
[INFO] [stderr]     |
[INFO] [stderr] 631 | impl GetResponse {
[INFO] [stderr]     | ---------------- associated functions in this implementation
[INFO] [stderr] 632 |   pub fn new<F1, F2, F3>(success: F1, value: F2, leader_i_d: F3) -> GetResponse where F1: Into<Option<bool>>, F2: Into<Option<Strin...
[INFO] [stderr]     |          ^^^
[INFO] [stderr] ...
[INFO] [stderr] 639 |   pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<GetResponse> {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `TReplicaServiceSyncClient` is never used
[INFO] [stderr]    --> src/replicaservice.rs:723:11
[INFO] [stderr]     |
[INFO] [stderr] 723 | pub trait TReplicaServiceSyncClient {
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `TReplicaServiceSyncClientMarker` is never used
[INFO] [stderr]    --> src/replicaservice.rs:735:11
[INFO] [stderr]     |
[INFO] [stderr] 735 | pub trait TReplicaServiceSyncClientMarker {}
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ReplicaServiceSyncClient` is never constructed
[INFO] [stderr]    --> src/replicaservice.rs:737:12
[INFO] [stderr]     |
[INFO] [stderr] 737 | pub struct ReplicaServiceSyncClient<IP, OP> where IP: TInputProtocol, OP: TOutputProtocol {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/replicaservice.rs:744:10
[INFO] [stderr]     |
[INFO] [stderr] 743 | impl <IP, OP> ReplicaServiceSyncClient<IP, OP> where IP: TInputProtocol, OP: TOutputProtocol {
[INFO] [stderr]     | -------------------------------------------------------------------------------------------- associated function in this implementation
[INFO] [stderr] 744 |   pub fn new(input_protocol: IP, output_protocol: OP) -> ReplicaServiceSyncClient<IP, OP> {
[INFO] [stderr]     |          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_to_out_protocol` is never used
[INFO] [stderr]     --> src/replicaservice.rs:1452:6
[INFO] [stderr]      |
[INFO] [stderr] 1403 | impl ReplicaServiceRequestVoteArgs {
[INFO] [stderr]      | ---------------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 1452 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stderr]     --> src/replicaservice.rs:1482:6
[INFO] [stderr]      |
[INFO] [stderr] 1481 | impl ReplicaServiceRequestVoteResult {
[INFO] [stderr]      | ------------------------------------ associated items in this implementation
[INFO] [stderr] 1482 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceRequestVoteResult> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 1522 |   fn ok_or(self) -> thrift::Result<Ballot> {
[INFO] [stderr]      |      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_to_out_protocol` is never used
[INFO] [stderr]     --> src/replicaservice.rs:1615:6
[INFO] [stderr]      |
[INFO] [stderr] 1552 | impl ReplicaServiceAppendEntryArgs {
[INFO] [stderr]      | ---------------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 1615 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stderr]     --> src/replicaservice.rs:1651:6
[INFO] [stderr]      |
[INFO] [stderr] 1650 | impl ReplicaServiceAppendEntryResult {
[INFO] [stderr]      | ------------------------------------ associated items in this implementation
[INFO] [stderr] 1651 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceAppendEntryResult> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 1691 |   fn ok_or(self) -> thrift::Result<AppendEntryResponse> {
[INFO] [stderr]      |      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_to_out_protocol` is never used
[INFO] [stderr]     --> src/replicaservice.rs:1760:6
[INFO] [stderr]      |
[INFO] [stderr] 1718 | impl ReplicaServiceGetArgs {
[INFO] [stderr]      | -------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 1760 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stderr]     --> src/replicaservice.rs:1787:6
[INFO] [stderr]      |
[INFO] [stderr] 1786 | impl ReplicaServiceGetResult {
[INFO] [stderr]      | ---------------------------- associated items in this implementation
[INFO] [stderr] 1787 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceGetResult> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 1827 |   fn ok_or(self) -> thrift::Result<GetResponse> {
[INFO] [stderr]      |      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_to_out_protocol` is never used
[INFO] [stderr]     --> src/replicaservice.rs:1904:6
[INFO] [stderr]      |
[INFO] [stderr] 1855 | impl ReplicaServicePutArgs {
[INFO] [stderr]      | -------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 1904 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stderr]     --> src/replicaservice.rs:1934:6
[INFO] [stderr]      |
[INFO] [stderr] 1933 | impl ReplicaServicePutResult {
[INFO] [stderr]      | ---------------------------- associated items in this implementation
[INFO] [stderr] 1934 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServicePutResult> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 1974 |   fn ok_or(self) -> thrift::Result<PutResponse> {
[INFO] [stderr]      |      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_to_out_protocol` is never used
[INFO] [stderr]     --> src/replicaservice.rs:2018:6
[INFO] [stderr]      |
[INFO] [stderr] 1998 | impl ReplicaServiceKillArgs {
[INFO] [stderr]      | --------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 2018 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_to_out_protocol` is never used
[INFO] [stderr]     --> src/replicaservice.rs:2054:6
[INFO] [stderr]      |
[INFO] [stderr] 2034 | impl ReplicaServiceGetInformationArgs {
[INFO] [stderr]      | ------------------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 2054 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stderr]     --> src/replicaservice.rs:2072:6
[INFO] [stderr]      |
[INFO] [stderr] 2071 | impl ReplicaServiceGetInformationResult {
[INFO] [stderr]      | --------------------------------------- associated items in this implementation
[INFO] [stderr] 2072 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceGetInformationResult> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 2124 |   fn ok_or(self) -> thrift::Result<BTreeMap<String, String>> {
[INFO] [stderr]      |      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_to_out_protocol` is never used
[INFO] [stderr]     --> src/replicaservice.rs:2168:6
[INFO] [stderr]      |
[INFO] [stderr] 2148 | impl ReplicaServiceStartArgs {
[INFO] [stderr]      | ---------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 2168 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_to_out_protocol` is never used
[INFO] [stderr]     --> src/replicaservice.rs:2261:6
[INFO] [stderr]      |
[INFO] [stderr] 2191 | impl ReplicaServiceInstallSnapshotArgs {
[INFO] [stderr]      | -------------------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 2261 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stderr]     --> src/replicaservice.rs:2300:6
[INFO] [stderr]      |
[INFO] [stderr] 2299 | impl ReplicaServiceInstallSnapshotResult {
[INFO] [stderr]      | ---------------------------------------- associated items in this implementation
[INFO] [stderr] 2300 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceInstallSnapshotResult> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 2340 |   fn ok_or(self) -> thrift::Result<i32> {
[INFO] [stderr]      |      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_to_out_protocol` is never used
[INFO] [stderr]     --> src/replicaservice.rs:2399:6
[INFO] [stderr]      |
[INFO] [stderr] 2365 | impl ReplicaServiceAddNewConfigurationArgs {
[INFO] [stderr]      | ------------------------------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 2399 |   fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `read_from_in_protocol` and `ok_or` are never used
[INFO] [stderr]     --> src/replicaservice.rs:2424:6
[INFO] [stderr]      |
[INFO] [stderr] 2423 | impl ReplicaServiceAddNewConfigurationResult {
[INFO] [stderr]      | -------------------------------------------- associated items in this implementation
[INFO] [stderr] 2424 |   fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result<ReplicaServiceAddNewConfigurationResult> {
[INFO] [stderr]      |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 2464 |   fn ok_or(self) -> thrift::Result<bool> {
[INFO] [stderr]      |      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mystorers` (bin "mystorers" test) generated 69 warnings (run `cargo fix --bin "mystorers" -p mystorers --tests` to apply 29 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mystorers-092a408967c1b7d1)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mystorers-d2472097feb5d17f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests mystorers
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "16065fcaa0d1681011ffaafa92b9153efc9ee47e8b420f3062f577b8eb2e7b47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16065fcaa0d1681011ffaafa92b9153efc9ee47e8b420f3062f577b8eb2e7b47", kill_on_drop: false }`
[INFO] [stdout] 16065fcaa0d1681011ffaafa92b9153efc9ee47e8b420f3062f577b8eb2e7b47
