[INFO] cloning repository https://github.com/uwueviee/bannana-pho [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uwueviee/bannana-pho" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuwueviee%2Fbannana-pho", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuwueviee%2Fbannana-pho'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2cff6d4c05ae1d139e07f8d6f5838535e2932bb [INFO] checking uwueviee/bannana-pho against master#49b6ac01d6f4c3da812039ae846407a20961aa4c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuwueviee%2Fbannana-pho" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/uwueviee/bannana-pho [INFO] finished tweaking git repo https://github.com/uwueviee/bannana-pho [INFO] tweaked toml for git repo https://github.com/uwueviee/bannana-pho written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/uwueviee/bannana-pho on toolchain 49b6ac01d6f4c3da812039ae846407a20961aa4c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/uwueviee/bannana-pho 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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redis v0.21.5 [INFO] [stderr] Downloaded tokio-tungstenite v0.16.1 [INFO] [stderr] Downloaded libc v0.2.118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35621c8780e97313c14464738b902599e07ffe5ac2e8da63320161910a07bfc8 [INFO] running `Command { std: "docker" "start" "-a" "35621c8780e97313c14464738b902599e07ffe5ac2e8da63320161910a07bfc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35621c8780e97313c14464738b902599e07ffe5ac2e8da63320161910a07bfc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35621c8780e97313c14464738b902599e07ffe5ac2e8da63320161910a07bfc8", kill_on_drop: false }` [INFO] [stdout] 35621c8780e97313c14464738b902599e07ffe5ac2e8da63320161910a07bfc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcd15e8d59aafcde6e224d2f21c64a48c0fbbceb4c67fa7c270911f8748b0b00 [INFO] running `Command { std: "docker" "start" "-a" "bcd15e8d59aafcde6e224d2f21c64a48c0fbbceb4c67fa7c270911f8748b0b00", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tungstenite v0.16.0 [INFO] [stderr] Checking redis v0.21.5 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking tokio-tungstenite v0.16.1 [INFO] [stderr] Checking bannana-pho v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TryStreamExt` and `future` [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use futures_util::{future, SinkExt, StreamExt, TryStreamExt}; [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 import: `client` [INFO] [stdout] --> src/main.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_tungstenite::tungstenite::{client, Message}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IDENTIFY` [INFO] [stdout] --> src/main.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::opcodes::{get_opcode, IDENTIFY, MessageData, OpCode, SocketMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection` and `RedisConnectionInfo` [INFO] [stdout] --> src/main.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | use redis::{Client, Connection, RedisConnectionInfo}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value::Array` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use serde_json::Value::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/opcodes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/opcodes.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/opcodes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HEARTBEAT_ACK` should have an upper camel case name [INFO] [stdout] --> src/opcodes.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | HEARTBEAT_ACK = 5, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HeartbeatAck` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HEARTBEAT_ACK` should have an upper camel case name [INFO] [stdout] --> src/opcodes.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | HEARTBEAT_ACK { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HeartbeatAck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/infoops.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/infoops.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_REQ` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | CHANNEL_REQ = 0, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelReq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_ASSIGN` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | CHANNEL_ASSIGN = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_DESTROY` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | CHANNEL_DESTROY = 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelDestroy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_CREATE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | VST_CREATE = 3, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VstCreate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_DONE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | VST_DONE = 4, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `VstDone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_DESTROY` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | VST_DESTROY= 5, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `VstDestroy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_UPDATE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | VST_UPDATE = 6, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VstUpdate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CHANNEL_REQ` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct CHANNEL_REQ { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelReq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CHANNEL_ASSIGN` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CHANNEL_ASSIGN { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VST_CREATE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct VST_CREATE { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VstCreate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_CREATE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | VST_CREATE(VST_CREATE), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VstCreate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_REQ` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | CHANNEL_REQ(CHANNEL_REQ), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelReq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_ASSIGN` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | CHANNEL_ASSIGN { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_DESTROY` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | CHANNEL_DESTROY { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelDestroy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_DONE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | VST_DONE { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `VstDone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_DESTROY` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | VST_DESTROY { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `VstDestroy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_UPDATE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | VST_UPDATE { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VstUpdate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut nonce: String = rand::thread_rng() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryStreamExt` and `future` [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use futures_util::{future, SinkExt, StreamExt, TryStreamExt}; [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 import: `client` [INFO] [stdout] --> src/main.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_tungstenite::tungstenite::{client, Message}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IDENTIFY` [INFO] [stdout] --> src/main.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::opcodes::{get_opcode, IDENTIFY, MessageData, OpCode, SocketMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection` and `RedisConnectionInfo` [INFO] [stdout] --> src/main.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | use redis::{Client, Connection, RedisConnectionInfo}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value::Array` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use serde_json::Value::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/opcodes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/opcodes.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/opcodes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HEARTBEAT_ACK` should have an upper camel case name [INFO] [stdout] --> src/opcodes.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | HEARTBEAT_ACK = 5, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HeartbeatAck` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HEARTBEAT_ACK` should have an upper camel case name [INFO] [stdout] --> src/opcodes.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | HEARTBEAT_ACK { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HeartbeatAck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/infoops.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/infoops.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_REQ` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | CHANNEL_REQ = 0, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelReq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_ASSIGN` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | CHANNEL_ASSIGN = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_DESTROY` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | CHANNEL_DESTROY = 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelDestroy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_CREATE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | VST_CREATE = 3, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VstCreate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_DONE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | VST_DONE = 4, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `VstDone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_DESTROY` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | VST_DESTROY= 5, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `VstDestroy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_UPDATE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | VST_UPDATE = 6, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VstUpdate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CHANNEL_REQ` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct CHANNEL_REQ { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelReq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CHANNEL_ASSIGN` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CHANNEL_ASSIGN { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VST_CREATE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct VST_CREATE { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VstCreate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_CREATE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | VST_CREATE(VST_CREATE), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VstCreate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_REQ` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | CHANNEL_REQ(CHANNEL_REQ), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelReq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_ASSIGN` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | CHANNEL_ASSIGN { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CHANNEL_DESTROY` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | CHANNEL_DESTROY { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChannelDestroy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_DONE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | VST_DONE { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `VstDone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_DESTROY` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | VST_DESTROY { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `VstDestroy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VST_UPDATE` should have an upper camel case name [INFO] [stdout] --> src/infoops.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | VST_UPDATE { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VstUpdate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | err => error!(target: "initial", "Error accepting connection from {}!", &peer), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CHANNEL_ASSIGN` is never constructed [INFO] [stdout] --> src/infoops.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CHANNEL_ASSIGN { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opcodes.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(FromPrimitive, Serialize_repr, Deserialize_repr, PartialEq, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode` [INFO] [stdout] 23 | #[repr(u8)] [INFO] [stdout] 24 | pub enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opcodes.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(FromPrimitive, Deserialize, Serialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ErrorCode` [INFO] [stdout] 53 | pub enum ErrorCode { [INFO] [stdout] | --------- `ErrorCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/infoops.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(FromPrimitive, Serialize_repr, Deserialize_repr, PartialEq, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_InfoType` [INFO] [stdout] 11 | #[repr(u8)] [INFO] [stdout] 12 | pub enum InfoType { [INFO] [stdout] | -------- `InfoType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut nonce: String = rand::thread_rng() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | err => error!(target: "initial", "Error accepting connection from {}!", &peer), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CHANNEL_ASSIGN` is never constructed [INFO] [stdout] --> src/infoops.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CHANNEL_ASSIGN { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opcodes.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(FromPrimitive, Serialize_repr, Deserialize_repr, PartialEq, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode` [INFO] [stdout] 23 | #[repr(u8)] [INFO] [stdout] 24 | pub enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opcodes.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(FromPrimitive, Deserialize, Serialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ErrorCode` [INFO] [stdout] 53 | pub enum ErrorCode { [INFO] [stdout] | --------- `ErrorCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/infoops.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(FromPrimitive, Serialize_repr, Deserialize_repr, PartialEq, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_InfoType` [INFO] [stdout] 11 | #[repr(u8)] [INFO] [stdout] 12 | pub enum InfoType { [INFO] [stdout] | -------- `InfoType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (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 29.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.21.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "bcd15e8d59aafcde6e224d2f21c64a48c0fbbceb4c67fa7c270911f8748b0b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd15e8d59aafcde6e224d2f21c64a48c0fbbceb4c67fa7c270911f8748b0b00", kill_on_drop: false }` [INFO] [stdout] bcd15e8d59aafcde6e224d2f21c64a48c0fbbceb4c67fa7c270911f8748b0b00