[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 master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgwint%2Fmystorers" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gwint/mystorers on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded integer-encoding v1.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bef4adaac9372a9c89517ee1bfdbe31b121b3676e3ef4686daa6b839362a369 [INFO] running `Command { std: "docker" "start" "-a" "0bef4adaac9372a9c89517ee1bfdbe31b121b3676e3ef4686daa6b839362a369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bef4adaac9372a9c89517ee1bfdbe31b121b3676e3ef4686daa6b839362a369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bef4adaac9372a9c89517ee1bfdbe31b121b3676e3ef4686daa6b839362a369", kill_on_drop: false }` [INFO] [stdout] 0bef4adaac9372a9c89517ee1bfdbe31b121b3676e3ef4686daa6b839362a369 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8e5e4906fe510c01b040ef64a531e7cecfba1871b44cf90169cd99042846479 [INFO] running `Command { std: "docker" "start" "-a" "a8e5e4906fe510c01b040ef64a531e7cecfba1871b44cf90169cd99042846479", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [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` 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)]` 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` 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)]` 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)]` 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: 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)]` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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 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)]` 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: 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 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)]` 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 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: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: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: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: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: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: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: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: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: 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)]` 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: `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: `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: `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: 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)]` 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>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | current_term : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | log : Arc>>, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | commit_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | last_applied : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | next_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | match_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | time_left : Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | timeout : Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | voted_for : Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | leader : Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | state_machine : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | current_request_being_serviced : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | noop_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | jobs_to_retry : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | cluster_membership : Arc>>, [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> [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: associated function `new` is never used [INFO] [stdout] --> src/replicaservice.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 96 | impl Entry { [INFO] [stdout] | ---------- associated function in this implementation [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] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/replicaservice.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 270 | impl AppendEntryResponse { [INFO] [stdout] | ------------------------ associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:385:10 [INFO] [stdout] | [INFO] [stdout] 384 | impl Ballot { [INFO] [stdout] | ----------- associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:549:10 [INFO] [stdout] | [INFO] [stdout] 548 | impl PutResponse { [INFO] [stdout] | ---------------- associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:632:10 [INFO] [stdout] | [INFO] [stdout] 631 | impl GetResponse { [INFO] [stdout] | ---------------- associated function in this implementation [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: multiple methods are never used [INFO] [stdout] --> src/replicaservice.rs:724:6 [INFO] [stdout] | [INFO] [stdout] 723 | pub trait TReplicaServiceSyncClient { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 724 | fn request_vote(&mut self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 725 | fn append_entry(&mut self, term: i32, leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> thr... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 726 | fn get(&mut self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 727 | fn put(&mut self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 728 | fn kill(&mut self) -> thrift::Result<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 729 | fn get_information(&mut self) -> thrift::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 730 | fn start(&mut self) -> thrift::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 731 | fn install_snapshot(&mut self, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 732 | fn add_new_configuration(&mut self, endpoints: Vec) -> thrift::Result; [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 ReplicaServiceSyncClient 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 { [INFO] [stdout] | ^^^ [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)]` 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>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | current_term : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | log : Arc>>, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | commit_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | last_applied : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | next_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | match_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | time_left : Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | timeout : Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | voted_for : Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | leader : Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | state_machine : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | current_request_being_serviced : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | noop_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | jobs_to_retry : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | cluster_membership : Arc>>, [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> [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: associated function `new` is never used [INFO] [stdout] --> src/replicaservice.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 96 | impl Entry { [INFO] [stdout] | ---------- associated function in this implementation [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] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/replicaservice.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 270 | impl AppendEntryResponse { [INFO] [stdout] | ------------------------ associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:385:10 [INFO] [stdout] | [INFO] [stdout] 384 | impl Ballot { [INFO] [stdout] | ----------- associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:549:10 [INFO] [stdout] | [INFO] [stdout] 548 | impl PutResponse { [INFO] [stdout] | ---------------- associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:632:10 [INFO] [stdout] | [INFO] [stdout] 631 | impl GetResponse { [INFO] [stdout] | ---------------- associated function in this implementation [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: multiple methods are never used [INFO] [stdout] --> src/replicaservice.rs:724:6 [INFO] [stdout] | [INFO] [stdout] 723 | pub trait TReplicaServiceSyncClient { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 724 | fn request_vote(&mut self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 725 | fn append_entry(&mut self, term: i32, leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> thr... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 726 | fn get(&mut self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 727 | fn put(&mut self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 728 | fn kill(&mut self) -> thrift::Result<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 729 | fn get_information(&mut self) -> thrift::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 730 | fn start(&mut self) -> thrift::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 731 | fn install_snapshot(&mut self, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 732 | fn add_new_configuration(&mut self, endpoints: Vec) -> thrift::Result; [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 ReplicaServiceSyncClient 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 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "a8e5e4906fe510c01b040ef64a531e7cecfba1871b44cf90169cd99042846479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8e5e4906fe510c01b040ef64a531e7cecfba1871b44cf90169cd99042846479", kill_on_drop: false }` [INFO] [stdout] a8e5e4906fe510c01b040ef64a531e7cecfba1871b44cf90169cd99042846479 [INFO] checking gwint/mystorers against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgwint%2Fmystorers" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gwint/mystorers on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57fe299494c0c0172cea460367c04891e00d763d0e55850ad59e85ee1de91eea [INFO] running `Command { std: "docker" "start" "-a" "57fe299494c0c0172cea460367c04891e00d763d0e55850ad59e85ee1de91eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57fe299494c0c0172cea460367c04891e00d763d0e55850ad59e85ee1de91eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fe299494c0c0172cea460367c04891e00d763d0e55850ad59e85ee1de91eea", kill_on_drop: false }` [INFO] [stdout] 57fe299494c0c0172cea460367c04891e00d763d0e55850ad59e85ee1de91eea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ee5a8b674cb45e6290533006100a26a543bed3b1eeddb4b8302b137f360a26a [INFO] running `Command { std: "docker" "start" "-a" "8ee5a8b674cb45e6290533006100a26a543bed3b1eeddb4b8302b137f360a26a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [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` 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)]` 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)]` 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 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)]` 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)]` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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 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)]` 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: 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 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: `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 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: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: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: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: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: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: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: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: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: 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)]` on by default [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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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_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: `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: `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: `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: `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: `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: `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: `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: `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: 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)]` 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>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | current_term : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | log : Arc>>, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | commit_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | last_applied : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | next_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | match_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | time_left : Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | timeout : Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | voted_for : Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | leader : Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | state_machine : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | current_request_being_serviced : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | noop_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | jobs_to_retry : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | cluster_membership : Arc>>, [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: 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)]` on by default [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> [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: associated function `new` is never used [INFO] [stdout] --> src/replicaservice.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 96 | impl Entry { [INFO] [stdout] | ---------- associated function in this implementation [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] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/replicaservice.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 270 | impl AppendEntryResponse { [INFO] [stdout] | ------------------------ associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:385:10 [INFO] [stdout] | [INFO] [stdout] 384 | impl Ballot { [INFO] [stdout] | ----------- associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:549:10 [INFO] [stdout] | [INFO] [stdout] 548 | impl PutResponse { [INFO] [stdout] | ---------------- associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:632:10 [INFO] [stdout] | [INFO] [stdout] 631 | impl GetResponse { [INFO] [stdout] | ---------------- associated function in this implementation [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: multiple methods are never used [INFO] [stdout] --> src/replicaservice.rs:724:6 [INFO] [stdout] | [INFO] [stdout] 723 | pub trait TReplicaServiceSyncClient { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 724 | fn request_vote(&mut self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 725 | fn append_entry(&mut self, term: i32, leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> thr... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 726 | fn get(&mut self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 727 | fn put(&mut self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 728 | fn kill(&mut self) -> thrift::Result<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 729 | fn get_information(&mut self) -> thrift::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 730 | fn start(&mut self) -> thrift::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 731 | fn install_snapshot(&mut self, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 732 | fn add_new_configuration(&mut self, endpoints: Vec) -> thrift::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | current_term : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | log : Arc>>, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | commit_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | last_applied : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | next_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | match_index : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | time_left : Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | timeout : Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | voted_for : Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | leader : Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | state_machine : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | current_request_being_serviced : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | noop_index : Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | jobs_to_retry : Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | cluster_membership : Arc>>, [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: associated function `new` is never used [INFO] [stdout] --> src/replicaservice.rs:744:10 [INFO] [stdout] | [INFO] [stdout] 743 | impl ReplicaServiceSyncClient 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 { [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> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 97 | ...3, F4, F5, F6, F7>(type_: F1, key: F2, value: F3, term: F4, client_identifier: F5, request_identifier: F6, new_configuration: F7) -> E... [INFO] [stdout] | --------- ------- --------- -------- --------------------- ---------------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | ...n: new_configuration.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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: associated function `new` is never used [INFO] [stdout] --> src/replicaservice.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 96 | impl Entry { [INFO] [stdout] | ---------- associated function in this implementation [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] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/replicaservice.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 270 | impl AppendEntryResponse { [INFO] [stdout] | ------------------------ associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:385:10 [INFO] [stdout] | [INFO] [stdout] 384 | impl Ballot { [INFO] [stdout] | ----------- associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:549:10 [INFO] [stdout] | [INFO] [stdout] 548 | impl PutResponse { [INFO] [stdout] | ---------------- associated function in this implementation [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 `new` is never used [INFO] [stdout] --> src/replicaservice.rs:632:10 [INFO] [stdout] | [INFO] [stdout] 631 | impl GetResponse { [INFO] [stdout] | ---------------- associated function in this implementation [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: multiple methods are never used [INFO] [stdout] --> src/replicaservice.rs:724:6 [INFO] [stdout] | [INFO] [stdout] 723 | pub trait TReplicaServiceSyncClient { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 724 | fn request_vote(&mut self, term: i32, candidate_i_d: ID, last_log_index: i32, last_log_term: i32) -> thrift::Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 725 | fn append_entry(&mut self, term: i32, leader_i_d: ID, prev_log_index: i32, prev_log_term: i32, entry: Entry, leader_commit: i32) -> thr... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 726 | fn get(&mut self, key: String, client_identifier: String, request_identifier: i32) -> thrift::Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 727 | fn put(&mut self, key: String, value: String, client_identifier: String, request_identifier: i32) -> thrift::Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 728 | fn kill(&mut self) -> thrift::Result<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 729 | fn get_information(&mut self) -> thrift::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 730 | fn start(&mut self) -> thrift::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 731 | fn install_snapshot(&mut self, leader_term: i32, leader_i_d: ID, last_included_index: i32, last_included_term: i32, offset: i32, data: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 732 | fn add_new_configuration(&mut self, endpoints: Vec) -> thrift::Result; [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 ReplicaServiceSyncClient 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 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 97 | ...3, F4, F5, F6, F7>(type_: F1, key: F2, value: F3, term: F4, client_identifier: F5, request_identifier: F6, new_configuration: F7) -> E... [INFO] [stdout] | --------- ------- --------- -------- --------------------- ---------------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | ...n: new_configuration.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1038:11 [INFO] [stdout] | [INFO] [stdout] 1038 | match handler.handle_request_vote(args.term, args.candidate_i_d, args.last_log_index, args.last_log_term) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1075:11 [INFO] [stdout] | [INFO] [stdout] 1074 | let args = ReplicaServiceAppendEntryArgs::read_from_in_protocol(i_prot)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1075 | match handler.handle_append_entry(args.term, args.leader_i_d, args.prev_log_index, args.prev_log_term, args.entry, args.leader_commit) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1112:11 [INFO] [stdout] | [INFO] [stdout] 1112 | match handler.handle_get(args.key, args.client_identifier, args.request_identifier) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1149:11 [INFO] [stdout] | [INFO] [stdout] 1149 | match handler.handle_put(args.key, args.value, args.client_identifier, args.request_identifier) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1038:11 [INFO] [stdout] | [INFO] [stdout] 1038 | match handler.handle_request_vote(args.term, args.candidate_i_d, args.last_log_index, args.last_log_term) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1186:11 [INFO] [stdout] | [INFO] [stdout] 1186 | match handler.handle_kill() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1075:11 [INFO] [stdout] | [INFO] [stdout] 1074 | let args = ReplicaServiceAppendEntryArgs::read_from_in_protocol(i_prot)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1075 | match handler.handle_append_entry(args.term, args.leader_i_d, args.prev_log_index, args.prev_log_term, args.entry, args.leader_commit) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1210:11 [INFO] [stdout] | [INFO] [stdout] 1210 | match handler.handle_get_information() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1247:11 [INFO] [stdout] | [INFO] [stdout] 1247 | match handler.handle_start() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1271:11 [INFO] [stdout] | [INFO] [stdout] 1271 | ...ch handler.handle_install_snapshot(args.leader_term, args.leader_i_d, args.last_included_index, args.last_included_term, args.offset, args.data, args.done... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1112:11 [INFO] [stdout] | [INFO] [stdout] 1112 | match handler.handle_get(args.key, args.client_identifier, args.request_identifier) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1308:11 [INFO] [stdout] | [INFO] [stdout] 1308 | match handler.handle_add_new_configuration(args.endpoints) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1149:11 [INFO] [stdout] | [INFO] [stdout] 1149 | match handler.handle_put(args.key, args.value, args.client_identifier, args.request_identifier) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1186:11 [INFO] [stdout] | [INFO] [stdout] 1186 | match handler.handle_kill() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1210:11 [INFO] [stdout] | [INFO] [stdout] 1210 | match handler.handle_get_information() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1247:11 [INFO] [stdout] | [INFO] [stdout] 1247 | match handler.handle_start() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1271:11 [INFO] [stdout] | [INFO] [stdout] 1271 | ...ch handler.handle_install_snapshot(args.leader_term, args.leader_i_d, args.last_included_index, args.last_included_term, args.offset, args.data, args.done... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replicaservice.rs:1308:11 [INFO] [stdout] | [INFO] [stdout] 1308 | match handler.handle_add_new_configuration(args.endpoints) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mystorers` (bin "mystorers") due to 11 previous errors; 50 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mystorers` (bin "mystorers" test) due to 11 previous errors; 50 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ee5a8b674cb45e6290533006100a26a543bed3b1eeddb4b8302b137f360a26a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee5a8b674cb45e6290533006100a26a543bed3b1eeddb4b8302b137f360a26a", kill_on_drop: false }` [INFO] [stdout] 8ee5a8b674cb45e6290533006100a26a543bed3b1eeddb4b8302b137f360a26a