[INFO] cloning repository https://github.com/akuowen/imitate-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akuowen/imitate-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakuowen%2Fimitate-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakuowen%2Fimitate-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bfd8bae24605aab0268e9a5cc58db520dfe22f9 [INFO] checking akuowen/imitate-redis against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakuowen%2Fimitate-redis" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/akuowen/imitate-redis [INFO] finished tweaking git repo https://github.com/akuowen/imitate-redis [INFO] tweaked toml for git repo https://github.com/akuowen/imitate-redis written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/akuowen/imitate-redis on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/akuowen/imitate-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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 397609614b4026b327af0806f9192ec777ba0125005ff0a108aa5aafbaa0dcdf [INFO] running `Command { std: "docker" "start" "-a" "397609614b4026b327af0806f9192ec777ba0125005ff0a108aa5aafbaa0dcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "397609614b4026b327af0806f9192ec777ba0125005ff0a108aa5aafbaa0dcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397609614b4026b327af0806f9192ec777ba0125005ff0a108aa5aafbaa0dcdf", kill_on_drop: false }` [INFO] [stdout] 397609614b4026b327af0806f9192ec777ba0125005ff0a108aa5aafbaa0dcdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5bf691d86c34bb4e3b0da7f4918da176a3ed54d06da5ef490bf391a4f590f88 [INFO] running `Command { std: "docker" "start" "-a" "a5bf691d86c34bb4e3b0da7f4918da176a3ed54d06da5ef490bf391a4f590f88", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking thiserror v1.0.60 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking imitate-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `CRLF` is never used [INFO] [stdout] --> src/protocol/mod.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const CRLF: &[u8] = b"\r\n"; [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_LEN` is never used [INFO] [stdout] --> src/protocol/mod.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const CRLF_LEN: usize = CRLF.len(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RespEncode` is never used [INFO] [stdout] --> src/protocol/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait RespEncode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RespError` is never used [INFO] [stdout] --> src/protocol/mod.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum RespError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RespDecode` is never used [INFO] [stdout] --> src/protocol/mod.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait RespDecode: Sized { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_crlf` is never used [INFO] [stdout] --> src/protocol/mod.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | 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/protocol/mod.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn parse_length(buf: &[u8], prefix: &str) -> Result<(usize, usize), RespError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_simple_frame_data` is never used [INFO] [stdout] --> src/protocol/mod.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn extract_simple_frame_data(buf: &[u8], prefix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_fixed_data` is never used [INFO] [stdout] --> src/protocol/mod.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn extract_fixed_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_fixed_data_noadv` is never used [INFO] [stdout] --> src/protocol/mod.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn extract_fixed_data_noadv( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_total_length` is never used [INFO] [stdout] --> src/protocol/mod.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn calc_total_length(buf: &[u8], end: usize, len: usize, prefix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NULL` is never used [INFO] [stdout] --> src/protocol/array.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NULL: &str = "*-1\r\n"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RespArray` is never constructed [INFO] [stdout] --> src/protocol/array.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RespArray(pub(crate) Option>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_null` are never used [INFO] [stdout] --> src/protocol/array.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl RespArray { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 69 | pub fn new(s: impl Into>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn new_null() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NULL` is never used [INFO] [stdout] --> src/protocol/bulk_strings.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const NULL: &str = "$-1\r\n"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BulkString` is never constructed [INFO] [stdout] --> src/protocol/bulk_strings.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BulkString(pub(crate) Option>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_null` are never used [INFO] [stdout] --> src/protocol/bulk_strings.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl BulkString { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 60 | pub fn new(s: impl Into>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn new_null() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RespFrame` is never used [INFO] [stdout] --> src/protocol/protocols.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum RespFrame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RespSet` is never constructed [INFO] [stdout] --> src/protocol/set.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RespSet(pub(crate) Vec); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/set.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl RespSet { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 53 | pub fn new(s: impl Into>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleError` is never constructed [INFO] [stdout] --> src/protocol/simple_error.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SimpleError(pub(crate) String); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/simple_error.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl SimpleError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 36 | pub fn new(s: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RespMap` is never constructed [INFO] [stdout] --> src/protocol/map.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RespMap(pub(crate) BTreeMap); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/map.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl RespMap { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 61 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RespNull` is never constructed [INFO] [stdout] --> src/protocol/null.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RespNull; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleString` is never constructed [INFO] [stdout] --> src/protocol/simple_string.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SimpleString(pub(crate) String); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/simple_string.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SimpleString { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(s: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.02s [INFO] running `Command { std: "docker" "inspect" "a5bf691d86c34bb4e3b0da7f4918da176a3ed54d06da5ef490bf391a4f590f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5bf691d86c34bb4e3b0da7f4918da176a3ed54d06da5ef490bf391a4f590f88", kill_on_drop: false }` [INFO] [stdout] a5bf691d86c34bb4e3b0da7f4918da176a3ed54d06da5ef490bf391a4f590f88