[INFO] cloning repository https://github.com/prabhpreet/basic-raft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prabhpreet/basic-raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprabhpreet%2Fbasic-raft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprabhpreet%2Fbasic-raft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e631a4e8c296634a18b9558b2288a9e102febbc9 [INFO] testing prabhpreet/basic-raft/e631a4e8c296634a18b9558b2288a9e102febbc9 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprabhpreet%2Fbasic-raft" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prabhpreet/basic-raft on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prabhpreet/basic-raft [INFO] finished tweaking git repo https://github.com/prabhpreet/basic-raft [INFO] tweaked toml for git repo https://github.com/prabhpreet/basic-raft written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/prabhpreet/basic-raft 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indexmap v2.2.1 [INFO] [stderr] Downloaded env_logger v0.11.1 [INFO] [stderr] Downloaded procspawn v1.0.0 [INFO] [stderr] Downloaded ipc-channel v0.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e8e64ffff89568846e6e77fca5ddf9cba07453ec3c78d9605c2adb5a7209bfa [INFO] running `Command { std: "docker" "start" "-a" "3e8e64ffff89568846e6e77fca5ddf9cba07453ec3c78d9605c2adb5a7209bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e8e64ffff89568846e6e77fca5ddf9cba07453ec3c78d9605c2adb5a7209bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e8e64ffff89568846e6e77fca5ddf9cba07453ec3c78d9605c2adb5a7209bfa", kill_on_drop: false }` [INFO] [stdout] 3e8e64ffff89568846e6e77fca5ddf9cba07453ec3c78d9605c2adb5a7209bfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6521687e12230112c8c8220ba514ee826413660b4f48f728c2433cc6b235bee1 [INFO] running `Command { std: "docker" "start" "-a" "6521687e12230112c8c8220ba514ee826413660b4f48f728c2433cc6b235bee1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling indexmap v2.2.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling embedded-io v0.4.0 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling postcard v1.0.8 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling console-api v0.6.0 [INFO] [stderr] Compiling console-subscriber v0.2.0 [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::Log` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::Log; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uindex` [INFO] [stdout] --> src/protocol.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{Term, LogEntry, LogIndex, ServerID, uindex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidateVars` and `Term` [INFO] [stdout] --> src/server/client_request.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | server::{CandidateVars, ServerState, State, Term}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/server/receive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeBus`, `NodeReceiver`, and `bus` [INFO] [stdout] --> src/server/receive.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | bus, protocol::{Message, MsgAddr, NodeBus, NodeBusRxSender, NodeReceiver, NodeSender, RequestVoteResponse}, types::{uindex, LogIndex,... [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/server/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> src/server/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 2 that must be used [INFO] [stdout] --> src/server/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.32s [INFO] running `Command { std: "docker" "inspect" "6521687e12230112c8c8220ba514ee826413660b4f48f728c2433cc6b235bee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6521687e12230112c8c8220ba514ee826413660b4f48f728c2433cc6b235bee1", kill_on_drop: false }` [INFO] [stdout] 6521687e12230112c8c8220ba514ee826413660b4f48f728c2433cc6b235bee1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36b51a736041f3896ba58cc57342d562e95982bcb3644dba2aba2db4763dba62 [INFO] running `Command { std: "docker" "start" "-a" "36b51a736041f3896ba58cc57342d562e95982bcb3644dba2aba2db4763dba62", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling ipc-channel v0.16.1 [INFO] [stderr] Compiling postcard v1.0.8 [INFO] [stderr] Compiling procspawn v1.0.0 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling console-api v0.6.0 [INFO] [stderr] Compiling console-subscriber v0.2.0 [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::Log` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::Log; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uindex` [INFO] [stdout] --> src/protocol.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{Term, LogEntry, LogIndex, ServerID, uindex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidateVars` and `Term` [INFO] [stdout] --> src/server/client_request.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | server::{CandidateVars, ServerState, State, Term}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/server/receive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeBus`, `NodeReceiver`, and `bus` [INFO] [stdout] --> src/server/receive.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | bus, protocol::{Message, MsgAddr, NodeBus, NodeBusRxSender, NodeReceiver, NodeSender, RequestVoteResponse}, types::{uindex, LogIndex,... [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/server/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> src/server/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 2 that must be used [INFO] [stdout] --> src/server/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::Log` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::Log; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uindex` [INFO] [stdout] --> src/protocol.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{Term, LogEntry, LogIndex, ServerID, uindex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/bus.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | use std::{env, time::Duration}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidateVars` and `Term` [INFO] [stdout] --> src/server/client_request.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | server::{CandidateVars, ServerState, State, Term}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/server/receive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeBus`, `NodeReceiver`, and `bus` [INFO] [stdout] --> src/server/receive.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | bus, protocol::{Message, MsgAddr, NodeBus, NodeBusRxSender, NodeReceiver, NodeSender, RequestVoteResponse}, types::{uindex, LogIndex,... [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/bus.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let handle = rt.block_on(async { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bus.rs:203:33 [INFO] [stdout] | [INFO] [stdout] 203 | while let Some((id, message)) = rx2.recv().await { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/server/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> src/server/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 2 that must be used [INFO] [stdout] --> src/server/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.66s [INFO] running `Command { std: "docker" "inspect" "36b51a736041f3896ba58cc57342d562e95982bcb3644dba2aba2db4763dba62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36b51a736041f3896ba58cc57342d562e95982bcb3644dba2aba2db4763dba62", kill_on_drop: false }` [INFO] [stdout] 36b51a736041f3896ba58cc57342d562e95982bcb3644dba2aba2db4763dba62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 030fb095fc68a1bc647ea8d05f6bb3fdfc5409c7152ccb3bdda651865829901d [INFO] running `Command { std: "docker" "start" "-a" "030fb095fc68a1bc647ea8d05f6bb3fdfc5409c7152ccb3bdda651865829901d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::net::SocketAddr` [INFO] [stderr] --> src/types.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::Log` [INFO] [stderr] --> src/types.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use log::Log; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `uindex` [INFO] [stderr] --> src/protocol.rs:3:56 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::types::{Term, LogEntry, LogIndex, ServerID, uindex}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CandidateVars` and `Term` [INFO] [stderr] --> src/server/client_request.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | server::{CandidateVars, ServerState, State, Term}, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/server/receive.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NodeBus`, `NodeReceiver`, and `bus` [INFO] [stderr] --> src/server/receive.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | bus, protocol::{Message, MsgAddr, NodeBus, NodeBusRxSender, NodeReceiver, NodeSender, RequestVoteResponse}, types::{uindex, LogIndex,... [INFO] [stderr] | ^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` in tuple element 0 that must be used [INFO] [stderr] --> src/server/mod.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` in tuple element 1 that must be used [INFO] [stderr] --> src/server/mod.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` in tuple element 2 that must be used [INFO] [stderr] --> src/server/mod.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 169 | tokio::join!(change_handle, bus_receiver_handle, client_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `raft` (lib) generated 9 warnings (run `cargo fix --lib -p raft` to apply 6 suggestions) [INFO] [stderr] warning: unused import: `env` [INFO] [stderr] --> src/bus.rs:173:15 [INFO] [stderr] | [INFO] [stderr] 173 | use std::{env, time::Duration}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handle` [INFO] [stderr] --> src/bus.rs:195:17 [INFO] [stderr] | [INFO] [stderr] 195 | let handle = rt.block_on(async { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/bus.rs:203:33 [INFO] [stderr] | [INFO] [stderr] 203 | while let Some((id, message)) = rx2.recv().await { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: `raft` (lib test) generated 12 warnings (9 duplicates) (run `cargo fix --lib -p raft --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/raft-f9d8d8a8a2be1f09) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test bus::tests::test_udp_bus ... FAILED [INFO] [stdout] test bus::tests::test_udp_bus ... FAILED [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test server::tests::server has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "030fb095fc68a1bc647ea8d05f6bb3fdfc5409c7152ccb3bdda651865829901d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "030fb095fc68a1bc647ea8d05f6bb3fdfc5409c7152ccb3bdda651865829901d", kill_on_drop: false }` [INFO] [stdout] 030fb095fc68a1bc647ea8d05f6bb3fdfc5409c7152ccb3bdda651865829901d