[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] checking gwint/mystorers against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgwint%2Fmystorers" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gwint/mystorers on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/gwint/mystorers already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded integer-encoding v1.1.5 [INFO] [stderr] Downloaded thrift v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ebdfc1807a1be150c1b3a4aede3dfbdff7a456aee5bd1c97f131f18cd44b2e1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5ebdfc1807a1be150c1b3a4aede3dfbdff7a456aee5bd1c97f131f18cd44b2e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ebdfc1807a1be150c1b3a4aede3dfbdff7a456aee5bd1c97f131f18cd44b2e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ebdfc1807a1be150c1b3a4aede3dfbdff7a456aee5bd1c97f131f18cd44b2e1", kill_on_drop: false }` [INFO] [stdout] 5ebdfc1807a1be150c1b3a4aede3dfbdff7a456aee5bd1c97f131f18cd44b2e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34f2304be677a649e9246294fbdff1b4c9f2bc3eba510dbb846d51cd26ff07ca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "34f2304be677a649e9246294fbdff1b4c9f2bc3eba510dbb846d51cd26ff07ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking integer-encoding v1.1.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking thrift v0.13.0 [INFO] [stderr] Checking mystorers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `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)]` 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: unused imports: `Arc`, `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)]` 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: field is never read: `entry_position` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | entry_position : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_host` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | target_host : String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_port` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | target_port : u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LockHandler` [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct LockHandler { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entry_position` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | entry_position : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_host` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | target_host : String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_port` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | target_port : u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LockHandler` [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct LockHandler { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [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)]` 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, AppendEntryR... [INFO] [stdout] | ^^^^^^^^^ [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)]` 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, AppendEntryR... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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)]` 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 { [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 { [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 { [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 { [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: i32) -> [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: i32) -> [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 | fn handle_append_entry(&self, term: i32, 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 | fn handle_append_entry(&self, term: i32, 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_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/main.rs:88:103 [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: 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 | fn handle_append_entry(&self, term: i32, 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: `_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 { [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 { [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 { [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 { [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 { [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 | fn handle_put(&self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result { [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 | fn handle_put(&self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result { [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: i32, d... [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 | ...&self, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: Vec, 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 | ...leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: Vec, done: bool) -> thrift::Result { [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 | ...uded_index: i32, last_included_term: i32, offset: i32, data: Vec, done: bool) -> thrift::Result { [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 | ...32, last_included_term: i32, offset: i32, data: Vec, done: bool) -> thrift::Result { [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 | ...cluded_term: i32, offset: i32, data: Vec, done: bool) -> thrift::Result { [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 | ...2, offset: i32, data: Vec, done: bool) -> thrift::Result { [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) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoints` [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)]` 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 { [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 { [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 { [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 { [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: i32) -> [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: i32) -> [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 | fn handle_append_entry(&self, term: i32, 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 | fn handle_append_entry(&self, term: i32, 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_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/main.rs:88:103 [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: 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 | fn handle_append_entry(&self, term: i32, 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: `_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 { [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 { [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 { [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 { [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 { [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 | fn handle_put(&self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result { [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 | fn handle_put(&self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result { [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: i32, d... [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 | ...&self, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: Vec, 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 | ...leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: Vec, done: bool) -> thrift::Result { [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 | ...uded_index: i32, last_included_term: i32, offset: i32, data: Vec, done: bool) -> thrift::Result { [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 | ...32, last_included_term: i32, offset: i32, data: Vec, done: bool) -> thrift::Result { [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 | ...cluded_term: i32, offset: i32, data: Vec, done: bool) -> thrift::Result { [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 | ...2, offset: i32, data: Vec, done: bool) -> thrift::Result { [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) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(type_: F1, key: F2, value: F3, term: F4, client_identifier: F5, request_identifier: F6, new_conf... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn new(success: F1, term: F2, prev_log_index: F3, number_of_entries_added: F4) -> AppendEntryResponse where F1: Int... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:385:10 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn new(vote_granted: F1, term: F2) -> Ballot where F1: Into>, F2: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:549:10 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn new(success: F1, leader_i_d: F2) -> PutResponse where F1: Into>, F2: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:632:10 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn new(success: F1, value: F2, leader_i_d: F3) -> GetResponse where F1: Into>, F2: Into>, F... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:744:10 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn new(input_protocol: IP, output_protocol: OP) -> ReplicaServiceSyncClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CANDIDATE` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | CANDIDATE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LEADER` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LEADER [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | state : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_term` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | current_term : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `log` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | log : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `commit_index` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | commit_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_applied` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | last_applied : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_index` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | next_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `match_index` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | match_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time_left` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | time_left : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timeout` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | timeout : Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `voted_for` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | voted_for : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `leader` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | leader : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state_machine` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | state_machine : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_request_being_serviced` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | current_request_being_serviced : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(type_: F1, key: F2, value: F3, term: F4, client_identifier: F5, request_identifier: F6, new_conf... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn new(success: F1, term: F2, prev_log_index: F3, number_of_entries_added: F4) -> AppendEntryResponse where F1: Int... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `noop_index` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | noop_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `jobs_to_retry` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | jobs_to_retry : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster_membership` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | cluster_membership : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_operation_started` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | has_operation_started : bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `my_id` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | my_id : ID [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `replica` [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | replica : Arc> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timer` [INFO] [stdout] --> src/main.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn timer() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:385:10 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn new(vote_granted: F1, term: F2) -> Ballot where F1: Into>, F2: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:549:10 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn new(success: F1, leader_i_d: F2) -> PutResponse where F1: Into>, F2: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:632:10 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn new(success: F1, value: F2, leader_i_d: F3) -> GetResponse where F1: Into>, F2: Into>, F... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/replicaservice.rs:744:10 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn new(input_protocol: IP, output_protocol: OP) -> ReplicaServiceSyncClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CANDIDATE` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | CANDIDATE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LEADER` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LEADER [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | state : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_term` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | current_term : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `log` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | log : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `commit_index` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | commit_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_applied` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | last_applied : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_index` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | next_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `match_index` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | match_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time_left` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | time_left : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timeout` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | timeout : Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `voted_for` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | voted_for : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `leader` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | leader : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state_machine` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | state_machine : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_request_being_serviced` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | current_request_being_serviced : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `noop_index` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | noop_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `jobs_to_retry` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | jobs_to_retry : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster_membership` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | cluster_membership : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_operation_started` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | has_operation_started : bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `my_id` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | my_id : ID [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `replica` [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | replica : Arc> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timer` [INFO] [stdout] --> src/main.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn timer() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.12s [INFO] running `Command { std: "docker" "inspect" "34f2304be677a649e9246294fbdff1b4c9f2bc3eba510dbb846d51cd26ff07ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f2304be677a649e9246294fbdff1b4c9f2bc3eba510dbb846d51cd26ff07ca", kill_on_drop: false }` [INFO] [stdout] 34f2304be677a649e9246294fbdff1b4c9f2bc3eba510dbb846d51cd26ff07ca