[INFO] cloning repository https://github.com/wcygan/raft-a-tui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wcygan/raft-a-tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwcygan%2Fraft-a-tui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwcygan%2Fraft-a-tui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f544513bda32b4f341d4389999ba86afba10405 [INFO] checking wcygan/raft-a-tui against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwcygan%2Fraft-a-tui" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wcygan/raft-a-tui [INFO] finished tweaking git repo https://github.com/wcygan/raft-a-tui [INFO] tweaked toml for git repo https://github.com/wcygan/raft-a-tui written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wcygan/raft-a-tui on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wcygan/raft-a-tui already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raft-proto v0.7.0 [INFO] [stderr] Downloaded prost-build v0.13.5 [INFO] [stderr] Downloaded slog v2.8.2 [INFO] [stderr] Downloaded slog-async v2.8.0 [INFO] [stderr] Downloaded slog-term v2.9.2 [INFO] [stderr] Downloaded term v1.2.0 [INFO] [stderr] Downloaded raft v0.7.0 [INFO] [stderr] Downloaded protobuf-build v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1140fd2f429d6e0ecea147d935ffd3c7799853b214a964cca25590f993c5ce0c [INFO] running `Command { std: "docker" "start" "-a" "1140fd2f429d6e0ecea147d935ffd3c7799853b214a964cca25590f993c5ce0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1140fd2f429d6e0ecea147d935ffd3c7799853b214a964cca25590f993c5ce0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1140fd2f429d6e0ecea147d935ffd3c7799853b214a964cca25590f993c5ce0c", kill_on_drop: false }` [INFO] [stdout] 1140fd2f429d6e0ecea147d935ffd3c7799853b214a964cca25590f993c5ce0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c46e3ef7198ebef6ecd0db9e7fc9391a2ce4ebe871ccb816505b46bb641bb1e [INFO] running `Command { std: "docker" "start" "-a" "2c46e3ef7198ebef6ecd0db9e7fc9391a2ce4ebe871ccb816505b46bb641bb1e", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling slog v2.8.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking term v1.2.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking prost-types v0.13.5 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling protobuf-build v0.14.1 [INFO] [stderr] Checking slog-term v2.9.2 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling raft-proto v0.7.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking raft v0.7.0 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling raft-proto v0.1.0 (/opt/rustwide/workdir/crates/raft-proto) [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.18 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking raft-core v0.1.0 (/opt/rustwide/workdir/crates/raft-core) [INFO] [stderr] Checking raft-client v0.1.0 (/opt/rustwide/workdir/crates/raft-client) [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> crates/raft-core/src/lib.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(any(test, feature = "test-support"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> crates/raft-core/src/lib.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(any(test, feature = "test-support"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking raft-server v0.1.0 (/opt/rustwide/workdir/crates/raft-server) [INFO] [stdout] warning: unused import: `RaftDriver` [INFO] [stdout] --> crates/raft-core/tests/raft_loop_basic.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use raft_core::raft_loop::{RaftDriver, RaftLoopError, StateUpdate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/storage_applied_index.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | storage.set_applied_index(5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = storage.set_applied_index(5); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/storage_applied_index.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | storage.set_applied_index(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = storage.set_applied_index(100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/storage_applied_index.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | storage1.set_applied_index(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = storage1.set_applied_index(10); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/storage_applied_index.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | storage2.set_applied_index(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = storage2.set_applied_index(20); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/storage_applied_index.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | storage.set_applied_index(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = storage.set_applied_index(50); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> crates/raft-core/tests/crash_recovery_e2e.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let logger = setup_logger(1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> crates/raft-core/tests/crash_recovery_e2e.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | let logger = setup_logger(1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/crash_recovery_e2e.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | storage.set_hardstate(hard_state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 116 | let _ = storage.set_hardstate(hard_state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/crash_recovery_e2e.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | storage.set_applied_index(expected_applied); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = storage.set_applied_index(expected_applied); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/crash_recovery_e2e.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | storage.set_applied_index(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 287 | let _ = storage.set_applied_index(10); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/crash_recovery_e2e.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | storage.set_applied_index(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 298 | let _ = storage.set_applied_index(20); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/crash_recovery_e2e.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | storage.set_applied_index(30); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 308 | let _ = storage.set_applied_index(30); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/crash_recovery_e2e.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | storage.set_applied_index(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 331 | let _ = storage.set_applied_index(100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaftDriver` [INFO] [stdout] --> crates/raft-core/tests/three_node_cluster.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use raft_core::raft_loop::{RaftDriver, RaftLoopError, StateUpdate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/disk_storage_basic.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | storage.set_applied_index(42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = storage.set_applied_index(42); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/disk_storage_basic.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | storage.set_hardstate(hs.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = storage.set_hardstate(hs.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/disk_storage_basic.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | storage.set_hardstate(hs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = storage.set_hardstate(hs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/disk_storage_basic.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | storage.set_applied_index(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 422 | let _ = storage.set_applied_index(10); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/disk_storage_basic.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | storage.set_applied_index(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 435 | let _ = storage.set_applied_index(20); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/disk_storage_basic.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | storage1.set_applied_index(42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 481 | let _ = storage1.set_applied_index(42); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/raft-core/tests/disk_storage_basic.rs:491:5 [INFO] [stdout] | [INFO] [stdout] 491 | storage1.set_applied_index(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 491 | let _ = storage1.set_applied_index(100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_id` is never read [INFO] [stdout] --> crates/raft-core/tests/three_node_cluster.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct TestNode { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 51 | node_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.36s [INFO] running `Command { std: "docker" "inspect" "2c46e3ef7198ebef6ecd0db9e7fc9391a2ce4ebe871ccb816505b46bb641bb1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c46e3ef7198ebef6ecd0db9e7fc9391a2ce4ebe871ccb816505b46bb641bb1e", kill_on_drop: false }` [INFO] [stdout] 2c46e3ef7198ebef6ecd0db9e7fc9391a2ce4ebe871ccb816505b46bb641bb1e