[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#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian880120%2Fgeekbang_rust_simple_redis" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brian880120/geekbang_rust_simple_redis on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5b3b2c11b9405bf84cbabd8d98ddd6dafca5aae522ce8d69d7b049e603b33ee [INFO] running `Command { std: "docker" "start" "-a" "f5b3b2c11b9405bf84cbabd8d98ddd6dafca5aae522ce8d69d7b049e603b33ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5b3b2c11b9405bf84cbabd8d98ddd6dafca5aae522ce8d69d7b049e603b33ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b3b2c11b9405bf84cbabd8d98ddd6dafca5aae522ce8d69d7b049e603b33ee", kill_on_drop: false }` [INFO] [stdout] f5b3b2c11b9405bf84cbabd8d98ddd6dafca5aae522ce8d69d7b049e603b33ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1a8c914e1f5b68ef858d06806a46b143a1e2e2e92080229afdce67d2189c04c [INFO] running `Command { std: "docker" "start" "-a" "c1a8c914e1f5b68ef858d06806a46b143a1e2e2e92080229afdce67d2189c04c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 9.60s [INFO] running `Command { std: "docker" "inspect" "c1a8c914e1f5b68ef858d06806a46b143a1e2e2e92080229afdce67d2189c04c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a8c914e1f5b68ef858d06806a46b143a1e2e2e92080229afdce67d2189c04c", kill_on_drop: false }` [INFO] [stdout] c1a8c914e1f5b68ef858d06806a46b143a1e2e2e92080229afdce67d2189c04c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 993d59c5d0e7a429871411be4b221564a23122adb968e825f50e3f951577da15 [INFO] running `Command { std: "docker" "start" "-a" "993d59c5d0e7a429871411be4b221564a23122adb968e825f50e3f951577da15", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.99s [INFO] running `Command { std: "docker" "inspect" "993d59c5d0e7a429871411be4b221564a23122adb968e825f50e3f951577da15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993d59c5d0e7a429871411be4b221564a23122adb968e825f50e3f951577da15", kill_on_drop: false }` [INFO] [stdout] 993d59c5d0e7a429871411be4b221564a23122adb968e825f50e3f951577da15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d118bc6e897d3e9d985bd615207077e748a38476ebf39bc702569e1d7934900b [INFO] running `Command { std: "docker" "start" "-a" "d118bc6e897d3e9d985bd615207077e748a38476ebf39bc702569e1d7934900b", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stdout] [INFO] [stderr] --> src/resp/mod.rs:230:4 [INFO] [stdout] running 13 tests [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 3 suggestions) [INFO] [stderr] warning: `simple-redis` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_redis-cb60bcc30195c646) [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_double_encode ... ok [INFO] [stdout] test resp::encode::tests::test_error_encode ... ok [INFO] [stdout] test resp::encode::tests::test_null_bulk_string_encode ... ok [INFO] [stdout] test resp::encode::tests::test_null_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_set_encode ... ok [INFO] [stdout] test resp::encode::tests::test_integer_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' (24) 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: 0x5c8f441ac942 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c8f441ac942 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c8f441ac942 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5c8f441ac942 - <::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5c8f441c1f3a - ::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5c8f441c1f3a - core[585f66e14d78f9ba]::fmt::write [INFO] [stdout] 6: 0x5c8f441b1c76 - std[3f03f8b59f91bef1]::io::default_write_fmt::> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c8f441b1c76 - as std[3f03f8b59f91bef1]::io::Write>::write_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5c8f4418ab0f - ::print [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5c8f4418ab0f - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5c8f441a4b79 - std[3f03f8b59f91bef1]::panicking::default_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5c8f44133c1e - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5c8f44133c1e - test[30224e0cb089acd2]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c8f441a4d32 - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5c8f441a4d32 - std[3f03f8b59f91bef1]::panicking::panic_with_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5c8f4418abc8 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5c8f4417f859 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5c8f4418bb0d - __rustc[caa99d26c7bae192]::rust_begin_unwind [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5c8f441c260c - core[585f66e14d78f9ba]::panicking::panic_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5c8f441c24c3 - core[585f66e14d78f9ba]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c8f441194d0 - core[585f66e14d78f9ba]::panicking::assert_failed::, &[u8; 43usize]> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c8f4411a33f - simple_redis[3eb219cfa79dd518]::resp::encode::tests::test_map_encode [INFO] [stdout] at /opt/rustwide/workdir/src/resp/encode.rs:235:9 [INFO] [stdout] 22: 0x5c8f44119887 - simple_redis[3eb219cfa79dd518]::resp::encode::tests::test_map_encode::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/resp/encode.rs:228:25 [INFO] [stdout] 23: 0x5c8f4411fb26 - >::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5c8f44127fcb - core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5c8f44127fcb - test[30224e0cb089acd2]::__rust_begin_short_backtrace::, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c8f4413482a - test[30224e0cb089acd2]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c8f4413482a - as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5c8f4413482a - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5c8f4413482a - std[3f03f8b59f91bef1]::panicking::catch_unwind::, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5c8f4413482a - std[3f03f8b59f91bef1]::panic::catch_unwind::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c8f4413482a - test[30224e0cb089acd2]::run_test_in_process [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c8f4413482a - test[30224e0cb089acd2]::run_test::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c8f4412ecf4 - test[30224e0cb089acd2]::run_test::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c8f4412ecf4 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5c8f44137322 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5c8f44137322 - ::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5c8f44137322 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5c8f44137322 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5c8f44137322 - std[3f03f8b59f91bef1]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c8f44137322 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5c8f44137322 - ::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5c8f441ac1ef - + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 43: 0x5c8f441ac1ef - ::new::thread_start [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 44: 0x77035ff64aa4 - [INFO] [stdout] 45: 0x77035fff1a64 - 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.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "d118bc6e897d3e9d985bd615207077e748a38476ebf39bc702569e1d7934900b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d118bc6e897d3e9d985bd615207077e748a38476ebf39bc702569e1d7934900b", kill_on_drop: false }` [INFO] [stdout] d118bc6e897d3e9d985bd615207077e748a38476ebf39bc702569e1d7934900b