[INFO] cloning repository https://github.com/rohitjoshi/rato [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohitjoshi/rato" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitjoshi%2Frato", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitjoshi%2Frato'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04b920d8a1c2c61e68195fb12b270e4db2bddac8 [INFO] checking rohitjoshi/rato against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitjoshi%2Frato" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rohitjoshi/rato [INFO] finished tweaking git repo https://github.com/rohitjoshi/rato [INFO] tweaked toml for git repo https://github.com/rohitjoshi/rato written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rohitjoshi/rato on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rohitjoshi/rato 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.License [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ff477edbddab7e8a5a9282d2ead3b99d7982e46daa13e59cb7efa13b40e630d [INFO] running `Command { std: "docker" "start" "-a" "1ff477edbddab7e8a5a9282d2ead3b99d7982e46daa13e59cb7efa13b40e630d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ff477edbddab7e8a5a9282d2ead3b99d7982e46daa13e59cb7efa13b40e630d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ff477edbddab7e8a5a9282d2ead3b99d7982e46daa13e59cb7efa13b40e630d", kill_on_drop: false }` [INFO] [stdout] 1ff477edbddab7e8a5a9282d2ead3b99d7982e46daa13e59cb7efa13b40e630d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ea0b2fd38128afbd302b56d8f1f7de1f125ad96ca6c9694b49a2483fdd0a413 [INFO] running `Command { std: "docker" "start" "-a" "4ea0b2fd38128afbd302b56d8f1f7de1f125ad96ca6c9694b49a2483fdd0a413", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.License [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking either v1.5.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rato v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `env_logger` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate env_logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rato.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | (if let Err(e) = event_handler.on_cmd_flushdb(&db) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 420 | }) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 414 ~ if let Err(e) = event_handler.on_cmd_flushdb(&db) { [INFO] [stdout] 415 | format!("-ERR FLUSHDB Failed '{}'\r\n", e.to_string()) [INFO] [stdout] ... [INFO] [stdout] 419 | b"+OK\r\n".to_vec() [INFO] [stdout] 420 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rato.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | (match args.len() { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 443 | }) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 423 ~ match args.len() { [INFO] [stdout] 424 | 1 => { [INFO] [stdout] ... [INFO] [stdout] 442 | _ => RedisUtil::invalid_num_args(&args[0]), [INFO] [stdout] 443 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rato.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | (match args.len() { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 472 | }) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 446 ~ match args.len() { [INFO] [stdout] 447 | 1 => { [INFO] [stdout] ... [INFO] [stdout] 471 | _ => RedisUtil::invalid_num_args(&args[0]), [INFO] [stdout] 472 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rato.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | (if let Err(e) = event_handler.on_cmd_flushdb(&db) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 420 | }) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 414 ~ if let Err(e) = event_handler.on_cmd_flushdb(&db) { [INFO] [stdout] 415 | format!("-ERR FLUSHDB Failed '{}'\r\n", e.to_string()) [INFO] [stdout] ... [INFO] [stdout] 419 | b"+OK\r\n".to_vec() [INFO] [stdout] 420 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rato.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | (match args.len() { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 443 | }) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 423 ~ match args.len() { [INFO] [stdout] 424 | 1 => { [INFO] [stdout] ... [INFO] [stdout] 442 | _ => RedisUtil::invalid_num_args(&args[0]), [INFO] [stdout] 443 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rato.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | (match args.len() { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 472 | }) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 446 ~ match args.len() { [INFO] [stdout] 447 | 1 => { [INFO] [stdout] ... [INFO] [stdout] 471 | _ => RedisUtil::invalid_num_args(&args[0]), [INFO] [stdout] 472 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"AUTH secret\r\n".to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------------------------------- two arguments of type `&mut Vec` and `usize` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/rato.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse_input( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | output: &mut Vec, [INFO] [stdout] | -------------------- [INFO] [stdout] 142 | parallel_parsing_threshold: usize, [INFO] [stdout] | --------------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 150 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"AUTH secret\r\n".to_vec(), /* &mut Vec */, /* usize */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(String::from_utf8_lossy(&res.0), "+OK\r\n"); [INFO] [stdout] | ----------------------- ^^^^^^ expected `&[u8]`, found `&bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f8f6997469237299c1d60814c7b9828602a1f8e4/library/alloc/src/string.rs:622:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"AUTH abc\r\n".to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------------- two arguments of type `&mut Vec` and `usize` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/rato.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse_input( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | output: &mut Vec, [INFO] [stdout] | -------------------- [INFO] [stdout] 142 | parallel_parsing_threshold: usize, [INFO] [stdout] | --------------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 153 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"AUTH abc\r\n".to_vec(), /* &mut Vec */, /* usize */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | assert_ne!(String::from_utf8_lossy(&res.0), "+OK\r\n"); [INFO] [stdout] | ----------------------- ^^^^^^ expected `&[u8]`, found `&bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f8f6997469237299c1d60814c7b9828602a1f8e4/library/alloc/src/string.rs:622:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"PING\r\n".to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------------------------------- two arguments of type `&mut Vec` and `usize` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/rato.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse_input( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | output: &mut Vec, [INFO] [stdout] | -------------------- [INFO] [stdout] 142 | parallel_parsing_threshold: usize, [INFO] [stdout] | --------------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 170 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"PING\r\n".to_vec(), /* &mut Vec */, /* usize */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 171 | assert_eq!(String::from_utf8_lossy(&res.0), "+PONG\r\n"); [INFO] [stdout] | ----------------------- ^^^^^^ expected `&[u8]`, found `&bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f8f6997469237299c1d60814c7b9828602a1f8e4/library/alloc/src/string.rs:622:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"PING test_key\r\n".to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------------------ two arguments of type `&mut Vec` and `usize` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/rato.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse_input( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | output: &mut Vec, [INFO] [stdout] | -------------------- [INFO] [stdout] 142 | parallel_parsing_threshold: usize, [INFO] [stdout] | --------------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 173 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"PING test_key\r\n".to_vec(), /* &mut Vec */, /* usize */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:174:44 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(String::from_utf8_lossy(&res.0), "$8\r\ntest_key\r\n"); [INFO] [stdout] | ----------------------- ^^^^^^ expected `&[u8]`, found `&bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f8f6997469237299c1d60814c7b9828602a1f8e4/library/alloc/src/string.rs:622:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"SET a b\r\n".to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------------ two arguments of type `&mut Vec` and `usize` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/rato.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse_input( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | output: &mut Vec, [INFO] [stdout] | -------------------- [INFO] [stdout] 142 | parallel_parsing_threshold: usize, [INFO] [stdout] | --------------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 190 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"SET a b\r\n".to_vec(), /* &mut Vec */, /* usize */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!(String::from_utf8_lossy(&res.0), "+OK\r\n"); [INFO] [stdout] | ----------------------- ^^^^^^ expected `&[u8]`, found `&bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f8f6997469237299c1d60814c7b9828602a1f8e4/library/alloc/src/string.rs:622:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"GET a\r\n".to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------------------------- two arguments of type `&mut Vec` and `usize` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/rato.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse_input( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | output: &mut Vec, [INFO] [stdout] | -------------------- [INFO] [stdout] 142 | parallel_parsing_threshold: usize, [INFO] [stdout] | --------------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 207 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"GET a\r\n".to_vec(), /* &mut Vec */, /* usize */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 208 | assert_eq!(String::from_utf8_lossy(&res.0), "$1\r\nb\r\n"); [INFO] [stdout] | ----------------------- ^^^^^^ expected `&[u8]`, found `&bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f8f6997469237299c1d60814c7b9828602a1f8e4/library/alloc/src/string.rs:622:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:224:19 [INFO] [stdout] | [INFO] [stdout] 224 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"SELECT PAN_DB\r\n".to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------------------ two arguments of type `&mut Vec` and `usize` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/rato.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse_input( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | output: &mut Vec, [INFO] [stdout] | -------------------- [INFO] [stdout] 142 | parallel_parsing_threshold: usize, [INFO] [stdout] | --------------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 224 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"SELECT PAN_DB\r\n".to_vec(), /* &mut Vec */, /* usize */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"GET a\r\n".to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------------------------- two arguments of type `&mut Vec` and `usize` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/rato.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse_input( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | output: &mut Vec, [INFO] [stdout] | -------------------- [INFO] [stdout] 142 | parallel_parsing_threshold: usize, [INFO] [stdout] | --------------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 226 | let res = Rato::parse_input(&redis_test, &mut tags, &mut b"GET a\r\n".to_vec(), /* &mut Vec */, /* usize */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/lib.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | fn on_cmd_echo(&self, val: &[u8]) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | fn on_cmd_auth(&self, db: &[u8], password: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | fn on_cmd_flushdb(&self, db: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | fn on_cmd_keys(&self, db: &[u8]) -> Result>, String> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn on_cmd_del(&self, db: &[u8], key: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | fn on_cmd_del(&self, db: &[u8], key: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | fn on_cmd_get(&self, db: &[u8], key: &[u8]) -> Result>, String> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | fn on_cmd_get(&self, db: &[u8], key: &[u8]) -> Result>, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | db: &[u8], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/lib.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | hash: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keys` [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | keys: &[Vec], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | fn on_cmd_hget(&self, db: &[u8], hash: &[u8], key: &[u8]) -> Result>, String> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/lib.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | fn on_cmd_hget(&self, db: &[u8], hash: &[u8], key: &[u8]) -> Result>, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:63:55 [INFO] [stdout] | [INFO] [stdout] 63 | fn on_cmd_hget(&self, db: &[u8], hash: &[u8], key: &[u8]) -> Result>, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | db: &[u8], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/lib.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | hash: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | fn on_cmd_set(&self, db: &[u8], key: &[u8], val: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | fn on_cmd_set(&self, db: &[u8], key: &[u8], val: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/lib.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | fn on_cmd_set(&self, db: &[u8], key: &[u8], val: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | db: &[u8], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/lib.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | hash: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv` [INFO] [stdout] --> src/lib.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | kv:&[Vec], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | db: &[u8], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/lib.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | hash: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | key: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | val: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/lib.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | fn on_cmd_msg(&self, channel: &[u8], val: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/lib.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 94 | fn on_cmd_msg(&self, channel: &[u8], val: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/lib.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | fn on_cmd_subscribe(&self, val: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/lib.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | fn on_cmd_subscribe_response(&self, channel: &[u8], status: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/lib.rs:100:61 [INFO] [stdout] | [INFO] [stdout] 100 | fn on_cmd_subscribe_response(&self, channel: &[u8], status: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv` [INFO] [stdout] --> src/lib.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | fn on_cmd_cluster_add_node(&self, kv: &HashMap<&Vec, &Vec>) -> Result<(), String> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/lib.rs:113:46 [INFO] [stdout] | [INFO] [stdout] 113 | fn on_cmd_cluster_remove_node(&self, id: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv` [INFO] [stdout] --> src/lib.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | kv: &HashMap<&Vec, &Vec>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | fn on_cmd_backupdb(&self, db: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/lib.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 128 | fn on_cmd_backup_lru_keys(&self, table_name: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rato` (lib test) due to 15 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ea0b2fd38128afbd302b56d8f1f7de1f125ad96ca6c9694b49a2483fdd0a413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea0b2fd38128afbd302b56d8f1f7de1f125ad96ca6c9694b49a2483fdd0a413", kill_on_drop: false }` [INFO] [stdout] 4ea0b2fd38128afbd302b56d8f1f7de1f125ad96ca6c9694b49a2483fdd0a413