[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] 2d9f48ddf01c190d06fcedd209a063847e9d0c17 [INFO] checking picodata/tarantool-module against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [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 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/tikv/raft-rs` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dc77f3322fe3f908b4e486448f90c4058d6855dd94f9f358c0aedfba37aa9f4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1dc77f3322fe3f908b4e486448f90c4058d6855dd94f9f358c0aedfba37aa9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dc77f3322fe3f908b4e486448f90c4058d6855dd94f9f358c0aedfba37aa9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dc77f3322fe3f908b4e486448f90c4058d6855dd94f9f358c0aedfba37aa9f4", kill_on_drop: false }` [INFO] [stdout] 1dc77f3322fe3f908b4e486448f90c4058d6855dd94f9f358c0aedfba37aa9f4 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffbb5da3b2a635ca5245af48395e7a5938fcb052abf29df6237a23356061d11b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ffbb5da3b2a635ca5245af48395e7a5938fcb052abf29df6237a23356061d11b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling protobuf v2.22.1 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking arc-swap v1.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking va_list v0.1.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking refpool v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking slog-stdlog v4.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking slog-async v2.6.0 [INFO] [stderr] Checking tester v0.7.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.57 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Checking slog-envlogger v2.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling protobuf-codegen v2.22.1 [INFO] [stderr] Compiling getset v0.0.9 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling protobuf-build v0.12.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling raft-proto v0.6.0-alpha (https://github.com/tikv/raft-rs?branch=master#a5423b24) [INFO] [stderr] Checking raft v0.6.0-alpha (https://github.com/tikv/raft-rs?branch=master#a5423b24) [INFO] [stderr] Checking rmp-serde v0.14.4 [INFO] [stderr] Checking tarantool v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/raft/cluster_node.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] = note: `#[warn(unused_variables)]` on by default [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: `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: `command` [INFO] [stdout] --> src/raft/cluster_node.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] = note: `#[warn(unused_variables)]` on by default [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: `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: `Propose` [INFO] [stdout] --> src/raft/cluster_node.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Propose(Command), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conf` [INFO] [stdout] --> src/raft/cluster_node.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Conf(ConfChange), [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: 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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Propose` [INFO] [stdout] --> src/raft/cluster_node.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Propose(Command), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conf` [INFO] [stdout] --> src/raft/cluster_node.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Conf(ConfChange), [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: 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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking easy v0.1.0 (/opt/rustwide/workdir/examples/easy) [INFO] [stderr] Checking hardest v0.1.0 (/opt/rustwide/workdir/examples/hardest) [INFO] [stderr] Checking read v0.1.0 (/opt/rustwide/workdir/examples/read) [INFO] [stderr] Checking write v0.1.0 (/opt/rustwide/workdir/examples/write) [INFO] [stderr] Checking tarantool-module-test-runner v0.1.0 (/opt/rustwide/workdir/tests) [INFO] [stderr] Checking cluster_node v0.1.0 (/opt/rustwide/workdir/examples/cluster_node) [INFO] [stderr] Checking harder v0.1.0 (/opt/rustwide/workdir/examples/harder) [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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: 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "ffbb5da3b2a635ca5245af48395e7a5938fcb052abf29df6237a23356061d11b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffbb5da3b2a635ca5245af48395e7a5938fcb052abf29df6237a23356061d11b", kill_on_drop: false }` [INFO] [stdout] ffbb5da3b2a635ca5245af48395e7a5938fcb052abf29df6237a23356061d11b