[INFO] fetching crate redis-protocol-mm 4.2.0... [INFO] checking redis-protocol-mm-4.2.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate redis-protocol-mm 4.2.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate redis-protocol-mm 4.2.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate redis-protocol-mm 4.2.0 [INFO] finished tweaking crates.io crate redis-protocol-mm 4.2.0 [INFO] tweaked toml for crates.io crate redis-protocol-mm 4.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.15.1) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.6.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding pretty_env_logger v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding tokio-util v0.6.10 (available: v0.7.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6966cf20fc5cac43edbdf26a063e07ed4f990dd9ca9fa53c67dcec56cd1edff5 [INFO] running `Command { std: "docker" "start" "-a" "6966cf20fc5cac43edbdf26a063e07ed4f990dd9ca9fa53c67dcec56cd1edff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6966cf20fc5cac43edbdf26a063e07ed4f990dd9ca9fa53c67dcec56cd1edff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6966cf20fc5cac43edbdf26a063e07ed4f990dd9ca9fa53c67dcec56cd1edff5", kill_on_drop: false }` [INFO] [stdout] 6966cf20fc5cac43edbdf26a063e07ed4f990dd9ca9fa53c67dcec56cd1edff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 611f73803a4e7295914d206e71f72f713445528ef23ab88ec01dd4056de5d52c [INFO] running `Command { std: "docker" "start" "-a" "611f73803a4e7295914d206e71f72f713445528ef23ab88ec01dd4056de5d52c", kill_on_drop: false }` [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking redis-protocol-mm v4.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.6.10 [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:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | 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/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:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | 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: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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [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:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | 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:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn redis_keyslot(key: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | 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:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | 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/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:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn redis_keyslot(key: &[u8]) -> u16 { [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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [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:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | 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/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:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn redis_keyslot(key: &[u8]) -> u16 { [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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | 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:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | 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/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:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | 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:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn redis_keyslot(key: &[u8]) -> u16 { [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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | 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:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | 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: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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [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: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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn decode(buf: &Bytes) -> Result, RedisProtocolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-protocol-mm` (bench "utils") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-protocol-mm` (bench "encode") due to 6 previous errors [INFO] [stderr] error: could not compile `redis-protocol-mm` (bench "decode") due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "611f73803a4e7295914d206e71f72f713445528ef23ab88ec01dd4056de5d52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "611f73803a4e7295914d206e71f72f713445528ef23ab88ec01dd4056de5d52c", kill_on_drop: false }` [INFO] [stdout] 611f73803a4e7295914d206e71f72f713445528ef23ab88ec01dd4056de5d52c