[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 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian880120%2Fgeekbang_rust_simple_redis" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-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] [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] testing brian880120/geekbang_rust_simple_redis against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian880120%2Fgeekbang_rust_simple_redis" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-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] [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] testing brian880120/geekbang_rust_simple_redis against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian880120%2Fgeekbang_rust_simple_redis" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-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] [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cae46fda3824be4ec286b496b21c9640b9f95578ea5d43f040d98a587f344192 [INFO] running `Command { std: "docker" "start" "-a" "cae46fda3824be4ec286b496b21c9640b9f95578ea5d43f040d98a587f344192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cae46fda3824be4ec286b496b21c9640b9f95578ea5d43f040d98a587f344192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cae46fda3824be4ec286b496b21c9640b9f95578ea5d43f040d98a587f344192", kill_on_drop: false }` [INFO] [stdout] cae46fda3824be4ec286b496b21c9640b9f95578ea5d43f040d98a587f344192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d0740d505fc106623abd4ca32e05f314363e50ab22c32e6f73dd54154c8fdc11 [INFO] running `Command { std: "docker" "start" "-a" "d0740d505fc106623abd4ca32e05f314363e50ab22c32e6f73dd54154c8fdc11", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling anyhow v1.0.86 [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 2.97s [INFO] running `Command { std: "docker" "inspect" "d0740d505fc106623abd4ca32e05f314363e50ab22c32e6f73dd54154c8fdc11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0740d505fc106623abd4ca32e05f314363e50ab22c32e6f73dd54154c8fdc11", kill_on_drop: false }` [INFO] [stdout] d0740d505fc106623abd4ca32e05f314363e50ab22c32e6f73dd54154c8fdc11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 902f6029672b2f0522737b6eb2da18c53c34078838d1b015c424040cf859cc66 [INFO] running `Command { std: "docker" "start" "-a" "902f6029672b2f0522737b6eb2da18c53c34078838d1b015c424040cf859cc66", kill_on_drop: false }` [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] [stderr] Compiling simple-redis v0.1.0 (/opt/rustwide/workdir) [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 0.28s [INFO] running `Command { std: "docker" "inspect" "902f6029672b2f0522737b6eb2da18c53c34078838d1b015c424040cf859cc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "902f6029672b2f0522737b6eb2da18c53c34078838d1b015c424040cf859cc66", kill_on_drop: false }` [INFO] [stdout] 902f6029672b2f0522737b6eb2da18c53c34078838d1b015c424040cf859cc66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] efa3c545f27f02fa8304b79512750b78ec73454ff4dc963014746825aa1917df [INFO] running `Command { std: "docker" "start" "-a" "efa3c545f27f02fa8304b79512750b78ec73454ff4dc963014746825aa1917df", 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.01s [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_boolean_encode ... ok [INFO] [stdout] test resp::encode::tests::test_bulk_string_encode ... ok [INFO] [stdout] test resp::encode::tests::test_error_encode ... ok [INFO] [stdout] test resp::encode::tests::test_double_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_null_array_encode ... ok [INFO] [stdout] test resp::encode::tests::test_null_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_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: 0x5aa389028272 - 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: 0x5aa389028272 - 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: 0x5aa389028272 - std::sys::backtrace::_print_fmt::hec2578e807cc4a3f [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5aa389028272 - ::fmt::hd8ebefbbcb1fe23a [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5aa38904fd53 - core::fmt::rt::Argument::fmt::h09f3c4b7b5ff5386 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x5aa38904fd53 - core::fmt::write::hef9d041e1d5d9592 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5aa389024e23 - std::io::Write::write_fmt::h7cfb9383e0a29362 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5aa3890280c2 - std::sys::backtrace::BacktraceLock::print::h263d323f217ce3a7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5aa38902971a - std::panicking::default_hook::{{closure}}::h25050253f7dc0d3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5aa389029509 - std::panicking::default_hook::hf3291a4c87ea2887 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5aa388fe51b7 - as core::ops::function::Fn>::call::h51204ed24e282361 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5aa388fe51b7 - test::test_main::{{closure}}::h3588678a150ab7c4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x5aa38902a203 - as core::ops::function::Fn>::call::h95d63edfac47e230 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5aa38902a203 - std::panicking::rust_panic_with_hook::h3550dbeaa1041124 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5aa389029eba - std::panicking::begin_panic_handler::{{closure}}::hde0dd646a9e2b5b7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5aa389028769 - std::sys::backtrace::__rust_end_short_backtrace::haeb22ba48b4d728e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5aa389029b4d - rust_begin_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5aa38904dfd0 - core::panicking::panic_fmt::hca923aa694825dc3 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5aa38904e367 - core::panicking::assert_failed_inner::h74605e175418b0d2 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:425:17 [INFO] [stdout] 19: 0x5aa388fa8c11 - core::panicking::assert_failed::h0928c4afe5cd949d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:380:5 [INFO] [stdout] 20: 0x5aa388fa1447 - simple_redis::resp::encode::tests::test_map_encode::h88bd0f72e416bb47 [INFO] [stdout] at /opt/rustwide/workdir/src/resp/encode.rs:235:9 [INFO] [stdout] 21: 0x5aa388fa1127 - 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: 0x5aa388fa79c6 - core::ops::function::FnOnce::call_once::h0e565576abf0890f [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5aa388feaa9b - core::ops::function::FnOnce::call_once::hbd335dbb4bb5fce4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5aa388feaa9b - test::__rust_begin_short_backtrace::h04cc5e3b375a80f9 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 25: 0x5aa388fe9b55 - test::run_test_in_process::{{closure}}::h820e05c00a84ca94 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 26: 0x5aa388fe9b55 - 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: 0x5aa388fe9b55 - std::panicking::try::do_call::h832d61a9fc2b6e3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 28: 0x5aa388fe9b55 - std::panicking::try::h9a404c5f3a090501 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 29: 0x5aa388fe9b55 - std::panic::catch_unwind::hf5157d4c366d9053 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5aa388fe9b55 - test::run_test_in_process::h671deca6957ee157 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 31: 0x5aa388fe9b55 - test::run_test::{{closure}}::h8a18e214254d2663 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 32: 0x5aa388facb44 - test::run_test::{{closure}}::ha2abac7cc0a13c10 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 33: 0x5aa388facb44 - std::sys::backtrace::__rust_begin_short_backtrace::h013f8b8ca29e5f67 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5aa388fb067a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc0336636a8c55b05 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5aa388fb067a - 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: 0x5aa388fb067a - std::panicking::try::do_call::hf49ea3ffcc3bd1db [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x5aa388fb067a - std::panicking::try::h2a067a3336161e1c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x5aa388fb067a - std::panic::catch_unwind::h931ea2a9df59b7fa [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5aa388fb067a - std::thread::Builder::spawn_unchecked_::{{closure}}::haf08f1439431615c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5aa388fb067a - 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: 0x5aa38902d82b - as core::ops::function::FnOnce>::call_once::hf6ad22f40418d409 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 42: 0x5aa38902d82b - as core::ops::function::FnOnce>::call_once::h734c3e370b18da4b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 43: 0x5aa38902d82b - 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: 0x7c6d1ab0bac3 - [INFO] [stdout] 45: 0x7c6d1ab9ca04 - 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.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "efa3c545f27f02fa8304b79512750b78ec73454ff4dc963014746825aa1917df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa3c545f27f02fa8304b79512750b78ec73454ff4dc963014746825aa1917df", kill_on_drop: false }` [INFO] [stdout] efa3c545f27f02fa8304b79512750b78ec73454ff4dc963014746825aa1917df