[INFO] cloning repository https://github.com/ryanjackgit/sand [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryanjackgit/sand" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanjackgit%2Fsand"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanjackgit%2Fsand'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4a43ee6a857ddf6dcd64442cec5b02eec7bde89e [INFO] checking ryanjackgit/sand against try#96b3c169cd2d8959926fa240f10342f1659f8ae3 for pr-71896 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanjackgit%2Fsand" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryanjackgit/sand on toolchain 96b3c169cd2d8959926fa240f10342f1659f8ae3 [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ryanjackgit/sand [INFO] finished tweaking git repo https://github.com/ryanjackgit/sand [INFO] tweaked toml for git repo https://github.com/ryanjackgit/sand written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ryanjackgit/sand already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-raft v0.4.4 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7754ce70b3aec24ea0f9df9f2e2b5200944dc65fadc1ea076f1ab00e81434ba0 [INFO] running `"docker" "start" "-a" "7754ce70b3aec24ea0f9df9f2e2b5200944dc65fadc1ea076f1ab00e81434ba0"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking indexmap v1.2.0 [INFO] [stderr] Checking mime v0.3.14 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Checking seahash v3.0.6 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking hash_ring v0.1.7 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking arrayvec v0.4.11 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking getrandom v0.1.12 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking signal-hook-registry v1.1.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling fasthash-sys v0.3.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking xoroshiro128 v0.3.0 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking signal-hook v0.1.10 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking rmp v0.8.8 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking actix-codec v0.1.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking fasthash v0.4.0 [INFO] [stderr] Checking actix-utils v0.4.5 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-signal v0.2.7 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking actix-server-config v0.1.2 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking v_escape v0.7.4 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking trust-dns-proto v0.7.4 [INFO] [stderr] Checking trust-dns-resolver v0.11.1 [INFO] [stderr] Checking actix-threadpool v0.1.2 [INFO] [stderr] Checking actix-rt v0.2.5 [INFO] [stderr] Checking serde v1.0.101 [INFO] [stderr] Checking actix-connect v0.2.5 [INFO] [stderr] Checking actix-server v0.6.1 [INFO] [stderr] Checking actix-testing v0.1.0 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.1.5 [INFO] [stderr] Checking rmp-serde v0.14.0 [INFO] [stderr] Checking actix-http v0.2.10 [INFO] [stderr] Checking awc v0.2.7 [INFO] [stderr] Checking actix v0.8.3 [INFO] [stderr] Checking actix-web v1.0.8 [INFO] [stderr] Checking actix-raft v0.4.4 [INFO] [stderr] Checking actix-web-actors v1.0.2 [INFO] [stderr] Checking actix-files v0.1.6 [INFO] [stderr] Checking sand v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `BTreeMap` [INFO] [stderr] --> src/network/network.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::{BTreeMap, HashMap}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PeerConnected` [INFO] [stderr] --> src/network/listener.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | PeerConnected, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RaftMetrics` [INFO] [stderr] --> src/raft/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | RaftMetrics, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BTreeMap` [INFO] [stderr] --> src/network/network.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::{BTreeMap, HashMap}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PeerConnected` [INFO] [stderr] --> src/network/listener.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | PeerConnected, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RaftMetrics` [INFO] [stderr] --> src/raft/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | RaftMetrics, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/network/network.rs:322:17 [INFO] [stderr] | [INFO] [stderr] 322 | _ => Response::reply(Ok("".to_owned())), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/network/network.rs:138:39 [INFO] [stderr] | [INFO] [stderr] 138 | .and_then(|_, act, ctx: &mut Context| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/network.rs:138:44 [INFO] [stderr] | [INFO] [stderr] 138 | .and_then(|_, act, ctx: &mut Context| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/network/network.rs:185:35 [INFO] [stderr] | [INFO] [stderr] 185 | .and_then(|_, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/network.rs:185:40 [INFO] [stderr] | [INFO] [stderr] 185 | .and_then(|_, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/network/network.rs:173:32 [INFO] [stderr] | [INFO] [stderr] 173 | .and_then(move |_, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/network.rs:215:40 [INFO] [stderr] | [INFO] [stderr] 215 | fn handle(&mut self, msg: GetNode, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/network.rs:233:37 [INFO] [stderr] | [INFO] [stderr] 233 | fn handle(&mut self, msg: Find, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/network/network.rs:352:26 [INFO] [stderr] | [INFO] [stderr] 352 | fn handle(&mut self, msg: InitRaft, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/network/network.rs:379:26 [INFO] [stderr] | [INFO] [stderr] 379 | fn handle(&mut self, msg: GetCurrentLeader, _ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/network/network.rs:407:23 [INFO] [stderr] | [INFO] [stderr] 407 | .map_err(|err, _: &mut Network, _| ()) [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `leader` [INFO] [stderr] --> src/network/network.rs:431:76 [INFO] [stderr] | [INFO] [stderr] 431 | ... messages::ClientError::ForwardToLeader{leader, ..} => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `leader: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/network/network.rs:417:46 [INFO] [stderr] | [INFO] [stderr] 417 | .and_then(move |res, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `leader` [INFO] [stderr] --> src/network/network.rs:462:76 [INFO] [stderr] | [INFO] [stderr] 462 | ... messages::ClientError::ForwardToLeader{leader, ..} => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `leader: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/network/network.rs:448:46 [INFO] [stderr] | [INFO] [stderr] 448 | .and_then(move |res, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/network.rs:408:39 [INFO] [stderr] | [INFO] [stderr] 408 | .and_then(move |res, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/node.rs:91:27 [INFO] [stderr] | [INFO] [stderr] 91 | fn stopped(&mut self, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/raft/storage.rs:463:40 [INFO] [stderr] | [INFO] [stderr] 463 | fn handle(&mut self, msg: GetNode, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/raft/storage.rs:483:42 [INFO] [stderr] | [INFO] [stderr] 483 | fn handle(&mut self, msg: FindValue, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/session.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | .then(|res, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/server.rs:31:40 [INFO] [stderr] | [INFO] [stderr] 31 | fn handle(&mut self, msg: Connect, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/server.rs:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | fn handle(&mut self, msg: Disconnect, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/server.rs:47:26 [INFO] [stderr] | [INFO] [stderr] 47 | fn handle(&mut self, msg: Message, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/server.rs:47:40 [INFO] [stderr] | [INFO] [stderr] 47 | fn handle(&mut self, msg: Message, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/network/network.rs:322:17 [INFO] [stderr] | [INFO] [stderr] 322 | _ => Response::reply(Ok("".to_owned())), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/network/network.rs:138:39 [INFO] [stderr] | [INFO] [stderr] 138 | .and_then(|_, act, ctx: &mut Context| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/network.rs:138:44 [INFO] [stderr] | [INFO] [stderr] 138 | .and_then(|_, act, ctx: &mut Context| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/network/network.rs:185:35 [INFO] [stderr] | [INFO] [stderr] 185 | .and_then(|_, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/network.rs:185:40 [INFO] [stderr] | [INFO] [stderr] 185 | .and_then(|_, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/network/network.rs:173:32 [INFO] [stderr] | [INFO] [stderr] 173 | .and_then(move |_, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/network.rs:215:40 [INFO] [stderr] | [INFO] [stderr] 215 | fn handle(&mut self, msg: GetNode, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/network.rs:233:37 [INFO] [stderr] | [INFO] [stderr] 233 | fn handle(&mut self, msg: Find, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/network/network.rs:352:26 [INFO] [stderr] | [INFO] [stderr] 352 | fn handle(&mut self, msg: InitRaft, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/network/network.rs:379:26 [INFO] [stderr] | [INFO] [stderr] 379 | fn handle(&mut self, msg: GetCurrentLeader, _ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/network/network.rs:407:23 [INFO] [stderr] | [INFO] [stderr] 407 | .map_err(|err, _: &mut Network, _| ()) [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `leader` [INFO] [stderr] --> src/network/network.rs:431:76 [INFO] [stderr] | [INFO] [stderr] 431 | ... messages::ClientError::ForwardToLeader{leader, ..} => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `leader: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/network/network.rs:417:46 [INFO] [stderr] | [INFO] [stderr] 417 | .and_then(move |res, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `leader` [INFO] [stderr] --> src/network/network.rs:462:76 [INFO] [stderr] | [INFO] [stderr] 462 | ... messages::ClientError::ForwardToLeader{leader, ..} => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `leader: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/network/network.rs:448:46 [INFO] [stderr] | [INFO] [stderr] 448 | .and_then(move |res, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/network.rs:408:39 [INFO] [stderr] | [INFO] [stderr] 408 | .and_then(move |res, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/network/node.rs:91:27 [INFO] [stderr] | [INFO] [stderr] 91 | fn stopped(&mut self, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/raft/storage.rs:463:40 [INFO] [stderr] | [INFO] [stderr] 463 | fn handle(&mut self, msg: GetNode, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/raft/storage.rs:483:42 [INFO] [stderr] | [INFO] [stderr] 483 | fn handle(&mut self, msg: FindValue, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/session.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | .then(|res, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/server.rs:31:40 [INFO] [stderr] | [INFO] [stderr] 31 | fn handle(&mut self, msg: Connect, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/server.rs:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | fn handle(&mut self, msg: Disconnect, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/server.rs:47:26 [INFO] [stderr] | [INFO] [stderr] 47 | fn handle(&mut self, msg: Message, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/server.rs:47:40 [INFO] [stderr] | [INFO] [stderr] 47 | fn handle(&mut self, msg: Message, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sessions` [INFO] [stderr] --> src/network/network.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | sessions: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raft/mod.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | id: NodeId, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `members` [INFO] [stderr] --> src/raft/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | members: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `network` [INFO] [stderr] --> src/raft/mod.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | network: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `leader` [INFO] [stderr] --> src/raft/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | leader: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `uid` [INFO] [stderr] --> src/session.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | uid: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `room` [INFO] [stderr] --> src/session.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | room: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rooms` [INFO] [stderr] --> src/server.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | rooms: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 35 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sessions` [INFO] [stderr] --> src/network/network.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | sessions: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raft/mod.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | id: NodeId, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `members` [INFO] [stderr] --> src/raft/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | members: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `network` [INFO] [stderr] --> src/raft/mod.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | network: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `leader` [INFO] [stderr] --> src/raft/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | leader: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `uid` [INFO] [stderr] --> src/session.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | uid: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `room` [INFO] [stderr] --> src/session.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | room: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rooms` [INFO] [stderr] --> src/server.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | rooms: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 35 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `Responder` [INFO] [stderr] --> src/main.rs:2:73 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web_actors::ws` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web_actors::ws; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_files as fs` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_files as fs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Responder` [INFO] [stderr] --> src/main.rs:2:73 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web_actors::ws` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web_actors::ws; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_files as fs` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_files as fs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | stream: web::Payload, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/main.rs:36:20 [INFO] [stderr] | [INFO] [stderr] 36 | .and_then(|res| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/main.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | stream: web::Payload, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/main.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | stream: web::Payload, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | stream: web::Payload, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/main.rs:36:20 [INFO] [stderr] | [INFO] [stderr] 36 | .and_then(|res| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/main.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | stream: web::Payload, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/main.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | stream: web::Payload, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 35s [INFO] running `"docker" "inspect" "7754ce70b3aec24ea0f9df9f2e2b5200944dc65fadc1ea076f1ab00e81434ba0"` [INFO] running `"docker" "rm" "-f" "7754ce70b3aec24ea0f9df9f2e2b5200944dc65fadc1ea076f1ab00e81434ba0"` [INFO] [stdout] 7754ce70b3aec24ea0f9df9f2e2b5200944dc65fadc1ea076f1ab00e81434ba0