[INFO] cloning repository https://github.com/brian880120/geekbang_rust_simple_redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brian880120/geekbang_rust_simple_redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian880120%2Fgeekbang_rust_simple_redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian880120%2Fgeekbang_rust_simple_redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b728cdee2c424305551372236be023cad3b28a6 [INFO] testing brian880120/geekbang_rust_simple_redis against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian880120%2Fgeekbang_rust_simple_redis" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brian880120/geekbang_rust_simple_redis on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brian880120/geekbang_rust_simple_redis [INFO] finished tweaking git repo https://github.com/brian880120/geekbang_rust_simple_redis [INFO] tweaked toml for git repo https://github.com/brian880120/geekbang_rust_simple_redis written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/brian880120/geekbang_rust_simple_redis 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c39e9feb1796034d115456d3bfa365d09cb2413ce79a6f44871728c5ac83d1df [INFO] running `Command { std: "docker" "start" "-a" "c39e9feb1796034d115456d3bfa365d09cb2413ce79a6f44871728c5ac83d1df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c39e9feb1796034d115456d3bfa365d09cb2413ce79a6f44871728c5ac83d1df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39e9feb1796034d115456d3bfa365d09cb2413ce79a6f44871728c5ac83d1df", kill_on_drop: false }` [INFO] [stdout] c39e9feb1796034d115456d3bfa365d09cb2413ce79a6f44871728c5ac83d1df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f10ff325e967a3f127eda89b785eba33427ff3041b32cd012f6cc634f47b2b00 [INFO] running `Command { std: "docker" "start" "-a" "f10ff325e967a3f127eda89b785eba33427ff3041b32cd012f6cc634f47b2b00", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling simple-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SimpleError` [INFO] [stdout] --> src/resp/decode.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{RespDecode, RespError, RespFrame, SimpleError, SimpleString}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/resp/decode.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn expect_length(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/resp/decode.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn expect_length(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUF_CAP` is never used [INFO] [stdout] --> src/resp/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const BUF_CAP: usize = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRLF` is never used [INFO] [stdout] --> src/resp/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const CRLF: &[u8] = b"\r\n"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRLF_LEN` is never used [INFO] [stdout] --> src/resp/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CRLF_LEN: usize = CRLF.len(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_fixed_data` is never used [INFO] [stdout] --> src/resp/mod.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn extract_fixed_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_simple_frame_data` is never used [INFO] [stdout] --> src/resp/mod.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn extract_simple_frame_data(buf: &[u8], prefix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_crlf` is never used [INFO] [stdout] --> src/resp/mod.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn find_crlf(buf: &[u8], nth: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_length` is never used [INFO] [stdout] --> src/resp/mod.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn parse_length(buf: &[u8], prefix: &str) -> Result<(usize, usize), RespError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_total_length` is never used [INFO] [stdout] --> src/resp/mod.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn calc_total_length(buf: &[u8], end: usize, len: usize, prefix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.14s [INFO] running `Command { std: "docker" "inspect" "f10ff325e967a3f127eda89b785eba33427ff3041b32cd012f6cc634f47b2b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f10ff325e967a3f127eda89b785eba33427ff3041b32cd012f6cc634f47b2b00", kill_on_drop: false }` [INFO] [stdout] f10ff325e967a3f127eda89b785eba33427ff3041b32cd012f6cc634f47b2b00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e073b3fbef1d67a12a167a175f9a4dc35d3cb97c16e57f771a93138c101ffc55 [INFO] running `Command { std: "docker" "start" "-a" "e073b3fbef1d67a12a167a175f9a4dc35d3cb97c16e57f771a93138c101ffc55", kill_on_drop: false }` [INFO] [stderr] Compiling simple-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SimpleError` [INFO] [stdout] --> src/resp/decode.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{RespDecode, RespError, RespFrame, SimpleError, SimpleString}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/resp/decode.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn expect_length(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/resp/decode.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn expect_length(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUF_CAP` is never used [INFO] [stdout] --> src/resp/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const BUF_CAP: usize = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRLF` is never used [INFO] [stdout] --> src/resp/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const CRLF: &[u8] = b"\r\n"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRLF_LEN` is never used [INFO] [stdout] --> src/resp/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CRLF_LEN: usize = CRLF.len(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_fixed_data` is never used [INFO] [stdout] --> src/resp/mod.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn extract_fixed_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_simple_frame_data` is never used [INFO] [stdout] --> src/resp/mod.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn extract_simple_frame_data(buf: &[u8], prefix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_crlf` is never used [INFO] [stdout] --> src/resp/mod.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn find_crlf(buf: &[u8], nth: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_length` is never used [INFO] [stdout] --> src/resp/mod.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn parse_length(buf: &[u8], prefix: &str) -> Result<(usize, usize), RespError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_total_length` is never used [INFO] [stdout] --> src/resp/mod.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn calc_total_length(buf: &[u8], end: usize, len: usize, prefix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SimpleError` [INFO] [stdout] --> src/resp/decode.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{RespDecode, RespError, RespFrame, SimpleError, SimpleString}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/resp/decode.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn expect_length(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/resp/decode.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn expect_length(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUF_CAP` is never used [INFO] [stdout] --> src/resp/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const BUF_CAP: usize = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRLF` is never used [INFO] [stdout] --> src/resp/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const CRLF: &[u8] = b"\r\n"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRLF_LEN` is never used [INFO] [stdout] --> src/resp/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CRLF_LEN: usize = CRLF.len(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_fixed_data` is never used [INFO] [stdout] --> src/resp/mod.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn extract_fixed_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_simple_frame_data` is never used [INFO] [stdout] --> src/resp/mod.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn extract_simple_frame_data(buf: &[u8], prefix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_crlf` is never used [INFO] [stdout] --> src/resp/mod.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn find_crlf(buf: &[u8], nth: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_length` is never used [INFO] [stdout] --> src/resp/mod.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn parse_length(buf: &[u8], prefix: &str) -> Result<(usize, usize), RespError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_total_length` is never used [INFO] [stdout] --> src/resp/mod.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn calc_total_length(buf: &[u8], end: usize, len: usize, prefix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "e073b3fbef1d67a12a167a175f9a4dc35d3cb97c16e57f771a93138c101ffc55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e073b3fbef1d67a12a167a175f9a4dc35d3cb97c16e57f771a93138c101ffc55", kill_on_drop: false }` [INFO] [stdout] e073b3fbef1d67a12a167a175f9a4dc35d3cb97c16e57f771a93138c101ffc55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b35d18bda682e8d2ac7f65bdea9a6adefa4f292e0d043e5aa10e3eea85e87810 [INFO] running `Command { std: "docker" "start" "-a" "b35d18bda682e8d2ac7f65bdea9a6adefa4f292e0d043e5aa10e3eea85e87810", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `SimpleError` [INFO] [stderr] --> src/resp/decode.rs:1:47 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{RespDecode, RespError, RespFrame, SimpleError, SimpleString}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/resp/decode.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | fn expect_length(buf: &[u8]) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/resp/decode.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | fn expect_length(buf: &[u8]) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] [INFO] [stderr] warning: constant `BUF_CAP` is never used [INFO] [stderr] --> src/resp/mod.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | const BUF_CAP: usize = 4096; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `CRLF` is never used [INFO] [stderr] --> src/resp/mod.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const CRLF: &[u8] = b"\r\n"; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CRLF_LEN` is never used [INFO] [stderr] --> src/resp/mod.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 12 | const CRLF_LEN: usize = CRLF.len(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_fixed_data` is never used [INFO] [stderr] --> src/resp/mod.rs:171:4 [INFO] [stderr] | [INFO] [stderr] 171 | fn extract_fixed_data( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_simple_frame_data` is never used [INFO] [stderr] --> src/resp/mod.rs:191:4 [INFO] [stderr] | [INFO] [stderr] 191 | fn extract_simple_frame_data(buf: &[u8], prefix: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_crlf` is never used [INFO] [stderr] --> src/resp/mod.rs:209:4 [INFO] [stderr] | [INFO] [stderr] 209 | fn find_crlf(buf: &[u8], nth: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_length` is never used [INFO] [stderr] --> src/resp/mod.rs:224:4 [INFO] [stderr] | [INFO] [stderr] 224 | fn parse_length(buf: &[u8], prefix: &str) -> Result<(usize, usize), RespError> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calc_total_length` is never used [INFO] [stderr] --> src/resp/mod.rs:230:4 [INFO] [stderr] | [INFO] [stderr] 230 | fn calc_total_length(buf: &[u8], end: usize, len: usize, prefix: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `simple-redis` (lib) generated 11 warnings (run `cargo fix --lib -p simple-redis` to apply 1 suggestion) [INFO] [stderr] warning: `simple-redis` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_redis-147ee46924861855) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test resp::decode::tests::test_simple_string_decode ... ok [INFO] [stdout] test resp::encode::tests::test_array_encode ... ok [INFO] [stdout] test resp::encode::tests::test_bulk_string_encode ... ok [INFO] [stdout] test resp::encode::tests::test_boolean_encode ... ok [INFO] [stdout] test resp::encode::tests::test_integer_encode ... ok [INFO] [stdout] test resp::encode::tests::test_null_bulk_string_encode ... ok [INFO] [stdout] test resp::encode::tests::test_set_encode ... ok [INFO] [stdout] test resp::encode::tests::test_simple_string_encode ... ok [INFO] [stdout] test resp::encode::tests::test_null_array_encode ... ok [INFO] [stdout] test resp::encode::tests::test_error_encode ... ok [INFO] [stdout] test resp::encode::tests::test_null_encode ... ok [INFO] [stdout] test resp::encode::tests::test_double_encode ... ok [INFO] [stdout] test resp::encode::tests::test_map_encode ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- resp::encode::tests::test_map_encode stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'resp::encode::tests::test_map_encode' panicked at src/resp/encode.rs:235:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [37, 50, 13, 10, 43, 104, 101, 108, 108, 111, 13, 10, 36, 53, 13, 10, 119, 111, 114, 108, 100, 13, 10, 43, 102, 111, 111, 13, 10, 44, 45, 49, 50, 51, 52, 53, 54, 46, 55, 56, 57, 13, 10] [INFO] [stdout] right: [37, 50, 13, 10, 43, 102, 111, 111, 13, 10, 44, 45, 49, 50, 51, 52, 53, 54, 46, 55, 56, 57, 13, 10, 43, 104, 101, 108, 108, 111, 13, 10, 36, 53, 13, 10, 119, 111, 114, 108, 100, 13, 10] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ef6e6ead272 - std::backtrace_rs::backtrace::libunwind::trace::h8d95625898284e7d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ef6e6ead272 - std::backtrace_rs::backtrace::trace_unsynchronized::h9eafd5c61303e492 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ef6e6ead272 - std::sys::backtrace::_print_fmt::hec2578e807cc4a3f [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ef6e6ead272 - ::fmt::hd8ebefbbcb1fe23a [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ef6e6ed4d53 - core::fmt::rt::Argument::fmt::h09f3c4b7b5ff5386 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x5ef6e6ed4d53 - core::fmt::write::hef9d041e1d5d9592 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5ef6e6ea9e23 - std::io::Write::write_fmt::h7cfb9383e0a29362 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5ef6e6ead0c2 - std::sys::backtrace::BacktraceLock::print::h263d323f217ce3a7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5ef6e6eae71a - std::panicking::default_hook::{{closure}}::h25050253f7dc0d3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5ef6e6eae509 - std::panicking::default_hook::hf3291a4c87ea2887 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5ef6e6e6a1b7 - as core::ops::function::Fn>::call::h51204ed24e282361 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5ef6e6e6a1b7 - test::test_main::{{closure}}::h3588678a150ab7c4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x5ef6e6eaf203 - as core::ops::function::Fn>::call::h95d63edfac47e230 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5ef6e6eaf203 - std::panicking::rust_panic_with_hook::h3550dbeaa1041124 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5ef6e6eaeeba - std::panicking::begin_panic_handler::{{closure}}::hde0dd646a9e2b5b7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5ef6e6ead769 - std::sys::backtrace::__rust_end_short_backtrace::haeb22ba48b4d728e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5ef6e6eaeb4d - rust_begin_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5ef6e6ed2fd0 - core::panicking::panic_fmt::hca923aa694825dc3 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5ef6e6ed3367 - core::panicking::assert_failed_inner::h74605e175418b0d2 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:425:17 [INFO] [stdout] 19: 0x5ef6e6e2dc11 - core::panicking::assert_failed::h0928c4afe5cd949d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:380:5 [INFO] [stdout] 20: 0x5ef6e6e26447 - simple_redis::resp::encode::tests::test_map_encode::h88bd0f72e416bb47 [INFO] [stdout] at /opt/rustwide/workdir/src/resp/encode.rs:235:9 [INFO] [stdout] 21: 0x5ef6e6e26127 - simple_redis::resp::encode::tests::test_map_encode::{{closure}}::h13cfa5317dd02e01 [INFO] [stdout] at /opt/rustwide/workdir/src/resp/encode.rs:228:25 [INFO] [stdout] 22: 0x5ef6e6e2c9c6 - core::ops::function::FnOnce::call_once::h0e565576abf0890f [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5ef6e6e6fa9b - core::ops::function::FnOnce::call_once::hbd335dbb4bb5fce4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ef6e6e6fa9b - test::__rust_begin_short_backtrace::h04cc5e3b375a80f9 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 25: 0x5ef6e6e6eb55 - test::run_test_in_process::{{closure}}::h820e05c00a84ca94 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 26: 0x5ef6e6e6eb55 - as core::ops::function::FnOnce<()>>::call_once::h5d54c80bc199f62c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5ef6e6e6eb55 - std::panicking::try::do_call::h832d61a9fc2b6e3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 28: 0x5ef6e6e6eb55 - std::panicking::try::h9a404c5f3a090501 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 29: 0x5ef6e6e6eb55 - std::panic::catch_unwind::hf5157d4c366d9053 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5ef6e6e6eb55 - test::run_test_in_process::h671deca6957ee157 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 31: 0x5ef6e6e6eb55 - test::run_test::{{closure}}::h8a18e214254d2663 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 32: 0x5ef6e6e31b44 - test::run_test::{{closure}}::ha2abac7cc0a13c10 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 33: 0x5ef6e6e31b44 - std::sys::backtrace::__rust_begin_short_backtrace::h013f8b8ca29e5f67 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5ef6e6e3567a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc0336636a8c55b05 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5ef6e6e3567a - as core::ops::function::FnOnce<()>>::call_once::h256d9472a72a8c66 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5ef6e6e3567a - std::panicking::try::do_call::hf49ea3ffcc3bd1db [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x5ef6e6e3567a - std::panicking::try::h2a067a3336161e1c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x5ef6e6e3567a - std::panic::catch_unwind::h931ea2a9df59b7fa [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5ef6e6e3567a - std::thread::Builder::spawn_unchecked_::{{closure}}::haf08f1439431615c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5ef6e6e3567a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd1dc5dd1edff0233 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5ef6e6eb282b - as core::ops::function::FnOnce>::call_once::hf6ad22f40418d409 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 42: 0x5ef6e6eb282b - as core::ops::function::FnOnce>::call_once::h734c3e370b18da4b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 43: 0x5ef6e6eb282b - std::sys::pal::unix::thread::Thread::new::thread_start::hfbde3a90511cd82d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 44: 0x75e70b98eac3 - [INFO] [stdout] 45: 0x75e70ba1fa04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] resp::encode::tests::test_map_encode [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "b35d18bda682e8d2ac7f65bdea9a6adefa4f292e0d043e5aa10e3eea85e87810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35d18bda682e8d2ac7f65bdea9a6adefa4f292e0d043e5aa10e3eea85e87810", kill_on_drop: false }` [INFO] [stdout] b35d18bda682e8d2ac7f65bdea9a6adefa4f292e0d043e5aa10e3eea85e87810