[INFO] cloning repository https://github.com/avrilko-go/my-redis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/avrilko-go/my-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favrilko-go%2Fmy-redis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favrilko-go%2Fmy-redis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5560eb0a03c3261921c5528995df2d5c5a1f16f
[INFO] checking avrilko-go/my-redis against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favrilko-go%2Fmy-redis" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/avrilko-go/my-redis
[INFO] finished tweaking git repo https://github.com/avrilko-go/my-redis
[INFO] tweaked toml for git repo https://github.com/avrilko-go/my-redis written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/avrilko-go/my-redis on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/avrilko-go/my-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" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a63255389b159689d7b70597921bae06de21e1ac67e78ba9b9ff2e93385870b2
[INFO] running `Command { std: "docker" "start" "a63255389b159689d7b70597921bae06de21e1ac67e78ba9b9ff2e93385870b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a63255389b159689d7b70597921bae06de21e1ac67e78ba9b9ff2e93385870b2" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a63255389b159689d7b70597921bae06de21e1ac67e78ba9b9ff2e93385870b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a63255389b159689d7b70597921bae06de21e1ac67e78ba9b9ff2e93385870b2" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]     Checking instant v0.1.9
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]     Checking tracing-core v0.1.18
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking lock_api v0.4.4
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling tokio v1.6.1
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking tracing-log v0.1.2
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking sharded-slab v0.1.1
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking mio v0.7.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking atoi v0.4.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking tracing-serde v0.1.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.15
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling structopt-derive v0.4.14
[INFO] [stderr]    Compiling tokio-macros v1.2.0
[INFO] [stderr]     Checking pin-project v1.0.7
[INFO] [stderr]     Checking structopt v0.3.21
[INFO] [stderr]     Checking tracing v0.1.26
[INFO] [stderr]     Checking tracing-subscriber v0.2.18
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking my-redis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/server.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::SocketAddr;
[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 import: `std::io::Error`
[INFO] [stdout]  --> src/server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParseError`
[INFO] [stdout]  --> src/cmd/mod.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::parse::{Parse, ParseError};
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/cmd/mod.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]  --> src/parse.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use bytes::{Bytes, Buf};
[INFO] [stdout]   |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/server.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::SocketAddr;
[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 import: `std::io::Error`
[INFO] [stdout]  --> src/server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParseError`
[INFO] [stdout]  --> src/cmd/mod.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::parse::{Parse, ParseError};
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/cmd/mod.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]  --> src/parse.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use bytes::{Bytes, Buf};
[INFO] [stdout]   |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/cmd/get.rs:26:89
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub(crate) async fn apply(self, db: &Db, dst: &mut Connection) -> crate::Result<()> {}
[INFO] [stdout]    |                                                                                         ^^ expected `Result<(), Box<dyn Error + Send + Sync>>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `std::result::Result<(), Box<(dyn std::error::Error + Send + Sync + 'static)>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/cmd/mod.rs:48:30
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub async fn apply(self, db: &Db, dst: &mut Connection, shutdown: &mut Shutdown) -> crate::Result<()> {
[INFO] [stdout]    |                              ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst`
[INFO] [stdout]   --> src/cmd/mod.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub async fn apply(self, db: &Db, dst: &mut Connection, shutdown: &mut Shutdown) -> crate::Result<()> {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown`
[INFO] [stdout]   --> src/cmd/mod.rs:48:61
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub async fn apply(self, db: &Db, dst: &mut Connection, shutdown: &mut Shutdown) -> crate::Result<()> {
[INFO] [stdout]    |                                                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/cmd/mod.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |             Command::Get(cmd) => {}
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/cmd/mod.rs:51:26
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Command::Set(cmd) => {}
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/cmd/mod.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Command::UnKnown(cmd) => {}
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/cmd/get.rs:26:89
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub(crate) async fn apply(self, db: &Db, dst: &mut Connection) -> crate::Result<()> {}
[INFO] [stdout]    |                                                                                         ^^ expected `Result<(), Box<dyn Error + Send + Sync>>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `std::result::Result<(), Box<(dyn std::error::Error + Send + Sync + 'static)>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-redis` (lib) due to 1 previous error; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/cmd/mod.rs:48:30
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub async fn apply(self, db: &Db, dst: &mut Connection, shutdown: &mut Shutdown) -> crate::Result<()> {
[INFO] [stdout]    |                              ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst`
[INFO] [stdout]   --> src/cmd/mod.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub async fn apply(self, db: &Db, dst: &mut Connection, shutdown: &mut Shutdown) -> crate::Result<()> {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown`
[INFO] [stdout]   --> src/cmd/mod.rs:48:61
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub async fn apply(self, db: &Db, dst: &mut Connection, shutdown: &mut Shutdown) -> crate::Result<()> {
[INFO] [stdout]    |                                                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/cmd/mod.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |             Command::Get(cmd) => {}
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/cmd/mod.rs:51:26
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Command::Set(cmd) => {}
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/cmd/mod.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Command::UnKnown(cmd) => {}
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-redis` (lib test) due to 1 previous error; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a63255389b159689d7b70597921bae06de21e1ac67e78ba9b9ff2e93385870b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a63255389b159689d7b70597921bae06de21e1ac67e78ba9b9ff2e93385870b2", kill_on_drop: false }`
[INFO] [stdout] a63255389b159689d7b70597921bae06de21e1ac67e78ba9b9ff2e93385870b2
