[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#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuwueviee%2Fbannana-pho" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/uwueviee/bannana-pho on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded futures-macro v0.3.21 [INFO] [stderr] Downloaded serde_repr v0.1.7 [INFO] [stderr] Downloaded sha2 v0.10.2 [INFO] [stderr] Downloaded combine v4.6.3 [INFO] [stderr] Downloaded redis v0.21.5 [INFO] [stderr] Downloaded regex v1.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e83822cf7584e7282b8e6b1d1ba3cd23680e5b06a67d00a8cc82b494703a4b6 [INFO] running `Command { std: "docker" "start" "-a" "7e83822cf7584e7282b8e6b1d1ba3cd23680e5b06a67d00a8cc82b494703a4b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e83822cf7584e7282b8e6b1d1ba3cd23680e5b06a67d00a8cc82b494703a4b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e83822cf7584e7282b8e6b1d1ba3cd23680e5b06a67d00a8cc82b494703a4b6", kill_on_drop: false }` [INFO] [stdout] 7e83822cf7584e7282b8e6b1d1ba3cd23680e5b06a67d00a8cc82b494703a4b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2182cb411c4c1960a20b198f4b5a680197b6f37bbc84ff1bd77fdd60dcc3c100 [INFO] running `Command { std: "docker" "start" "-a" "2182cb411c4c1960a20b198f4b5a680197b6f37bbc84ff1bd77fdd60dcc3c100", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [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] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking hmac v0.12.1 [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 futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [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 redis v0.21.5 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tungstenite v0.16.0 [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)]` 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)]` 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 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)]` 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)]` 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)]` 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)]` on by default [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)]` on by default [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)]` 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)]` 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: 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)]` 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 41.84s [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 1` [INFO] running `Command { std: "docker" "inspect" "2182cb411c4c1960a20b198f4b5a680197b6f37bbc84ff1bd77fdd60dcc3c100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2182cb411c4c1960a20b198f4b5a680197b6f37bbc84ff1bd77fdd60dcc3c100", kill_on_drop: false }` [INFO] [stdout] 2182cb411c4c1960a20b198f4b5a680197b6f37bbc84ff1bd77fdd60dcc3c100