[INFO] cloning repository https://github.com/richwandell/rust-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richwandell/rust-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frust-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frust-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8e2ef4ff3eb8096c479ef21679a2b457c108fc0 [INFO] testing richwandell/rust-redis against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frust-redis" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richwandell/rust-redis on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/richwandell/rust-redis [INFO] finished tweaking git repo https://github.com/richwandell/rust-redis [INFO] tweaked toml for git repo https://github.com/richwandell/rust-redis written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/richwandell/rust-redis already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7da8d8443436f5ad9bbb2dec48e951b65f68636dfdd1e62772b1b578d49aadbd [INFO] running `Command { std: "docker" "start" "-a" "7da8d8443436f5ad9bbb2dec48e951b65f68636dfdd1e62772b1b578d49aadbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7da8d8443436f5ad9bbb2dec48e951b65f68636dfdd1e62772b1b578d49aadbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da8d8443436f5ad9bbb2dec48e951b65f68636dfdd1e62772b1b578d49aadbd", kill_on_drop: false }` [INFO] [stdout] 7da8d8443436f5ad9bbb2dec48e951b65f68636dfdd1e62772b1b578d49aadbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e6690a68c3426d47c891bbc47fc5810f830816dfac12d4c0b7726fa999aeda6 [INFO] running `Command { std: "docker" "start" "-a" "3e6690a68c3426d47c891bbc47fc5810f830816dfac12d4c0b7726fa999aeda6", 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] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling crc16 v0.3.4 [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling smallvec v0.3.4 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling shell-words v1.0.0 [INFO] [stderr] Compiling redis-protocol-parser v0.1.2 [INFO] [stderr] Compiling spmc v0.3.0 [INFO] [stderr] Compiling resp v1.0.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling parking_lot v0.3.8 [INFO] [stderr] Compiling multiqueue v0.3.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling pretty_env_logger v0.2.5 [INFO] [stderr] Compiling redis-protocol v2.0.0 [INFO] [stderr] Compiling redis-clone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RError` [INFO] [stdout] --> src/create_commands.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use redis_protocol_parser::{RedisProtocolParser, RESP, RError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/command/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/command/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/command/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/create_commands.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let string = str.to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/thread_loop.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | tx: Sender, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Command` [INFO] [stdout] --> src/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / Command { [INFO] [stdout] 14 | | value: RedisCommand [INFO] [stdout] 15 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Storage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/server.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_commands_new` [INFO] [stdout] --> src/create_commands.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn create_commands_new(stream: &TcpStream) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_log_msg` [INFO] [stdout] --> src/thread_loop.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn create_log_msg(addr: SocketAddr, commands: Vec) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PX` [INFO] [stdout] --> src/command/command_set.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const PX: &str = "PX"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXAT` [INFO] [stdout] --> src/command/command_set.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const EXAT: &str = "EXAT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PXAT` [INFO] [stdout] --> src/command/command_set.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const PXAT: &str = "PXAT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NX` [INFO] [stdout] --> src/command/command_set.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const NX: &str = "NX"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `XX` [INFO] [stdout] --> src/command/command_set.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const XX: &str = "XX"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KEEPTTL` [INFO] [stdout] --> src/command/command_set.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const KEEPTTL: &str = "KEEPTTL"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GET` [INFO] [stdout] --> src/command/command_set.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const GET: &str = "GET"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> src/command/commands.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Set` [INFO] [stdout] --> src/command/commands.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Set, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Get` [INFO] [stdout] --> src/command/commands.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ping` [INFO] [stdout] --> src/command/commands.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Ping, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Command` [INFO] [stdout] --> src/command/commands.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Command, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Del` [INFO] [stdout] --> src/command/commands.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Del, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Keys` [INFO] [stdout] --> src/command/commands.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Keys, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mset` [INFO] [stdout] --> src/command/commands.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Mset, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mget` [INFO] [stdout] --> src/command/commands.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Mget, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GetDel` [INFO] [stdout] --> src/command/commands.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | GetDel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GetSet` [INFO] [stdout] --> src/command/commands.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | GetSet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Monitor` [INFO] [stdout] --> src/command/commands.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Monitor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetEx` [INFO] [stdout] --> src/command/commands.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | SetEx [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/thread_loop.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | &stream.write(message.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = &stream.write(message.as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.05s [INFO] running `Command { std: "docker" "inspect" "3e6690a68c3426d47c891bbc47fc5810f830816dfac12d4c0b7726fa999aeda6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e6690a68c3426d47c891bbc47fc5810f830816dfac12d4c0b7726fa999aeda6", kill_on_drop: false }` [INFO] [stdout] 3e6690a68c3426d47c891bbc47fc5810f830816dfac12d4c0b7726fa999aeda6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c939c22f66d3193dad8cbae5a7777cff78a42ed941e94a74a0030d99d501434 [INFO] running `Command { std: "docker" "start" "-a" "6c939c22f66d3193dad8cbae5a7777cff78a42ed941e94a74a0030d99d501434", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling redis-clone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RError` [INFO] [stdout] --> src/create_commands.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use redis_protocol_parser::{RedisProtocolParser, RESP, RError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/command/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/command/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/command/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/create_commands.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let string = str.to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/thread_loop.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | tx: Sender, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Command` [INFO] [stdout] --> src/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / Command { [INFO] [stdout] 14 | | value: RedisCommand [INFO] [stdout] 15 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Storage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/server.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_commands_new` [INFO] [stdout] --> src/create_commands.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn create_commands_new(stream: &TcpStream) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_log_msg` [INFO] [stdout] --> src/thread_loop.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn create_log_msg(addr: SocketAddr, commands: Vec) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PX` [INFO] [stdout] --> src/command/command_set.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const PX: &str = "PX"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXAT` [INFO] [stdout] --> src/command/command_set.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const EXAT: &str = "EXAT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PXAT` [INFO] [stdout] --> src/command/command_set.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const PXAT: &str = "PXAT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NX` [INFO] [stdout] --> src/command/command_set.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const NX: &str = "NX"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `XX` [INFO] [stdout] --> src/command/command_set.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const XX: &str = "XX"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KEEPTTL` [INFO] [stdout] --> src/command/command_set.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const KEEPTTL: &str = "KEEPTTL"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GET` [INFO] [stdout] --> src/command/command_set.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const GET: &str = "GET"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> src/command/commands.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Set` [INFO] [stdout] --> src/command/commands.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Set, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Get` [INFO] [stdout] --> src/command/commands.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ping` [INFO] [stdout] --> src/command/commands.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Ping, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Command` [INFO] [stdout] --> src/command/commands.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Command, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Del` [INFO] [stdout] --> src/command/commands.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Del, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Keys` [INFO] [stdout] --> src/command/commands.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Keys, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mset` [INFO] [stdout] --> src/command/commands.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Mset, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mget` [INFO] [stdout] --> src/command/commands.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Mget, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GetDel` [INFO] [stdout] --> src/command/commands.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | GetDel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GetSet` [INFO] [stdout] --> src/command/commands.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | GetSet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Monitor` [INFO] [stdout] --> src/command/commands.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Monitor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetEx` [INFO] [stdout] --> src/command/commands.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | SetEx [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/command/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/thread_loop.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | &stream.write(message.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = &stream.write(message.as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/redis_clone-729fc69cf10d6a3e) [INFO] running `Command { std: "docker" "inspect" "6c939c22f66d3193dad8cbae5a7777cff78a42ed941e94a74a0030d99d501434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c939c22f66d3193dad8cbae5a7777cff78a42ed941e94a74a0030d99d501434", kill_on_drop: false }` [INFO] [stdout] 6c939c22f66d3193dad8cbae5a7777cff78a42ed941e94a74a0030d99d501434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 51e687905d4190afce18bc38835d004ccc89ecdea879d3d9e2b7cdf33f872eb3 [INFO] running `Command { std: "docker" "start" "-a" "51e687905d4190afce18bc38835d004ccc89ecdea879d3d9e2b7cdf33f872eb3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `RError` [INFO] [stderr] --> src/create_commands.rs:3:56 [INFO] [stderr] | [INFO] [stderr] 3 | use redis_protocol_parser::{RedisProtocolParser, RESP, RError}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/command/mod.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/command/mod.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/command/mod.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `string` [INFO] [stderr] --> src/create_commands.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | let string = str.to_string(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx` [INFO] [stderr] --> src/thread_loop.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | tx: Sender, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Command` [INFO] [stderr] --> src/server.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / Command { [INFO] [stderr] 14 | | value: RedisCommand [INFO] [stderr] 15 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Storage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/server.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_commands_new` [INFO] [stderr] --> src/create_commands.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) fn create_commands_new(stream: &TcpStream) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_log_msg` [INFO] [stderr] --> src/thread_loop.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | fn create_log_msg(addr: SocketAddr, commands: Vec) -> (String, Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PX` [INFO] [stderr] --> src/command/command_set.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | const PX: &str = "PX"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `EXAT` [INFO] [stderr] --> src/command/command_set.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | const EXAT: &str = "EXAT"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PXAT` [INFO] [stderr] --> src/command/command_set.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | const PXAT: &str = "PXAT"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `NX` [INFO] [stderr] --> src/command/command_set.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | const NX: &str = "NX"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `XX` [INFO] [stderr] --> src/command/command_set.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | const XX: &str = "XX"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KEEPTTL` [INFO] [stderr] --> src/command/command_set.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | const KEEPTTL: &str = "KEEPTTL"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `GET` [INFO] [stderr] --> src/command/command_set.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | const GET: &str = "GET"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Quit` [INFO] [stderr] --> src/command/commands.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Quit, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Set` [INFO] [stderr] --> src/command/commands.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Set, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Get` [INFO] [stderr] --> src/command/commands.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Get, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ping` [INFO] [stderr] --> src/command/commands.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | Ping, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Command` [INFO] [stderr] --> src/command/commands.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | Command, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Del` [INFO] [stderr] --> src/command/commands.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | Del, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Keys` [INFO] [stderr] --> src/command/commands.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Keys, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mset` [INFO] [stderr] --> src/command/commands.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | Mset, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mget` [INFO] [stderr] --> src/command/commands.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | Mget, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `GetDel` [INFO] [stderr] --> src/command/commands.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | GetDel, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `GetSet` [INFO] [stderr] --> src/command/commands.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | GetSet, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Monitor` [INFO] [stderr] --> src/command/commands.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | Monitor, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SetEx` [INFO] [stderr] --> src/command/commands.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | SetEx [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/command/commands.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/thread_loop.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | &stream.write(message.as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 61 | let _ = &stream.write(message.as_ref()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `redis-clone` (bin "redis-clone" test) generated 30 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/redis_clone-729fc69cf10d6a3e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51e687905d4190afce18bc38835d004ccc89ecdea879d3d9e2b7cdf33f872eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51e687905d4190afce18bc38835d004ccc89ecdea879d3d9e2b7cdf33f872eb3", kill_on_drop: false }` [INFO] [stdout] 51e687905d4190afce18bc38835d004ccc89ecdea879d3d9e2b7cdf33f872eb3