[INFO] cloning repository https://github.com/sarailQAQ/rudis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sarailQAQ/rudis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsarailQAQ%2Frudis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsarailQAQ%2Frudis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2285c85cc260e5e5d4ce2f78b260e22ca9ab51f [INFO] building sarailQAQ/rudis against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsarailQAQ%2Frudis" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sarailQAQ/rudis on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sarailQAQ/rudis [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/sarailQAQ/rudis [INFO] tweaked toml for git repo https://github.com/sarailQAQ/rudis written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sarailQAQ/rudis 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c257409a09425c9fb6dd0e92feebe6dd73061114143fda328c99db061532928 [INFO] running `Command { std: "docker" "start" "-a" "4c257409a09425c9fb6dd0e92feebe6dd73061114143fda328c99db061532928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c257409a09425c9fb6dd0e92feebe6dd73061114143fda328c99db061532928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c257409a09425c9fb6dd0e92feebe6dd73061114143fda328c99db061532928", kill_on_drop: false }` [INFO] [stdout] 4c257409a09425c9fb6dd0e92feebe6dd73061114143fda328c99db061532928 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24743f17c52de6dd135cb5dee9fc54369169899fae18ae2e94cc76a2a8c0e4a2 [INFO] running `Command { std: "docker" "start" "-a" "24743f17c52de6dd135cb5dee9fc54369169899fae18ae2e94cc76a2a8c0e4a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling rudis v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `buf` [INFO] [stdout] --> src/connection.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{BytesMut, buf, Buf}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/cmd/set.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parse::{Parse, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpSocket` [INFO] [stdout] --> src/client.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::{TcpSocket, TcpStream, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Utf8Error` [INFO] [stdout] --> src/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::Utf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `error` [INFO] [stdout] --> src/parse.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, error}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseError` and `Parse` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use parse::{Parse, ParseError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Result` [INFO] [stdout] --> src/db.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/server.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{Command, Connection, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown` [INFO] [stdout] --> src/cmd/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | shutdown: &mut Shutdown, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> src/db.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/cmd/mod.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `channel` and `message` are never read [INFO] [stdout] --> src/cmd/publish.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Publish { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | /// Name of the channel on which the message should be published. [INFO] [stdout] 6 | channel: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | message: Bytes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Publish` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channels` is never read [INFO] [stdout] --> src/cmd/subscribe.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Subscribe { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | channels: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subscribe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channels` is never read [INFO] [stdout] --> src/cmd/subscribe.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Unsubscribe { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 19 | channels: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unsubscribe` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/cmd/unknown.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Unknown { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `subscribed_channels` are never read [INFO] [stdout] --> src/client.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Subscriber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 34 | /// The subscribed client. [INFO] [stdout] 35 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | subscribed_channels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pub_sub` is never read [INFO] [stdout] --> src/db.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub_sub: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/bin/echo-server-copy.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut socket, _) = listener.accept().await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [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/bin/echo-server-copy.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut socket, _) = listener.accept().await?; [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: unused variable: `manager` [INFO] [stdout] --> src/bin/client.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let manager = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.84s [INFO] running `Command { std: "docker" "inspect" "24743f17c52de6dd135cb5dee9fc54369169899fae18ae2e94cc76a2a8c0e4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24743f17c52de6dd135cb5dee9fc54369169899fae18ae2e94cc76a2a8c0e4a2", kill_on_drop: false }` [INFO] [stdout] 24743f17c52de6dd135cb5dee9fc54369169899fae18ae2e94cc76a2a8c0e4a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8623708937fd9d3b0d3984e856385e4a8a859d6d666ed8c3258daf0d480ba08 [INFO] running `Command { std: "docker" "start" "-a" "c8623708937fd9d3b0d3984e856385e4a8a859d6d666ed8c3258daf0d480ba08", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `buf` [INFO] [stdout] --> src/connection.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{BytesMut, buf, Buf}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/cmd/set.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parse::{Parse, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpSocket` [INFO] [stdout] --> src/client.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::{TcpSocket, TcpStream, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Utf8Error` [INFO] [stdout] --> src/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::Utf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `error` [INFO] [stdout] --> src/parse.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, error}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseError` and `Parse` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use parse::{Parse, ParseError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Result` [INFO] [stdout] --> src/db.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/server.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{Command, Connection, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown` [INFO] [stdout] --> src/cmd/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | shutdown: &mut Shutdown, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> src/db.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/cmd/mod.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `channel` and `message` are never read [INFO] [stdout] --> src/cmd/publish.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Publish { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | /// Name of the channel on which the message should be published. [INFO] [stdout] 6 | channel: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | message: Bytes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Publish` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channels` is never read [INFO] [stdout] --> src/cmd/subscribe.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Subscribe { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | channels: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subscribe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channels` is never read [INFO] [stdout] --> src/cmd/subscribe.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Unsubscribe { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 19 | channels: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unsubscribe` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rudis v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/cmd/unknown.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Unknown { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `subscribed_channels` are never read [INFO] [stdout] --> src/client.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Subscriber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 34 | /// The subscribed client. [INFO] [stdout] 35 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | subscribed_channels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pub_sub` is never read [INFO] [stdout] --> src/db.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub_sub: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `buf` [INFO] [stdout] --> src/connection.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{BytesMut, buf, Buf}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/cmd/set.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parse::{Parse, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpSocket` [INFO] [stdout] --> src/client.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::{TcpSocket, TcpStream, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Utf8Error` [INFO] [stdout] --> src/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::Utf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `error` [INFO] [stdout] --> src/parse.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, error}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseError` and `Parse` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use parse::{Parse, ParseError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Result` [INFO] [stdout] --> src/db.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/server.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{Command, Connection, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/bin/client.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let manager = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/bin/echo-server-copy.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut socket, _) = listener.accept().await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [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/bin/echo-server-copy.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut socket, _) = listener.accept().await?; [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: unused variable: `shutdown` [INFO] [stdout] --> src/cmd/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | shutdown: &mut Shutdown, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> src/db.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/cmd/mod.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `channel` and `message` are never read [INFO] [stdout] --> src/cmd/publish.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Publish { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | /// Name of the channel on which the message should be published. [INFO] [stdout] 6 | channel: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | message: Bytes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Publish` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channels` is never read [INFO] [stdout] --> src/cmd/subscribe.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Subscribe { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | channels: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subscribe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channels` is never read [INFO] [stdout] --> src/cmd/subscribe.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Unsubscribe { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 19 | channels: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unsubscribe` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/cmd/unknown.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Unknown { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `subscribed_channels` are never read [INFO] [stdout] --> src/client.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Subscriber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 34 | /// The subscribed client. [INFO] [stdout] 35 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | subscribed_channels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pub_sub` is never read [INFO] [stdout] --> src/db.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub_sub: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "c8623708937fd9d3b0d3984e856385e4a8a859d6d666ed8c3258daf0d480ba08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8623708937fd9d3b0d3984e856385e4a8a859d6d666ed8c3258daf0d480ba08", kill_on_drop: false }` [INFO] [stdout] c8623708937fd9d3b0d3984e856385e4a8a859d6d666ed8c3258daf0d480ba08