[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#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitjoshi%2Frato" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohitjoshi/rato on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.License [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking rohitjoshi/rato against try#e35e259478581c01033b8da67214c0d376859a32 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitjoshi%2Frato" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohitjoshi/rato on toolchain e35e259478581c01033b8da67214c0d376859a32 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+e35e259478581c01033b8da67214c0d376859a32" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.License [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rohitjoshi/rato against try#e35e259478581c01033b8da67214c0d376859a32 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitjoshi%2Frato" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohitjoshi/rato on toolchain e35e259478581c01033b8da67214c0d376859a32 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+e35e259478581c01033b8da67214c0d376859a32" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.License [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ad86841977a0d5f5f425691e3523788139e576853f9b0d4de2725f413985ef2 [INFO] running `Command { std: "docker" "start" "-a" "2ad86841977a0d5f5f425691e3523788139e576853f9b0d4de2725f413985ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ad86841977a0d5f5f425691e3523788139e576853f9b0d4de2725f413985ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad86841977a0d5f5f425691e3523788139e576853f9b0d4de2725f413985ef2", kill_on_drop: false }` [INFO] [stdout] 2ad86841977a0d5f5f425691e3523788139e576853f9b0d4de2725f413985ef2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+e35e259478581c01033b8da67214c0d376859a32" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f160a99def3052364d2ab62e01e6323f13d1e2d18f397cefcbcdbe54206c5c3 [INFO] running `Command { std: "docker" "start" "-a" "5f160a99def3052364d2ab62e01e6323f13d1e2d18f397cefcbcdbe54206c5c3", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.License [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking either v1.5.1 [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] 138 | event_handler: &T, [INFO] [stdout] | ----------------- [INFO] [stdout] 139 | conn_tags: &mut HashMap, [INFO] [stdout] | --------------------------------------- [INFO] [stdout] 140 | input: &mut Vec, [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] warning: 3 warnings emitted [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/e35e259478581c01033b8da67214c0d376859a32/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] 138 | event_handler: &T, [INFO] [stdout] | ----------------- [INFO] [stdout] 139 | conn_tags: &mut HashMap, [INFO] [stdout] | --------------------------------------- [INFO] [stdout] 140 | input: &mut Vec, [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/e35e259478581c01033b8da67214c0d376859a32/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] 138 | event_handler: &T, [INFO] [stdout] | ----------------- [INFO] [stdout] 139 | conn_tags: &mut HashMap, [INFO] [stdout] | --------------------------------------- [INFO] [stdout] 140 | input: &mut Vec, [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/e35e259478581c01033b8da67214c0d376859a32/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] 138 | event_handler: &T, [INFO] [stdout] | ----------------- [INFO] [stdout] 139 | conn_tags: &mut HashMap, [INFO] [stdout] | --------------------------------------- [INFO] [stdout] 140 | input: &mut Vec, [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/e35e259478581c01033b8da67214c0d376859a32/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] 138 | event_handler: &T, [INFO] [stdout] | ----------------- [INFO] [stdout] 139 | conn_tags: &mut HashMap, [INFO] [stdout] | --------------------------------------- [INFO] [stdout] 140 | input: &mut Vec, [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/e35e259478581c01033b8da67214c0d376859a32/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] 138 | event_handler: &T, [INFO] [stdout] | ----------------- [INFO] [stdout] 139 | conn_tags: &mut HashMap, [INFO] [stdout] | --------------------------------------- [INFO] [stdout] 140 | input: &mut Vec, [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/e35e259478581c01033b8da67214c0d376859a32/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] 138 | event_handler: &T, [INFO] [stdout] | ----------------- [INFO] [stdout] 139 | conn_tags: &mut HashMap, [INFO] [stdout] | --------------------------------------- [INFO] [stdout] 140 | input: &mut Vec, [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] 138 | event_handler: &T, [INFO] [stdout] | ----------------- [INFO] [stdout] 139 | conn_tags: &mut HashMap, [INFO] [stdout] | --------------------------------------- [INFO] [stdout] 140 | input: &mut Vec, [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] error: aborting due to 15 previous errors; 5 warnings emitted [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 16 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f160a99def3052364d2ab62e01e6323f13d1e2d18f397cefcbcdbe54206c5c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f160a99def3052364d2ab62e01e6323f13d1e2d18f397cefcbcdbe54206c5c3", kill_on_drop: false }` [INFO] [stdout] 5f160a99def3052364d2ab62e01e6323f13d1e2d18f397cefcbcdbe54206c5c3