[INFO] fetching crate redis-protocol 4.1.0... [INFO] checking redis-protocol-4.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate redis-protocol 4.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate redis-protocol 4.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate redis-protocol 4.1.0 [INFO] finished tweaking crates.io crate redis-protocol 4.1.0 [INFO] tweaked toml for crates.io crate redis-protocol 4.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 94 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding env_logger v0.7.1 (latest: v0.11.3) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding pretty_env_logger v0.4.0 (latest: v0.5.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding tokio-util v0.6.10 (latest: v0.7.10) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crc16 v0.4.0 [INFO] [stderr] Downloaded bytes-utils v0.1.4 [INFO] [stderr] Downloaded cookie-factory v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc2e8ea4b65ebec3931c1b57f837cb85960380467290c9051248633084157d44 [INFO] running `Command { std: "docker" "start" "-a" "bc2e8ea4b65ebec3931c1b57f837cb85960380467290c9051248633084157d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc2e8ea4b65ebec3931c1b57f837cb85960380467290c9051248633084157d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2e8ea4b65ebec3931c1b57f837cb85960380467290c9051248633084157d44", kill_on_drop: false }` [INFO] [stdout] bc2e8ea4b65ebec3931c1b57f837cb85960380467290c9051248633084157d44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cfb17f07ae448aa1e291bcd9732034af458b023280c11e35f7a873cbc700d81 [INFO] running `Command { std: "docker" "start" "-a" "7cfb17f07ae448aa1e291bcd9732034af458b023280c11e35f7a873cbc700d81", kill_on_drop: false }` [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking redis-protocol v4.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PATTERN_PUBSUB_PREFIX` is imported redundantly [INFO] [stdout] --> src/resp3/utils.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::resp3::types::*; [INFO] [stdout] | ---------------------- the item `PATTERN_PUBSUB_PREFIX` is already imported here [INFO] [stdout] 2 | use crate::types::{RedisProtocolError, RedisProtocolErrorKind}; [INFO] [stdout] 3 | use crate::utils::{digits_in_number, PATTERN_PUBSUB_PREFIX, PUBSUB_PREFIX, PUBSUB_PUSH_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PUBSUB_PREFIX` is imported redundantly [INFO] [stdout] --> src/resp3/utils.rs:3:61 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::resp3::types::*; [INFO] [stdout] | ---------------------- the item `PUBSUB_PREFIX` is already imported here [INFO] [stdout] 2 | use crate::types::{RedisProtocolError, RedisProtocolErrorKind}; [INFO] [stdout] 3 | use crate::utils::{digits_in_number, PATTERN_PUBSUB_PREFIX, PUBSUB_PREFIX, PUBSUB_PUSH_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PUBSUB_PUSH_PREFIX` is imported redundantly [INFO] [stdout] --> src/resp3/utils.rs:3:76 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::resp3::types::*; [INFO] [stdout] | ---------------------- the item `PUBSUB_PUSH_PREFIX` is already imported here [INFO] [stdout] 2 | use crate::types::{RedisProtocolError, RedisProtocolErrorKind}; [INFO] [stdout] 3 | use crate::utils::{digits_in_number, PATTERN_PUBSUB_PREFIX, PUBSUB_PREFIX, PUBSUB_PUSH_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/resp3/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub use super::decode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `complete` in the type namespace is first re-exported here [INFO] [stdout] 13 | pub use super::encode::*; [INFO] [stdout] | ---------------- but the name `complete` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/resp3/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub use super::decode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `streaming` in the type namespace is first re-exported here [INFO] [stdout] 13 | pub use super::encode::*; [INFO] [stdout] | ---------------- but the name `streaming` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::decode::*` [INFO] [stdout] --> src/resp3/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub use super::decode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::encode::*` [INFO] [stdout] --> src/resp3/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub use super::encode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stdout] warning: unused import: `bytes::BufMut` [INFO] [stdout] --> benches/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::BufMut; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> benches/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis_protocol::resp3::decode::complete::decode as resp3_decode` [INFO] [stdout] --> benches/decode.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | use redis_protocol::resp3::decode::complete::decode as resp3_decode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_ascii_chars`: use sample_iter(&Alphanumeric) instead [INFO] [stdout] --> benches/utils.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | rand::thread_rng().gen_ascii_chars().take(len).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_ascii_chars`: use sample_iter(&Alphanumeric) instead [INFO] [stdout] --> benches/decode.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | rand::thread_rng().gen_ascii_chars().take(len).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_ascii_chars`: use sample_iter(&Alphanumeric) instead [INFO] [stdout] --> benches/encode.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | rand::thread_rng().gen_ascii_chars().take(len).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/utils.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | black_box(redis_keyslot(&k)); [INFO] [stdout] | ------------- ^^ expected `&[u8]`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&String` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/utils.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn redis_keyslot(key: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/utils.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | black_box(redis_keyslot(&k)); [INFO] [stdout] | ------------- ^^ expected `&[u8]`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&String` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/utils.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn redis_keyslot(key: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/utils.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | black_box(redis_keyslot(&k)); [INFO] [stdout] | ------------- ^^ expected `&[u8]`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&String` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/utils.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn redis_keyslot(key: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/utils.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | black_box(redis_keyslot(&k)); [INFO] [stdout] | ------------- ^^ expected `&[u8]`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&String` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/utils.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn redis_keyslot(key: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/utils.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | black_box(redis_keyslot(&k)); [INFO] [stdout] | ------------- ^^ expected `&[u8]`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&String` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/utils.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn redis_keyslot(key: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/utils.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | black_box(redis_keyslot(&k)); [INFO] [stdout] | ------------- ^^ expected `&[u8]`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&String` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/utils.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn redis_keyslot(key: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/encode.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | v.push(Frame::BulkString(rand_chars(str_len).into_bytes())); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/types.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | BulkString(Bytes), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `Vec` into `bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] 20 | v.push(Frame::BulkString(rand_chars(str_len).into_bytes().into())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-protocol` (bench "utils") due to 7 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/encode.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | let f = Frame::BulkString(rand_chars(1024).into_bytes()); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/types.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | BulkString(Bytes), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `Vec` into `bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] 37 | let f = Frame::BulkString(rand_chars(1024).into_bytes().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/encode.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | let f = Frame::BulkString(rand_chars(10 * 1024).into_bytes()); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/types.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | BulkString(Bytes), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `Vec` into `bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] 47 | let f = Frame::BulkString(rand_chars(10 * 1024).into_bytes().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/encode.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | let f = Frame::BulkString(rand_chars(100 * 1024).into_bytes()); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/types.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | BulkString(Bytes), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `Vec` into `bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] 57 | let f = Frame::BulkString(rand_chars(100 * 1024).into_bytes().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/encode.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | let f = Frame::BulkString(rand_chars(1024 * 1024).into_bytes()); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/types.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | BulkString(Bytes), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `Vec` into `bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] 67 | let f = Frame::BulkString(rand_chars(1024 * 1024).into_bytes().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/encode.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | let f = Frame::BulkString(rand_chars(10 * 1024 * 1024).into_bytes()); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/types.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | BulkString(Bytes), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `Vec` into `bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] 77 | let f = Frame::BulkString(rand_chars(10 * 1024 * 1024).into_bytes().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:155:30 [INFO] [stdout] | [INFO] [stdout] 155 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:182:30 [INFO] [stdout] | [INFO] [stdout] 182 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-protocol` (bench "encode") due to 7 previous errors; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:191:30 [INFO] [stdout] | [INFO] [stdout] 191 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/decode.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | black_box(resp2_decode(&buf)); [INFO] [stdout] | ------------ ^^^^ expected `&Bytes`, found `&BytesMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::Bytes` [INFO] [stdout] found reference `&BytesMut` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resp2/decode.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/decode.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | (0..len).fold(buf, |mut buf, i| { [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] --> benches/decode.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let mut buf = BytesMut::with_capacity(1 + arr_len_digits + 2 + (len * (1 + str_len_digits + 2 + str_len + 2))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: the item `str` is imported redundantly [INFO] [stdout] --> src/resp2/decode.rs:183:7 [INFO] [stdout] | [INFO] [stdout] 180 | use super::*; [INFO] [stdout] | -------- the item `str` is already imported here [INFO] [stdout] ... [INFO] [stdout] 183 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `str` is imported redundantly [INFO] [stdout] --> src/resp3/decode.rs:615:7 [INFO] [stdout] | [INFO] [stdout] 610 | use super::*; [INFO] [stdout] | -------- the item `str` is already imported here [INFO] [stdout] ... [INFO] [stdout] 615 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PATTERN_PUBSUB_PREFIX` is imported redundantly [INFO] [stdout] --> src/resp3/utils.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::resp3::types::*; [INFO] [stdout] | ---------------------- the item `PATTERN_PUBSUB_PREFIX` is already imported here [INFO] [stdout] 2 | use crate::types::{RedisProtocolError, RedisProtocolErrorKind}; [INFO] [stdout] 3 | use crate::utils::{digits_in_number, PATTERN_PUBSUB_PREFIX, PUBSUB_PREFIX, PUBSUB_PUSH_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-protocol` (bench "decode") due to 18 previous errors; 4 warnings emitted [INFO] [stdout] warning: the item `PUBSUB_PREFIX` is imported redundantly [INFO] [stdout] --> src/resp3/utils.rs:3:61 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::resp3::types::*; [INFO] [stdout] | ---------------------- the item `PUBSUB_PREFIX` is already imported here [INFO] [stdout] 2 | use crate::types::{RedisProtocolError, RedisProtocolErrorKind}; [INFO] [stdout] 3 | use crate::utils::{digits_in_number, PATTERN_PUBSUB_PREFIX, PUBSUB_PREFIX, PUBSUB_PUSH_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PUBSUB_PUSH_PREFIX` is imported redundantly [INFO] [stdout] --> src/resp3/utils.rs:3:76 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::resp3::types::*; [INFO] [stdout] | ---------------------- the item `PUBSUB_PUSH_PREFIX` is already imported here [INFO] [stdout] 2 | use crate::types::{RedisProtocolError, RedisProtocolErrorKind}; [INFO] [stdout] 3 | use crate::utils::{digits_in_number, PATTERN_PUBSUB_PREFIX, PUBSUB_PREFIX, PUBSUB_PUSH_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/resp3/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub use super::decode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `complete` in the type namespace is first re-exported here [INFO] [stdout] 13 | pub use super::encode::*; [INFO] [stdout] | ---------------- but the name `complete` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/resp3/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub use super::decode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `streaming` in the type namespace is first re-exported here [INFO] [stdout] 13 | pub use super::encode::*; [INFO] [stdout] | ---------------- but the name `streaming` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::encode::*` [INFO] [stdout] --> src/resp3/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub use super::encode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7cfb17f07ae448aa1e291bcd9732034af458b023280c11e35f7a873cbc700d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cfb17f07ae448aa1e291bcd9732034af458b023280c11e35f7a873cbc700d81", kill_on_drop: false }` [INFO] [stdout] 7cfb17f07ae448aa1e291bcd9732034af458b023280c11e35f7a873cbc700d81