[INFO] fetching crate rato 0.1.2... [INFO] testing rato-0.1.2 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate rato 0.1.2 into /workspace/builds/worker-111/source [INFO] validating manifest of crates.io crate rato 0.1.2 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rato 0.1.2 [INFO] finished tweaking crates.io crate rato 0.1.2 [INFO] tweaked toml for crates.io crate rato 0.1.2 written to /workspace/builds/worker-111/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ac4fbdf33ec8f2805b080fc3ca9363646edaae2cb6e26a7af254bc806da16f7 [INFO] running `Command { std: "docker" "start" "-a" "8ac4fbdf33ec8f2805b080fc3ca9363646edaae2cb6e26a7af254bc806da16f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ac4fbdf33ec8f2805b080fc3ca9363646edaae2cb6e26a7af254bc806da16f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac4fbdf33ec8f2805b080fc3ca9363646edaae2cb6e26a7af254bc806da16f7", kill_on_drop: false }` [INFO] [stdout] 8ac4fbdf33ec8f2805b080fc3ca9363646edaae2cb6e26a7af254bc806da16f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 461ab62fbaad703ae70644b4119e360b4fa04c301c190106d4423241767ac8c3 [INFO] running `Command { std: "docker" "start" "-a" "461ab62fbaad703ae70644b4119e360b4fa04c301c190106d4423241767ac8c3", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling log v0.3.9 [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 2.25s [INFO] running `Command { std: "docker" "inspect" "461ab62fbaad703ae70644b4119e360b4fa04c301c190106d4423241767ac8c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461ab62fbaad703ae70644b4119e360b4fa04c301c190106d4423241767ac8c3", kill_on_drop: false }` [INFO] [stdout] 461ab62fbaad703ae70644b4119e360b4fa04c301c190106d4423241767ac8c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96160b6a45d13403f0acb2f71093ee0616fe4dc220a6877d882590355c7ea8e0 [INFO] running `Command { std: "docker" "start" "-a" "96160b6a45d13403f0acb2f71093ee0616fe4dc220a6877d882590355c7ea8e0", kill_on_drop: false }` [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] [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" "96160b6a45d13403f0acb2f71093ee0616fe4dc220a6877d882590355c7ea8e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96160b6a45d13403f0acb2f71093ee0616fe4dc220a6877d882590355c7ea8e0", kill_on_drop: false }` [INFO] [stdout] 96160b6a45d13403f0acb2f71093ee0616fe4dc220a6877d882590355c7ea8e0