[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] testing rohitjoshi/rato against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitjoshi%2Frato" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohitjoshi/rato on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-7/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e232b9cc2b4e17a1eda95cab27a90e78580d0abff72f05e54a303f2f4ce8eba1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e232b9cc2b4e17a1eda95cab27a90e78580d0abff72f05e54a303f2f4ce8eba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e232b9cc2b4e17a1eda95cab27a90e78580d0abff72f05e54a303f2f4ce8eba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e232b9cc2b4e17a1eda95cab27a90e78580d0abff72f05e54a303f2f4ce8eba1", kill_on_drop: false }` [INFO] [stdout] e232b9cc2b4e17a1eda95cab27a90e78580d0abff72f05e54a303f2f4ce8eba1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f11b7a312982f8857be7f9869ebed5ce1d6c7707eca32946713e2635990b1c81 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f11b7a312982f8857be7f9869ebed5ce1d6c7707eca32946713e2635990b1c81", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.License [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rato v0.1.2 (/opt/rustwide/workdir) [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] 416 | .into_bytes() [INFO] [stdout] 417 | .to_vec() [INFO] [stdout] 418 | } else { [INFO] [stdout] 419 | b"+OK\r\n".to_vec() [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] 425 | if let Err(e) = event_handler.on_cmd_backupdb(&[]) { [INFO] [stdout] 426 | format!("-ERR Backup DB Failed '{}'\r\n", e.to_string()) [INFO] [stdout] 427 | .into_bytes() [INFO] [stdout] 428 | .to_vec() [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] 448 | if let Err(e) = event_handler.on_cmd_backup_lru_keys(&[]) { [INFO] [stdout] 449 | format!( [INFO] [stdout] 450 | "-ERR BACKUP_LRU_KEYS Lru Keys Failed '{}'\r\n", [INFO] [stdout] 451 | e.to_string() [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.07s [INFO] running `Command { std: "docker" "inspect" "f11b7a312982f8857be7f9869ebed5ce1d6c7707eca32946713e2635990b1c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f11b7a312982f8857be7f9869ebed5ce1d6c7707eca32946713e2635990b1c81", kill_on_drop: false }` [INFO] [stdout] f11b7a312982f8857be7f9869ebed5ce1d6c7707eca32946713e2635990b1c81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c5504def86260f0ad8e81af6f05dd5d923dece97d3cdec3ff6985589839cf6a6 [INFO] running `Command { std: "docker" "start" "-a" "c5504def86260f0ad8e81af6f05dd5d923dece97d3cdec3ff6985589839cf6a6", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.License [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] 416 | .into_bytes() [INFO] [stdout] 417 | .to_vec() [INFO] [stdout] 418 | } else { [INFO] [stdout] 419 | b"+OK\r\n".to_vec() [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] 425 | if let Err(e) = event_handler.on_cmd_backupdb(&[]) { [INFO] [stdout] 426 | format!("-ERR Backup DB Failed '{}'\r\n", e.to_string()) [INFO] [stdout] 427 | .into_bytes() [INFO] [stdout] 428 | .to_vec() [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rato v0.1.2 (/opt/rustwide/workdir) [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] 448 | if let Err(e) = event_handler.on_cmd_backup_lru_keys(&[]) { [INFO] [stdout] 449 | format!( [INFO] [stdout] 450 | "-ERR BACKUP_LRU_KEYS Lru Keys Failed '{}'\r\n", [INFO] [stdout] 451 | e.to_string() [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] 416 | .into_bytes() [INFO] [stdout] 417 | .to_vec() [INFO] [stdout] 418 | } else { [INFO] [stdout] 419 | b"+OK\r\n".to_vec() [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] 425 | if let Err(e) = event_handler.on_cmd_backupdb(&[]) { [INFO] [stdout] 426 | format!("-ERR Backup DB Failed '{}'\r\n", e.to_string()) [INFO] [stdout] 427 | .into_bytes() [INFO] [stdout] 428 | .to_vec() [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] 448 | if let Err(e) = event_handler.on_cmd_backup_lru_keys(&[]) { [INFO] [stdout] 449 | format!( [INFO] [stdout] 450 | "-ERR BACKUP_LRU_KEYS Lru Keys Failed '{}'\r\n", [INFO] [stdout] 451 | e.to_string() [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] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [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] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod tests { [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] | ^^^^^^^^^^^^^^^^^ ----------- --------- -------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [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] [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 slice `[u8]`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [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] | ^^^^^^^^^^^^^^^^^ ----------- --------- ----------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [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] [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 slice `[u8]`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [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] | ^^^^^^^^^^^^^^^^^ ----------- --------- ------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [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] [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 slice `[u8]`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [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] | ^^^^^^^^^^^^^^^^^ ----------- --------- ---------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [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] [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 slice `[u8]`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [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] | ^^^^^^^^^^^^^^^^^ ----------- --------- ---------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [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] [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 slice `[u8]`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [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] | ^^^^^^^^^^^^^^^^^ ----------- --------- -------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [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] [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 slice `[u8]`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&bool` [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] | ^^^^^^^^^^^^^^^^^ ----------- --------- ---------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [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] [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] | ^^^^^^^^^^^^^^^^^ ----------- --------- -------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [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] [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` due to 16 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c5504def86260f0ad8e81af6f05dd5d923dece97d3cdec3ff6985589839cf6a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5504def86260f0ad8e81af6f05dd5d923dece97d3cdec3ff6985589839cf6a6", kill_on_drop: false }` [INFO] [stdout] c5504def86260f0ad8e81af6f05dd5d923dece97d3cdec3ff6985589839cf6a6