[INFO] cloning repository https://github.com/sonald/redis-cli-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sonald/redis-cli-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonald%2Fredis-cli-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonald%2Fredis-cli-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5de760421f4d052d4a28001d1274ab90688d0fd3
[INFO] checking sonald/redis-cli-rs against a621e2b446eafb53c7a8569f225e0b8cc2429a68 for pr-162600
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonald%2Fredis-cli-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sonald/redis-cli-rs
[INFO] finished tweaking git repo https://github.com/sonald/redis-cli-rs
[INFO] tweaked toml for git repo https://github.com/sonald/redis-cli-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sonald/redis-cli-rs on toolchain a621e2b446eafb53c7a8569f225e0b8cc2429a68
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a621e2b446eafb53c7a8569f225e0b8cc2429a68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sonald/redis-cli-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a621e2b446eafb53c7a8569f225e0b8cc2429a68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mio-named-pipes v0.1.6
[INFO] [stderr]   Downloaded structopt v0.3.14
[INFO] [stderr]   Downloaded proc-macro2 v1.0.13
[INFO] [stderr]   Downloaded miow v0.3.4
[INFO] [stderr]   Downloaded signal-hook v0.1.15
[INFO] [stderr]   Downloaded syn-mid v0.5.0
[INFO] [stderr]   Downloaded proc-macro-error-attr v1.0.2
[INFO] [stderr]   Downloaded proc-macro-error v1.0.2
[INFO] [stderr]   Downloaded structopt-derive v0.4.7
[INFO] [stderr]   Downloaded rustyline v6.1.2
[INFO] [stderr]   Downloaded syn v1.0.22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 63516d7a6db02b8591026c137e9c5a7f0fafcfdbad24f197f81a4b4528c5d13c
[INFO] running `Command { std: "docker" "start" "63516d7a6db02b8591026c137e9c5a7f0fafcfdbad24f197f81a4b4528c5d13c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63516d7a6db02b8591026c137e9c5a7f0fafcfdbad24f197f81a4b4528c5d13c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63516d7a6db02b8591026c137e9c5a7f0fafcfdbad24f197f81a4b4528c5d13c" "/opt/rustwide/cargo-home/bin/cargo" "+a621e2b446eafb53c7a8569f225e0b8cc2429a68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63516d7a6db02b8591026c137e9c5a7f0fafcfdbad24f197f81a4b4528c5d13c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63516d7a6db02b8591026c137e9c5a7f0fafcfdbad24f197f81a4b4528c5d13c" "/opt/rustwide/cargo-home/bin/cargo" "+a621e2b446eafb53c7a8569f225e0b8cc2429a68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.70
[INFO] [stderr]    Compiling proc-macro2 v1.0.13
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.22
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking arc-swap v0.4.6
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.2
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking utf8parse v0.2.0
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking pin-project-lite v0.1.5
[INFO] [stderr]     Checking bytes v0.5.4
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]    Compiling quote v1.0.5
[INFO] [stderr]     Checking net2 v0.2.34
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking signal-hook-registry v1.2.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking signal-hook v0.1.15
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]     Checking rustyline v6.1.2
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]     Checking tokio v0.2.21
[INFO] [stderr]    Compiling structopt-derive v0.4.7
[INFO] [stderr]     Checking structopt v0.3.14
[INFO] [stderr]     Checking cedis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/redis.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/redis.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for type parameter `S` in the current scope
[INFO] [stdout]    --> src/redis.rs:117:24
[INFO] [stdout]     |
[INFO] [stdout]  63 |     pub fn is_valid<S: AsRef<[u8]>>(s: S) -> bool {
[INFO] [stdout]     |                     - method `iter` not found for this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 117 |         let mut ts = s.iter();
[INFO] [stdout]     |                        ^^^^ method not found in `S`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for type parameter `S` in the current scope
[INFO] [stdout]    --> src/redis.rs:117:24
[INFO] [stdout]     |
[INFO] [stdout]  63 |     pub fn is_valid<S: AsRef<[u8]>>(s: S) -> bool {
[INFO] [stdout]     |                     - method `iter` not found for this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 117 |         let mut ts = s.iter();
[INFO] [stdout]     |                        ^^^^ method not found in `S`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `bool` is not an iterator
[INFO] [stdout]    --> src/redis.rs:118:30
[INFO] [stdout]     |
[INFO] [stdout] 118 |         match_value(&mut ts).map(|v| (v, s.as_ref().len() - ts.size_hint().0))
[INFO] [stdout]     |                              ^^^ `bool` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `bool: Iterator`
[INFO] [stdout]             which is required by `&mut bool: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `bool` is not an iterator
[INFO] [stdout]    --> src/redis.rs:118:30
[INFO] [stdout]     |
[INFO] [stdout] 118 |         match_value(&mut ts).map(|v| (v, s.as_ref().len() - ts.size_hint().0))
[INFO] [stdout]     |                              ^^^ `bool` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `bool: Iterator`
[INFO] [stdout]             which is required by `&mut bool: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:67:32
[INFO] [stdout]    |
[INFO] [stdout] 67 |             ts.find(|&&c| c == '\n').is_some()
[INFO] [stdout]    |                           -    ^^^^ expected `u8`, found `char`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           expected because this is `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to write a byte literal, prefix with `b`
[INFO] [stdout]    |
[INFO] [stdout] 67 |             ts.find(|&&c| c == b'\n').is_some()
[INFO] [stdout]    |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:67:32
[INFO] [stdout]    |
[INFO] [stdout] 67 |             ts.find(|&&c| c == '\n').is_some()
[INFO] [stdout]    |                           -    ^^^^ expected `u8`, found `char`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           expected because this is `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to write a byte literal, prefix with `b`
[INFO] [stdout]    |
[INFO] [stdout] 67 |             ts.find(|&&c| c == b'\n').is_some()
[INFO] [stdout]    |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for type `bool` in the current scope
[INFO] [stdout]   --> src/redis.rs:80:54
[INFO] [stdout]    |
[INFO] [stdout] 80 |                         let mut n = match_string(ts).parse::<i32>().unwrap_or(0);
[INFO] [stdout]    |                                                      ^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for type `bool` in the current scope
[INFO] [stdout]   --> src/redis.rs:80:54
[INFO] [stdout]    |
[INFO] [stdout] 80 |                         let mut n = match_string(ts).parse::<i32>().unwrap_or(0);
[INFO] [stdout]    |                                                      ^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]    |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 82 |                             Some(RedisValue::Nil)
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<RedisValue>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<redis::RedisValue>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]    |
[INFO] [stdout] 82 |                             Some(RedisValue::Nil).is_some()
[INFO] [stdout]    |                                                  ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]    |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 82 |                             Some(RedisValue::Nil)
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<RedisValue>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<redis::RedisValue>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]    |
[INFO] [stdout] 82 |                             Some(RedisValue::Nil).is_some()
[INFO] [stdout]    |                                                  ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:94:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]    |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 94 |                             Some(RedisValue::Bulk(String::from_utf8_lossy(&buf).to_string()))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<RedisValue>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<redis::RedisValue>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]    |
[INFO] [stdout] 94 |                             Some(RedisValue::Bulk(String::from_utf8_lossy(&buf).to_string())).is_some()
[INFO] [stdout]    |                                                                                              ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:94:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]    |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 94 |                             Some(RedisValue::Bulk(String::from_utf8_lossy(&buf).to_string()))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<RedisValue>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<redis::RedisValue>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]    |
[INFO] [stdout] 94 |                             Some(RedisValue::Bulk(String::from_utf8_lossy(&buf).to_string())).is_some()
[INFO] [stdout]    |                                                                                              ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for type `bool` in the current scope
[INFO] [stdout]   --> src/redis.rs:98:63
[INFO] [stdout]    |
[INFO] [stdout] 98 |                         Some(RedisValue::Int(match_string(ts).parse::<i64>().unwrap_or(0)))
[INFO] [stdout]    |                                                               ^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for type `bool` in the current scope
[INFO] [stdout]   --> src/redis.rs:98:63
[INFO] [stdout]    |
[INFO] [stdout] 98 |                         Some(RedisValue::Int(match_string(ts).parse::<i64>().unwrap_or(0)))
[INFO] [stdout]    |                                                               ^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:98:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]    |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 98 |                         Some(RedisValue::Int(match_string(ts).parse::<i64>().unwrap_or(0)))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<RedisValue>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<redis::RedisValue>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]    |
[INFO] [stdout] 98 |                         Some(RedisValue::Int(match_string(ts).parse::<i64>().unwrap_or(0))).is_some()
[INFO] [stdout]    |                                                                                            ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:98:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]    |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 98 |                         Some(RedisValue::Int(match_string(ts).parse::<i64>().unwrap_or(0)))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<RedisValue>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<redis::RedisValue>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]    |
[INFO] [stdout] 98 |                         Some(RedisValue::Int(match_string(ts).parse::<i64>().unwrap_or(0))).is_some()
[INFO] [stdout]    |                                                                                            ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for type `bool` in the current scope
[INFO] [stdout]    --> src/redis.rs:101:50
[INFO] [stdout]     |
[INFO] [stdout] 101 |                         let n = match_string(ts).parse::<usize>().unwrap_or(0);
[INFO] [stdout]     |                                                  ^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for type `bool` in the current scope
[INFO] [stdout]    --> src/redis.rs:101:50
[INFO] [stdout]     |
[INFO] [stdout] 101 |                         let n = match_string(ts).parse::<usize>().unwrap_or(0);
[INFO] [stdout]     |                                                  ^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for type `bool` in the current scope
[INFO] [stdout]    --> src/redis.rs:103:57
[INFO] [stdout]     |
[INFO] [stdout] 103 | ...                   let value = match_value(ts).expect("invalid resp");
[INFO] [stdout]     |                                                   ^^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for type `bool` in the current scope
[INFO] [stdout]    --> src/redis.rs:103:57
[INFO] [stdout]     |
[INFO] [stdout] 103 | ...                   let value = match_value(ts).expect("invalid resp");
[INFO] [stdout]     |                                                   ^^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redis.rs:108:25
[INFO] [stdout]     |
[INFO] [stdout]  70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]     |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 108 |                         Some(RedisValue::Array(res))
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<RedisValue>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `bool`
[INFO] [stdout]                found enum `Option<redis::RedisValue>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         Some(RedisValue::Array(res)).is_some()
[INFO] [stdout]     |                                                     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redis.rs:108:25
[INFO] [stdout]     |
[INFO] [stdout]  70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]     |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 108 |                         Some(RedisValue::Array(res))
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<RedisValue>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `bool`
[INFO] [stdout]                found enum `Option<redis::RedisValue>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         Some(RedisValue::Array(res)).is_some()
[INFO] [stdout]     |                                                     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redis.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout]  70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]     |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 113 |                 None
[INFO] [stdout]     |                 ^^^^ expected `bool`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `bool`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 None.is_some()
[INFO] [stdout]     |                     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redis.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout]  70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]     |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 113 |                 None
[INFO] [stdout]     |                 ^^^^ expected `bool`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `bool`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 None.is_some()
[INFO] [stdout]     |                     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redis.rs:286:45
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let value = RedisValue::deserialize(data).expect("");
[INFO] [stdout]     |                     ----------------------- ^^^^ expected `&[u8]`, found `&str`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&str`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/redis.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub fn deserialize(s: &[u8]) -> Option<(RedisValue, usize)> {
[INFO] [stdout]     |            ^^^^^^^^^^^ --------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redis.rs:293:45
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let value = RedisValue::deserialize(data).expect("");
[INFO] [stdout]     |                     ----------------------- ^^^^ expected `&[u8]`, found `&str`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&str`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/redis.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub fn deserialize(s: &[u8]) -> Option<(RedisValue, usize)> {
[INFO] [stdout]     |            ^^^^^^^^^^^ --------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cedis` (bin "cedis") due to 12 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cedis` (bin "cedis" test) due to 14 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "63516d7a6db02b8591026c137e9c5a7f0fafcfdbad24f197f81a4b4528c5d13c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63516d7a6db02b8591026c137e9c5a7f0fafcfdbad24f197f81a4b4528c5d13c", kill_on_drop: false }`
[INFO] [stdout] 63516d7a6db02b8591026c137e9c5a7f0fafcfdbad24f197f81a4b4528c5d13c
