[INFO] fetching crate almost-raft 0.2.1... [INFO] testing almost-raft-0.2.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate almost-raft 0.2.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate almost-raft 0.2.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate almost-raft 0.2.1 [INFO] finished tweaking crates.io crate almost-raft 0.2.1 [INFO] tweaked toml for crates.io crate almost-raft 0.2.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 749c191d5716883b1e5abe8ee13e681107cc889835faa525e3e41ef4aa47b56d [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" "749c191d5716883b1e5abe8ee13e681107cc889835faa525e3e41ef4aa47b56d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "749c191d5716883b1e5abe8ee13e681107cc889835faa525e3e41ef4aa47b56d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "749c191d5716883b1e5abe8ee13e681107cc889835faa525e3e41ef4aa47b56d", kill_on_drop: false }` [INFO] [stdout] 749c191d5716883b1e5abe8ee13e681107cc889835faa525e3e41ef4aa47b56d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 847edd40b359b11faa278116c880fb86d7a420e64c22255ca51b7cd7db344277 [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" "847edd40b359b11faa278116c880fb86d7a420e64c22255ca51b7cd7db344277", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling almost-raft v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.21s [INFO] running `Command { std: "docker" "inspect" "847edd40b359b11faa278116c880fb86d7a420e64c22255ca51b7cd7db344277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "847edd40b359b11faa278116c880fb86d7a420e64c22255ca51b7cd7db344277", kill_on_drop: false }` [INFO] [stdout] 847edd40b359b11faa278116c880fb86d7a420e64c22255ca51b7cd7db344277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 779d58229c88f9fd9d336dc0b14fb6437d6013c96ffbd68d73bf195da6c98f19 [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" "779d58229c88f9fd9d336dc0b14fb6437d6013c96ffbd68d73bf195da6c98f19", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.18 [INFO] [stderr] Compiling almost-raft v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:530:13 [INFO] [stdout] | [INFO] [stdout] 530 | self.sender.send(msg).await; [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: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | tx.send(Message::ControlAddNode(dummy)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | tx.send(Message::ControlAddNode(dummy)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | tx.send(Message::ControlAddNode(dummy)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | / tx_to_raft [INFO] [stdout] 632 | | .send(Message::RequestVoteResponse { [INFO] [stdout] 633 | | vote: true, [INFO] [stdout] 634 | | term: 1, [INFO] [stdout] 635 | | }) [INFO] [stdout] 636 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | / tx_to_raft [INFO] [stdout] 638 | | .send(Message::RequestVoteResponse { [INFO] [stdout] 639 | | vote: true, [INFO] [stdout] 640 | | term: 1, [INFO] [stdout] 641 | | }) [INFO] [stdout] 642 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | / tx_to_raft [INFO] [stdout] 644 | | .send(Message::RequestVoteResponse { [INFO] [stdout] 645 | | vote: true, [INFO] [stdout] 646 | | term: 1, [INFO] [stdout] 647 | | }) [INFO] [stdout] 648 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 701 | / tx_to_raft [INFO] [stdout] 702 | | .send(Message::RequestVoteResponse { [INFO] [stdout] 703 | | vote: true, [INFO] [stdout] 704 | | term: 1, [INFO] [stdout] 705 | | }) [INFO] [stdout] 706 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | / tx_to_raft [INFO] [stdout] 731 | | .send(Message::RequestVoteResponse { [INFO] [stdout] 732 | | vote: true, [INFO] [stdout] 733 | | term: 2, [INFO] [stdout] 734 | | }) [INFO] [stdout] 735 | | .await; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | / tx_to_raft_node_1 [INFO] [stdout] 792 | | .send(Message::ControlAddNode(new_node( [INFO] [stdout] 793 | | self_id_2.as_str(), [INFO] [stdout] 794 | | tx_to_raft_node_2.clone(), [INFO] [stdout] 795 | | ))) [INFO] [stdout] 796 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:797:9 [INFO] [stdout] | [INFO] [stdout] 797 | / tx_to_raft_node_1 [INFO] [stdout] 798 | | .send(Message::ControlAddNode(new_node( [INFO] [stdout] 799 | | self_id_3.as_str(), [INFO] [stdout] 800 | | tx_to_raft_node_3.clone(), [INFO] [stdout] 801 | | ))) [INFO] [stdout] 802 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | / tx_to_raft_node_2 [INFO] [stdout] 805 | | .send(Message::ControlAddNode(new_node( [INFO] [stdout] 806 | | self_id_1.as_str(), [INFO] [stdout] 807 | | tx_to_raft_node_1.clone(), [INFO] [stdout] 808 | | ))) [INFO] [stdout] 809 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:810:9 [INFO] [stdout] | [INFO] [stdout] 810 | / tx_to_raft_node_2 [INFO] [stdout] 811 | | .send(Message::ControlAddNode(new_node( [INFO] [stdout] 812 | | self_id_3.as_str(), [INFO] [stdout] 813 | | tx_to_raft_node_3.clone(), [INFO] [stdout] 814 | | ))) [INFO] [stdout] 815 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | / tx_to_raft_node_3 [INFO] [stdout] 817 | | .send(Message::ControlAddNode(new_node( [INFO] [stdout] 818 | | self_id_1.as_str(), [INFO] [stdout] 819 | | tx_to_raft_node_1.clone(), [INFO] [stdout] 820 | | ))) [INFO] [stdout] 821 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/election/mod.rs:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | / tx_to_raft_node_3 [INFO] [stdout] 823 | | .send(Message::ControlAddNode(new_node( [INFO] [stdout] 824 | | self_id_2.as_str(), [INFO] [stdout] 825 | | tx_to_raft_node_2.clone(), [INFO] [stdout] 826 | | ))) [INFO] [stdout] 827 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.88s [INFO] running `Command { std: "docker" "inspect" "779d58229c88f9fd9d336dc0b14fb6437d6013c96ffbd68d73bf195da6c98f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "779d58229c88f9fd9d336dc0b14fb6437d6013c96ffbd68d73bf195da6c98f19", kill_on_drop: false }` [INFO] [stdout] 779d58229c88f9fd9d336dc0b14fb6437d6013c96ffbd68d73bf195da6c98f19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", 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] 44d4534cc6d24830c784806423609b4f22ee9094bd94c28b017b1cec94995bee [INFO] running `Command { std: "docker" "start" "-a" "44d4534cc6d24830c784806423609b4f22ee9094bd94c28b017b1cec94995bee", kill_on_drop: false }` [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:530:13 [INFO] [stderr] | [INFO] [stderr] 530 | self.sender.send(msg).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:566:9 [INFO] [stderr] | [INFO] [stderr] 566 | tx.send(Message::ControlAddNode(dummy)).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:568:9 [INFO] [stderr] | [INFO] [stderr] 568 | tx.send(Message::ControlAddNode(dummy)).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:578:9 [INFO] [stderr] | [INFO] [stderr] 578 | tx.send(Message::ControlAddNode(dummy)).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:631:9 [INFO] [stderr] | [INFO] [stderr] 631 | / tx_to_raft [INFO] [stderr] 632 | | .send(Message::RequestVoteResponse { [INFO] [stderr] 633 | | vote: true, [INFO] [stderr] 634 | | term: 1, [INFO] [stderr] 635 | | }) [INFO] [stderr] 636 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:637:9 [INFO] [stderr] | [INFO] [stderr] 637 | / tx_to_raft [INFO] [stderr] 638 | | .send(Message::RequestVoteResponse { [INFO] [stderr] 639 | | vote: true, [INFO] [stderr] 640 | | term: 1, [INFO] [stderr] 641 | | }) [INFO] [stderr] 642 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:643:9 [INFO] [stderr] | [INFO] [stderr] 643 | / tx_to_raft [INFO] [stderr] 644 | | .send(Message::RequestVoteResponse { [INFO] [stderr] 645 | | vote: true, [INFO] [stderr] 646 | | term: 1, [INFO] [stderr] 647 | | }) [INFO] [stderr] 648 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:701:9 [INFO] [stderr] | [INFO] [stderr] 701 | / tx_to_raft [INFO] [stderr] 702 | | .send(Message::RequestVoteResponse { [INFO] [stderr] 703 | | vote: true, [INFO] [stderr] 704 | | term: 1, [INFO] [stderr] 705 | | }) [INFO] [stderr] 706 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:730:13 [INFO] [stderr] | [INFO] [stderr] 730 | / tx_to_raft [INFO] [stderr] 731 | | .send(Message::RequestVoteResponse { [INFO] [stderr] 732 | | vote: true, [INFO] [stderr] 733 | | term: 2, [INFO] [stderr] 734 | | }) [INFO] [stderr] 735 | | .await; [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:791:9 [INFO] [stderr] | [INFO] [stderr] 791 | / tx_to_raft_node_1 [INFO] [stderr] 792 | | .send(Message::ControlAddNode(new_node( [INFO] [stderr] 793 | | self_id_2.as_str(), [INFO] [stderr] 794 | | tx_to_raft_node_2.clone(), [INFO] [stderr] 795 | | ))) [INFO] [stderr] 796 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:797:9 [INFO] [stderr] | [INFO] [stderr] 797 | / tx_to_raft_node_1 [INFO] [stderr] 798 | | .send(Message::ControlAddNode(new_node( [INFO] [stderr] 799 | | self_id_3.as_str(), [INFO] [stderr] 800 | | tx_to_raft_node_3.clone(), [INFO] [stderr] 801 | | ))) [INFO] [stderr] 802 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:804:9 [INFO] [stderr] | [INFO] [stderr] 804 | / tx_to_raft_node_2 [INFO] [stderr] 805 | | .send(Message::ControlAddNode(new_node( [INFO] [stderr] 806 | | self_id_1.as_str(), [INFO] [stderr] 807 | | tx_to_raft_node_1.clone(), [INFO] [stderr] 808 | | ))) [INFO] [stderr] 809 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:810:9 [INFO] [stderr] | [INFO] [stderr] 810 | / tx_to_raft_node_2 [INFO] [stderr] 811 | | .send(Message::ControlAddNode(new_node( [INFO] [stderr] 812 | | self_id_3.as_str(), [INFO] [stderr] 813 | | tx_to_raft_node_3.clone(), [INFO] [stderr] 814 | | ))) [INFO] [stderr] 815 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:816:9 [INFO] [stderr] | [INFO] [stderr] 816 | / tx_to_raft_node_3 [INFO] [stderr] 817 | | .send(Message::ControlAddNode(new_node( [INFO] [stderr] 818 | | self_id_1.as_str(), [INFO] [stderr] 819 | | tx_to_raft_node_1.clone(), [INFO] [stderr] 820 | | ))) [INFO] [stderr] 821 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/election/mod.rs:822:9 [INFO] [stderr] | [INFO] [stderr] 822 | / tx_to_raft_node_3 [INFO] [stderr] 823 | | .send(Message::ControlAddNode(new_node( [INFO] [stderr] 824 | | self_id_2.as_str(), [INFO] [stderr] 825 | | tx_to_raft_node_2.clone(), [INFO] [stderr] 826 | | ))) [INFO] [stderr] 827 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/almost_raft-0a8602de7728bb19) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] Jun 05 03:29:38.940 TRACE almost_raft::election::test: 8232 [INFO] [stdout] Jun 05 03:29:38.963  INFO almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] starting election process... [INFO] [stdout] Jun 05 03:29:38.963 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] setting new timeout to 8232 [INFO] [stdout] Jun 05 03:29:38.963 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] not enough node [INFO] [stdout] Jun 05 03:29:38.963 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] remaining_election_timeout: 8232, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.963 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] setting new timeout to 8232 [INFO] [stdout] Jun 05 03:29:38.963 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] got message Some(ControlAddNode(NodeDummy { id: "1", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb8005810, tail_position: 0 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 3, rx_fields: "..." } } } })) [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] remaining_election_timeout: 8231, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] setting new timeout to 8231 [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] got message Some(ControlAddNode(NodeDummy { id: "2", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb8005810, tail_position: 0 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 3, rx_fields: "..." } } } })) [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] remaining_election_timeout: 8231, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] setting new timeout to 8231 [INFO] [stdout] Jun 05 03:29:38.943  INFO almost_raft::election: [node: raft-node-1] starting election process... [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: raft-node-1] setting new timeout to 60 [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: raft-node-1] got message Some(ControlAddNode(NodeDummy { id: "raft-node-2", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffba8004b10, tail_position: 2 }, semaphore: (Semaphore { permits: 8 }, 10), rx_waker: AtomicWaker, tx_count: 4, rx_fields: "..." } } } })) [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: raft-node-1] remaining_election_timeout: 60, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: raft-node-1] setting new timeout to 60 [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: raft-node-1] got message Some(ControlAddNode(NodeDummy { id: "raft-node-3", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffba80058a0, tail_position: 2 }, semaphore: (Semaphore { permits: 8 }, 10), rx_waker: AtomicWaker, tx_count: 4, rx_fields: "..." } } } })) [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: raft-node-1] remaining_election_timeout: 60, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: raft-node-1] setting new timeout to 60 [INFO] [stdout] Jun 05 03:29:38.964  INFO almost_raft::election: [node: raft-node-2] starting election process... [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: raft-node-2] setting new timeout to 70 [INFO] [stdout] Jun 05 03:29:38.964 TRACE almost_raft::election: [node: raft-node-2] got message Some(ControlAddNode(NodeDummy { id: "raft-node-1", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffba8003d80, tail_position: 2 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 4, rx_fields: "..." } } } })) [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-2] remaining_election_timeout: 70, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-2] setting new timeout to 70 [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-2] got message Some(ControlAddNode(NodeDummy { id: "raft-node-3", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffba80058a0, tail_position: 2 }, semaphore: (Semaphore { permits: 8 }, 10), rx_waker: AtomicWaker, tx_count: 4, rx_fields: "..." } } } })) [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-2] remaining_election_timeout: 70, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-2] setting new timeout to 70 [INFO] [stdout] Jun 05 03:29:38.965  INFO almost_raft::election: [node: raft-node-3] starting election process... [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-3] setting new timeout to 80 [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-3] got message Some(ControlAddNode(NodeDummy { id: "raft-node-1", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffba8003d80, tail_position: 2 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 4, rx_fields: "..." } } } })) [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-3] remaining_election_timeout: 80, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-3] setting new timeout to 80 [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-3] got message Some(ControlAddNode(NodeDummy { id: "raft-node-2", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffba8004b10, tail_position: 2 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 4, rx_fields: "..." } } } })) [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-3] remaining_election_timeout: 80, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: raft-node-3] setting new timeout to 80 [INFO] [stdout] Jun 05 03:29:38.943  INFO almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] starting election process... [INFO] [stdout] Jun 05 03:29:38.965 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] setting new timeout to 6416 [INFO] [stdout] Jun 05 03:29:38.966 DEBUG almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] updating node state to NodeState::Candidate [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] updating term from 0 to 1 [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] sending vote request for term 1 to: NodeDummy { id: "1", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb00036e0, tail_position: 0 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election::test: [node: 1] sending message RequestVote { node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 } [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] sending vote request for term 1 to: NodeDummy { id: "2", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb00036e0, tail_position: 1 }, semaphore: (Semaphore { permits: 9 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election::test: [node: 2] sending message RequestVote { node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 } [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] sending vote request for term 1 to: NodeDummy { id: "3", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb00036e0, tail_position: 2 }, semaphore: (Semaphore { permits: 8 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election::test: [node: 3] sending message RequestVote { node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 } [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] sending vote request for term 1 to: NodeDummy { id: "3", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb00036e0, tail_position: 3 }, semaphore: (Semaphore { permits: 7 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election::test: [node: 3] sending message RequestVote { node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 } [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] remaining_election_timeout: 6416, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] setting new timeout to 6416 [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election::test: Some(RequestVote { node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 }) [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election::test: Some(RequestVote { node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 }) [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election::test: Some(RequestVote { node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 }) [INFO] [stdout] Jun 05 03:29:38.966 TRACE almost_raft::election::test: Some(RequestVote { node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 }) [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] got message Some(RequestVoteResponse { term: 1, vote: true }) [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] remaining_election_timeout: 6415, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] setting new timeout to 6415 [INFO] [stdout] Jun 05 03:29:38.943  INFO almost_raft::election: [node: raft-node] starting election process... [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] got message Some(RequestVoteResponse { term: 1, vote: true }) [INFO] [stdout] Jun 05 03:29:38.967 DEBUG almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] updating node state to NodeState::Leader [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: raft-node] setting new timeout to 8166 [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election::test: [node: 1] sending message HeartBeat { leader_node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 } [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] sent heartbeat [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election::test: [node: 2] sending message HeartBeat { leader_node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 } [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] sent heartbeat [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election::test: [node: 3] sending message HeartBeat { leader_node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 } [INFO] [stdout] Jun 05 03:29:38.967 DEBUG almost_raft::election: [node: raft-node] updating node state to NodeState::Candidate [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] sent heartbeat [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: raft-node] updating term from 0 to 1 [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election::test: [node: 3] sending message HeartBeat { leader_node_id: "3253a28e-05e3-41d4-8a24-ae3b1d79d654", term: 1 } [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] sent heartbeat [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: raft-node] sending vote request for term 1 to: NodeDummy { id: "1", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb40036e0, tail_position: 0 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] remaining_election_timeout: 6415, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election::test: [node: 1] sending message RequestVote { node_id: "raft-node", term: 1 } [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] setting new timeout to 1000 [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] got message Some(RequestVoteResponse { term: 1, vote: true }) [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: raft-node] sending vote request for term 1 to: NodeDummy { id: "2", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb40036e0, tail_position: 1 }, semaphore: (Semaphore { permits: 9 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] remaining_election_timeout: 6415, remaining_heartbeat_interval: 6415 [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election::test: [node: 2] sending message RequestVote { node_id: "raft-node", term: 1 } [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: 3253a28e-05e3-41d4-8a24-ae3b1d79d654] setting new timeout to 6415 [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election: [node: raft-node] sending vote request for term 1 to: NodeDummy { id: "3", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb40036e0, tail_position: 2 }, semaphore: (Semaphore { permits: 8 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.967 TRACE almost_raft::election::test: [node: 3] sending message RequestVote { node_id: "raft-node", term: 1 } [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election: [node: raft-node] sending vote request for term 1 to: NodeDummy { id: "4", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb40036e0, tail_position: 3 }, semaphore: (Semaphore { permits: 7 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election::test: [node: 4] sending message RequestVote { node_id: "raft-node", term: 1 } [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election: [node: raft-node] remaining_election_timeout: 8166, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election: [node: raft-node] setting new timeout to 8166 [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election: [node: raft-node] got message Some(RequestVoteResponse { term: 1, vote: true }) [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election: [node: raft-node] remaining_election_timeout: 8165, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election: [node: raft-node] setting new timeout to 8165 [INFO] [stdout] Jun 05 03:29:38.968 DEBUG almost_raft::election: [node: raft-node] updating node state to NodeState::Candidate [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election: [node: raft-node] updating term from 1 to 2 [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election: [node: raft-node] sending vote request for term 2 to: NodeDummy { id: "1", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb40036e0, tail_position: 4 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election::test: [node: 1] sending message RequestVote { node_id: "raft-node", term: 2 } [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election: [node: raft-node] sending vote request for term 2 to: NodeDummy { id: "2", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb40036e0, tail_position: 5 }, semaphore: (Semaphore { permits: 9 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election::test: [node: 2] sending message RequestVote { node_id: "raft-node", term: 2 } [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election: [node: raft-node] sending vote request for term 2 to: NodeDummy { id: "3", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb40036e0, tail_position: 6 }, semaphore: (Semaphore { permits: 8 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.968 TRACE almost_raft::election::test: [node: 3] sending message RequestVote { node_id: "raft-node", term: 2 } [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election: [node: raft-node] sending vote request for term 2 to: NodeDummy { id: "4", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb40036e0, tail_position: 7 }, semaphore: (Semaphore { permits: 7 }, 10), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election::test: [node: 4] sending message RequestVote { node_id: "raft-node", term: 2 } [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election: [node: raft-node] remaining_election_timeout: 8166, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election: [node: raft-node] setting new timeout to 8166 [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election::test: multi-term: RequestVote { node_id: "raft-node", term: 2 } [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election::test: Some(RequestVote { node_id: "raft-node", term: 2 }) [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election::test: Some(RequestVote { node_id: "raft-node", term: 2 }) [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election::test: Some(RequestVote { node_id: "raft-node", term: 2 }) [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election: [node: raft-node] got message Some(RequestVoteResponse { term: 2, vote: true }) [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election: [node: raft-node] remaining_election_timeout: 8165, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election: [node: raft-node] setting new timeout to 8165 [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election: [node: raft-node] got message Some(RequestVoteResponse { term: 2, vote: true }) [INFO] [stdout] Jun 05 03:29:38.969 DEBUG almost_raft::election: [node: raft-node] updating node state to NodeState::Leader [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election::test: [node: 1] sending message HeartBeat { leader_node_id: "raft-node", term: 2 } [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election: [node: raft-node] sent heartbeat [INFO] [stdout] Jun 05 03:29:38.969 TRACE almost_raft::election::test: [node: 2] sending message HeartBeat { leader_node_id: "raft-node", term: 2 } [INFO] [stdout] Jun 05 03:29:38.970 TRACE almost_raft::election: [node: raft-node] sent heartbeat [INFO] [stdout] Jun 05 03:29:38.970 TRACE almost_raft::election::test: [node: 3] sending message HeartBeat { leader_node_id: "raft-node", term: 2 } [INFO] [stdout] Jun 05 03:29:38.970 TRACE almost_raft::election: [node: raft-node] sent heartbeat [INFO] [stdout] Jun 05 03:29:38.970 TRACE almost_raft::election::test: [node: 4] sending message HeartBeat { leader_node_id: "raft-node", term: 2 } [INFO] [stdout] Jun 05 03:29:38.970 TRACE almost_raft::election: [node: raft-node] sent heartbeat [INFO] [stdout] Jun 05 03:29:38.970 TRACE almost_raft::election: [node: raft-node] remaining_election_timeout: 8165, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.970 TRACE almost_raft::election: [node: raft-node] setting new timeout to 1000 [INFO] [stdout] Jun 05 03:29:38.970 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] got message Some(ControlAddNode(NodeDummy { id: "3", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffbb8005810, tail_position: 0 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 4, rx_fields: "..." } } } })) [INFO] [stdout] Jun 05 03:29:38.970 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] remaining_election_timeout: 63, remaining_heartbeat_interval: 1000 [INFO] [stdout] Jun 05 03:29:38.970 TRACE almost_raft::election: [node: 11df3d26-9fea-454d-a9ed-4dce53895a88] setting new timeout to 63 [INFO] [stdout] test election::test::test_raft_election_multi_term ... ok [INFO] [stdout] test election::test::test_raft_election ... ok [INFO] [stdout] Jun 05 03:29:38.977 TRACE almost_raft::election::test: Err(Elapsed(())) [INFO] [stdout] test election::test::test_min_node ... FAILED [INFO] [stdout] Jun 05 03:29:39.026 DEBUG almost_raft::election: [node: raft-node-1] updating node state to NodeState::Candidate [INFO] [stdout] Jun 05 03:29:39.026 TRACE almost_raft::election: [node: raft-node-1] updating term from 0 to 1 [INFO] [stdout] Jun 05 03:29:39.026 TRACE almost_raft::election: [node: raft-node-1] sending vote request for term 1 to: NodeDummy { id: "raft-node-2", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffba8004b10, tail_position: 2 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 4, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:39.026 TRACE almost_raft::election::test: [node: raft-node-2] sending message RequestVote { node_id: "raft-node-1", term: 1 } [INFO] [stdout] Jun 05 03:29:39.026 TRACE almost_raft::election: [node: raft-node-1] sending vote request for term 1 to: NodeDummy { id: "raft-node-3", sender: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7ffba80058a0, tail_position: 2 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 4, rx_fields: "..." } } } } [INFO] [stdout] Jun 05 03:29:39.026 TRACE almost_raft::election::test: [node: raft-node-3] sending message RequestVote { node_id: "raft-node-1", term: 1 } [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-1] remaining_election_timeout: 60, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-1] setting new timeout to 60 [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-2] got message Some(RequestVote { node_id: "raft-node-1", term: 1 }) [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-2] updating term from 0 to 1 [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-2] current term: 1, sending vote to node: raft-node-1, for term: 1 [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election::test: [node: raft-node-1] sending message RequestVoteResponse { term: 1, vote: true } [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-2] remaining_election_timeout: 8, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-2] setting new timeout to 8 [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-3] got message Some(RequestVote { node_id: "raft-node-1", term: 1 }) [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-3] updating term from 0 to 1 [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-3] current term: 1, sending vote to node: raft-node-1, for term: 1 [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election::test: [node: raft-node-1] sending message RequestVoteResponse { term: 1, vote: true } [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-3] remaining_election_timeout: 19, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-3] setting new timeout to 19 [INFO] [stdout] Jun 05 03:29:39.027 TRACE almost_raft::election: [node: raft-node-1] got message Some(RequestVoteResponse { term: 1, vote: true }) [INFO] [stdout] Jun 05 03:29:39.027 DEBUG almost_raft::election: [node: raft-node-1] updating node state to NodeState::Leader [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election::test: [node: raft-node-2] sending message HeartBeat { leader_node_id: "raft-node-1", term: 1 } [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-1] sent heartbeat [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election::test: [node: raft-node-3] sending message HeartBeat { leader_node_id: "raft-node-1", term: 1 } [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-1] sent heartbeat [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-1] remaining_election_timeout: 59, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-1] setting new timeout to 20 [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-1] got message Some(RequestVoteResponse { term: 1, vote: true }) [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-1] remaining_election_timeout: 59, remaining_heartbeat_interval: 59 [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-1] setting new timeout to 59 [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-2] got message Some(HeartBeat { leader_node_id: "raft-node-1", term: 1 }) [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-2] updating term to 1 [INFO] [stdout] Jun 05 03:29:39.028 DEBUG almost_raft::election: [node: raft-node-2] leader changed to node: raft-node-1 [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-2] remaining_election_timeout: 70, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-2] setting new timeout to 70 [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-3] got message Some(HeartBeat { leader_node_id: "raft-node-1", term: 1 }) [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-3] updating term to 1 [INFO] [stdout] Jun 05 03:29:39.028 DEBUG almost_raft::election: [node: raft-node-3] leader changed to node: raft-node-1 [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-3] remaining_election_timeout: 80, remaining_heartbeat_interval: 20 [INFO] [stdout] Jun 05 03:29:39.028 TRACE almost_raft::election: [node: raft-node-3] setting new timeout to 80 [INFO] [stdout] Jun 05 03:29:39.035 TRACE almost_raft::election::test: ControlLeaderChanged("raft-node-1") [INFO] [stdout] test election::test::test_raft_election_multi_node ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- election::test::test_min_node stdout ---- [INFO] [stdout] thread 'election::test::test_min_node' panicked at 'called `Option::unwrap()` on a `None` value', src/election/mod.rs:586:35 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55623182a730 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55623182a730 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55623182a730 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55623182a730 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55623184d51c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x556231827385 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55623182c92b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55623182c92b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55623182c92b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55623182c43c - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55623182cfd1 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55623182caa7 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:517:13 [INFO] [stdout] 12: 0x55623182ac2c - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55623182ca39 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55623152d9a1 - core[ee1ca6415511a9c4]::panicking::panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55623152d8ed - core[ee1ca6415511a9c4]::panicking::panic [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x5562315544e4 - >>::unwrap [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/option.rs:386:21 [INFO] [stdout] 17: 0x55623153508b - almost_raft[ea07f2a24a2ff9b8]::election::test::test_min_node::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/election/mod.rs:586:13 [INFO] [stdout] 18: 0x55623153d1e9 - as core[ee1ca6415511a9c4]::future::future::Future>::poll [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 19: 0x55623154a3df - > as core[ee1ca6415511a9c4]::future::future::Future>::poll [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/future/future.rs:120:9 [INFO] [stdout] 20: 0x55623155bb00 - >::block_on::>>::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/basic_scheduler.rs:213:62 [INFO] [stdout] 21: 0x556231560b8c - tokio[c6b35a2874e11cb8]::coop::with_budget::, >::block_on>>::{closure#0}::{closure#0}>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/coop.rs:106:9 [INFO] [stdout] 22: 0x55623153df01 - >>::try_with::, >::block_on>>::{closure#0}::{closure#0}>::{closure#0}, core[ee1ca6415511a9c4]::task::poll::Poll<()>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/local.rs:400:16 [INFO] [stdout] 23: 0x55623153d60d - >>::with::, >::block_on>>::{closure#0}::{closure#0}>::{closure#0}, core[ee1ca6415511a9c4]::task::poll::Poll<()>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/local.rs:376:9 [INFO] [stdout] 24: 0x556231558e5c - tokio[c6b35a2874e11cb8]::coop::with_budget::, >::block_on>>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/coop.rs:99:5 [INFO] [stdout] 25: 0x556231558e5c - tokio[c6b35a2874e11cb8]::coop::budget::, >::block_on>>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/coop.rs:76:5 [INFO] [stdout] 26: 0x556231558e5c - >::block_on::>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/basic_scheduler.rs:213:39 [INFO] [stdout] 27: 0x55623155b9f1 - tokio[c6b35a2874e11cb8]::runtime::basic_scheduler::enter::<>::block_on>>::{closure#0}, (), tokio[c6b35a2874e11cb8]::runtime::driver::Driver>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/basic_scheduler.rs:323:29 [INFO] [stdout] 28: 0x55623156467d - >::set::>::block_on>>::{closure#0}, (), tokio[c6b35a2874e11cb8]::runtime::driver::Driver>::{closure#0}, ()> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/macros/scoped_tls.rs:61:9 [INFO] [stdout] 29: 0x55623155806c - tokio[c6b35a2874e11cb8]::runtime::basic_scheduler::enter::<>::block_on>>::{closure#0}, (), tokio[c6b35a2874e11cb8]::runtime::driver::Driver> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/basic_scheduler.rs:323:5 [INFO] [stdout] 30: 0x55623155676b - >::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/basic_scheduler.rs:202:9 [INFO] [stdout] 31: 0x556231556cc4 - >::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/basic_scheduler.rs:481:9 [INFO] [stdout] 32: 0x556231556f7c - >::block_on::> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/basic_scheduler.rs:162:24 [INFO] [stdout] 33: 0x55623155f61b - ::block_on::> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/mod.rs:450:46 [INFO] [stdout] 34: 0x5562315333a4 - almost_raft[ea07f2a24a2ff9b8]::election::test::test_min_node [INFO] [stdout] at /opt/rustwide/workdir/src/election/mod.rs:585:9 [INFO] [stdout] 35: 0x5562315332ca - almost_raft[ea07f2a24a2ff9b8]::election::test::test_min_node::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/election/mod.rs:539:11 [INFO] [stdout] 36: 0x556231531a4e - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x556231770613 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x556231770613 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 39: 0x55623176f0dc - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x55623176f0dc - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 41: 0x55623176f0dc - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 42: 0x55623176f0dc - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 43: 0x55623176f0dc - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 44: 0x55623176f0dc - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 45: 0x55623176f0dc - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 46: 0x55623174eda2 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 47: 0x55623174eda2 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 48: 0x55623174f688 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 49: 0x55623174f688 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 50: 0x55623174f688 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 51: 0x55623174f688 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 52: 0x55623174f688 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 53: 0x55623174f688 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 54: 0x55623174f688 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 55: 0x556231831c67 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 56: 0x556231831c67 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 57: 0x556231831c67 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 58: 0x7ffbbf750609 - start_thread [INFO] [stdout] 59: 0x7ffbbf522293 - clone [INFO] [stdout] 60: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] election::test::test_min_node [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "44d4534cc6d24830c784806423609b4f22ee9094bd94c28b017b1cec94995bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44d4534cc6d24830c784806423609b4f22ee9094bd94c28b017b1cec94995bee", kill_on_drop: false }` [INFO] [stdout] 44d4534cc6d24830c784806423609b4f22ee9094bd94c28b017b1cec94995bee