[INFO] cloning repository https://github.com/picodata/tarantool-module [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/picodata/tarantool-module" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpicodata%2Ftarantool-module", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpicodata%2Ftarantool-module'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d23045cc4dd741341b8d8c883751a09905a20aaa [INFO] checking picodata/tarantool-module against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpicodata%2Ftarantool-module" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/picodata/tarantool-module on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/picodata/tarantool-module [INFO] finished tweaking git repo https://github.com/picodata/tarantool-module [INFO] tweaked toml for git repo https://github.com/picodata/tarantool-module written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/tikv/raft-rs` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rmp-serde v0.14.4 [INFO] [stderr] Downloaded refpool v0.4.3 [INFO] [stderr] Downloaded protobuf-codegen v2.24.1 [INFO] [stderr] Downloaded getset v0.1.1 [INFO] [stderr] Downloaded tester v0.7.0 [INFO] [stderr] Downloaded ipnetwork v0.18.0 [INFO] [stderr] Downloaded protobuf v2.24.1 [INFO] [stderr] Downloaded rmp v0.8.10 [INFO] [stderr] Downloaded protobuf-build v0.12.3 [INFO] [stderr] Downloaded va_list v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c12b8d05eee236e85c96162b0558181b6d9c3be866b1744366d17358e6887220 [INFO] running `Command { std: "docker" "start" "-a" "c12b8d05eee236e85c96162b0558181b6d9c3be866b1744366d17358e6887220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c12b8d05eee236e85c96162b0558181b6d9c3be866b1744366d17358e6887220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c12b8d05eee236e85c96162b0558181b6d9c3be866b1744366d17358e6887220", kill_on_drop: false }` [INFO] [stdout] c12b8d05eee236e85c96162b0558181b6d9c3be866b1744366d17358e6887220 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 48e1307bf80b4adf635e5c410992535abc1a4b437ebe421ad4c534f7fa66c525 [INFO] running `Command { std: "docker" "start" "-a" "48e1307bf80b4adf635e5c410992535abc1a4b437ebe421ad4c534f7fa66c525", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling protobuf v2.24.1 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking refpool v0.4.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking va_list v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking object v0.26.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking slog-stdlog v4.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking slog-async v2.6.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tester v0.7.0 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Checking slog-envlogger v2.2.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling protobuf-codegen v2.24.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling getset v0.1.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling protobuf-build v0.12.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling raft-proto v0.6.0 (https://github.com/tikv/raft-rs?branch=master#fa0a7c8a) [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking raft v0.6.0 (https://github.com/tikv/raft-rs?branch=master#fa0a7c8a) [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.65 [INFO] [stderr] Checking rmp-serde v0.14.4 [INFO] [stderr] Checking ipnetwork v0.18.0 [INFO] [stderr] Checking tarantool v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/raft/mod.rs:211:38 [INFO] [stdout] | [INFO] [stdout] 211 | fn recv_bootstrap_request(&self, request: rpc::BootstrapMsg) -> rpc::Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msgs` [INFO] [stdout] --> src/raft/mod.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | fn send_raft_batch(&self, msgs: &mut dyn Iterator) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_msgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/raft/fsm.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn handle_normal(&mut self, entry: Entry) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/raft/fsm.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn handle_conf_change(&mut self, entry: Entry) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/raft/inner.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn add_entry(&self, command: Command) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snapshot` [INFO] [stdout] --> src/raft/storage.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn apply_snapshot(&mut self, snapshot: Snapshot) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> src/raft/storage.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn append(&mut self, entries: &[Entry]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hs` [INFO] [stdout] --> src/raft/storage.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn set_hard_state(&mut self, hs: HardState) -> Result<(), Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/raft/storage.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn set_last_apply_index(&mut self, index: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `low` [INFO] [stdout] --> src/raft/storage.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | low: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_low` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high` [INFO] [stdout] --> src/raft/storage.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | high: u64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_high` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_size` [INFO] [stdout] --> src/raft/storage.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | max_size: impl Into>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/raft/storage.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn term(&self, idx: u64) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_index` [INFO] [stdout] --> src/raft/storage.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | fn snapshot(&self, request_index: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/raft/mod.rs:211:38 [INFO] [stdout] | [INFO] [stdout] 211 | fn recv_bootstrap_request(&self, request: rpc::BootstrapMsg) -> rpc::Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msgs` [INFO] [stdout] --> src/raft/mod.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | fn send_raft_batch(&self, msgs: &mut dyn Iterator) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_msgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/raft/fsm.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn handle_normal(&mut self, entry: Entry) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/raft/fsm.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn handle_conf_change(&mut self, entry: Entry) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/raft/inner.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn add_entry(&self, command: Command) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snapshot` [INFO] [stdout] --> src/raft/storage.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn apply_snapshot(&mut self, snapshot: Snapshot) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> src/raft/storage.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn append(&mut self, entries: &[Entry]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hs` [INFO] [stdout] --> src/raft/storage.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn set_hard_state(&mut self, hs: HardState) -> Result<(), Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/raft/storage.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn set_last_apply_index(&mut self, index: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `low` [INFO] [stdout] --> src/raft/storage.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | low: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_low` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high` [INFO] [stdout] --> src/raft/storage.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | high: u64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_high` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_size` [INFO] [stdout] --> src/raft/storage.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | max_size: impl Into>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/raft/storage.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn term(&self, idx: u64) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_index` [INFO] [stdout] --> src/raft/storage.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | fn snapshot(&self, request_index: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CreateSpace` [INFO] [stdout] --> src/raft/fsm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | CreateSpace(String, SpaceCreateOptions), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CreateIndex` [INFO] [stdout] --> src/raft/fsm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | CreateIndex(String, String, IndexOptions), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DropSpace` [INFO] [stdout] --> src/raft/fsm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | DropSpace(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DropIndex` [INFO] [stdout] --> src/raft/fsm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | DropIndex(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Fsm` [INFO] [stdout] --> src/raft/fsm.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Fsm {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/raft/fsm.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_normal` [INFO] [stdout] --> src/raft/fsm.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn handle_normal(&mut self, entry: Entry) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_conf_change` [INFO] [stdout] --> src/raft/fsm.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn handle_conf_change(&mut self, entry: Entry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `node` [INFO] [stdout] --> src/raft/inner.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | node: RawNode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timeout` [INFO] [stdout] --> src/raft/inner.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `remaining_timeout` [INFO] [stdout] --> src/raft/inner.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | remaining_timeout: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Propose` [INFO] [stdout] --> src/raft/inner.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Propose(Command), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conf` [INFO] [stdout] --> src/raft/inner.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Conf(ConfChange), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/raft/inner.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn init(&mut self, peers: Vec, become_leader: bool) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/raft/inner.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn step(&mut self, send_queue: &mut VecDeque) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_entry` [INFO] [stdout] --> src/raft/inner.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn add_entry(&self, command: Command) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/raft/storage.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_snapshot` [INFO] [stdout] --> src/raft/storage.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn apply_snapshot(&mut self, snapshot: Snapshot) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/raft/storage.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn append(&mut self, entries: &[Entry]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_hard_state` [INFO] [stdout] --> src/raft/storage.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn set_hard_state(&mut self, hs: HardState) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_last_apply_index` [INFO] [stdout] --> src/raft/storage.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn set_last_apply_index(&mut self, index: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bootstrap_poll_interval` [INFO] [stdout] --> src/raft/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | bootstrap_poll_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `send_queue_size` [INFO] [stdout] --> src/raft/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | send_queue_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connection_options` [INFO] [stdout] --> src/raft/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | connection_options: ConnOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_raft_batch` [INFO] [stdout] --> src/raft/mod.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | fn send_raft_batch(&self, msgs: &mut dyn Iterator) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CreateSpace` [INFO] [stdout] --> src/raft/fsm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | CreateSpace(String, SpaceCreateOptions), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CreateIndex` [INFO] [stdout] --> src/raft/fsm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | CreateIndex(String, String, IndexOptions), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DropSpace` [INFO] [stdout] --> src/raft/fsm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | DropSpace(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DropIndex` [INFO] [stdout] --> src/raft/fsm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | DropIndex(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Fsm` [INFO] [stdout] --> src/raft/fsm.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Fsm {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/raft/fsm.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_normal` [INFO] [stdout] --> src/raft/fsm.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn handle_normal(&mut self, entry: Entry) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_conf_change` [INFO] [stdout] --> src/raft/fsm.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn handle_conf_change(&mut self, entry: Entry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `node` [INFO] [stdout] --> src/raft/inner.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | node: RawNode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timeout` [INFO] [stdout] --> src/raft/inner.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `remaining_timeout` [INFO] [stdout] --> src/raft/inner.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | remaining_timeout: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Propose` [INFO] [stdout] --> src/raft/inner.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Propose(Command), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conf` [INFO] [stdout] --> src/raft/inner.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Conf(ConfChange), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/raft/inner.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn init(&mut self, peers: Vec, become_leader: bool) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/raft/inner.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn step(&mut self, send_queue: &mut VecDeque) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_entry` [INFO] [stdout] --> src/raft/inner.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn add_entry(&self, command: Command) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/raft/storage.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_snapshot` [INFO] [stdout] --> src/raft/storage.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn apply_snapshot(&mut self, snapshot: Snapshot) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/raft/storage.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn append(&mut self, entries: &[Entry]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_hard_state` [INFO] [stdout] --> src/raft/storage.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn set_hard_state(&mut self, hs: HardState) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_last_apply_index` [INFO] [stdout] --> src/raft/storage.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn set_last_apply_index(&mut self, index: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bootstrap_poll_interval` [INFO] [stdout] --> src/raft/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | bootstrap_poll_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `send_queue_size` [INFO] [stdout] --> src/raft/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | send_queue_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connection_options` [INFO] [stdout] --> src/raft/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | connection_options: ConnOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_raft_batch` [INFO] [stdout] --> src/raft/mod.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | fn send_raft_batch(&self, msgs: &mut dyn Iterator) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking harder v0.1.0 (/opt/rustwide/workdir/examples/harder) [INFO] [stderr] Checking hardest v0.1.0 (/opt/rustwide/workdir/examples/hardest) [INFO] [stderr] Checking tarantool-module-test-runner v0.1.0 (/opt/rustwide/workdir/tests) [INFO] [stderr] Checking easy v0.1.0 (/opt/rustwide/workdir/examples/easy) [INFO] [stderr] Checking write v0.1.0 (/opt/rustwide/workdir/examples/write) [INFO] [stderr] Checking cluster_node v0.1.0 (/opt/rustwide/workdir/examples/cluster_node) [INFO] [stderr] Checking read v0.1.0 (/opt/rustwide/workdir/examples/read) [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpaceFieldFormat`, `SpaceFieldType` [INFO] [stdout] --> tests/src/test_box.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | use tarantool::space::{Space, SpaceCreateOptions, SpaceFieldFormat, SpaceFieldType, SystemSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpaceFieldFormat`, `SpaceFieldType` [INFO] [stdout] --> tests/src/test_box.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | use tarantool::space::{Space, SpaceCreateOptions, SpaceFieldFormat, SpaceFieldType, SystemSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut test_s1 = match Space::create("test_s1", &test_s1_opts) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/src/test_box.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let mut space = Space::create("new_space_7", &space_opts).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut test_s1 = match Space::create("test_s1", &test_s1_opts) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/src/test_raft.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut node = BoostrapController::new(1, local_addrs.clone(), vec![remote_addrs.clone()]); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/src/test_raft.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut n1_ctrl = BoostrapController::new(1, n1_addrs.clone(), vec![n2_addrs.clone()]); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/src/test_raft.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut n2_ctrl = BoostrapController::new(2, n2_addrs.clone(), vec![n1_addrs.clone()]); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/src/test_box.rs:526:16 [INFO] [stdout] | [INFO] [stdout] 526 | panic!(dbg!(create_result.err())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 526 | panic!("{}", dbg!(create_result.err())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 526 | std::panic::panic_any(dbg!(create_result.err())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/src/lib.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | drop_test_spaces(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/src/test_box.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let mut space = Space::create("new_space_7", &space_opts).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/src/test_raft.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut node = BoostrapController::new(1, local_addrs.clone(), vec![remote_addrs.clone()]); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/src/test_raft.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut n1_ctrl = BoostrapController::new(1, n1_addrs.clone(), vec![n2_addrs.clone()]); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/src/test_raft.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut n2_ctrl = BoostrapController::new(2, n2_addrs.clone(), vec![n1_addrs.clone()]); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/src/test_box.rs:526:16 [INFO] [stdout] | [INFO] [stdout] 526 | panic!(dbg!(create_result.err())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 526 | panic!("{}", dbg!(create_result.err())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 526 | std::panic::panic_any(dbg!(create_result.err())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/src/lib.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | drop_test_spaces(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "48e1307bf80b4adf635e5c410992535abc1a4b437ebe421ad4c534f7fa66c525", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48e1307bf80b4adf635e5c410992535abc1a4b437ebe421ad4c534f7fa66c525", kill_on_drop: false }` [INFO] [stdout] 48e1307bf80b4adf635e5c410992535abc1a4b437ebe421ad4c534f7fa66c525