[INFO] cloning repository https://github.com/paullee-me/redisproxy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paullee-me/redisproxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaullee-me%2Fredisproxy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaullee-me%2Fredisproxy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b9c6e41a7c50f73fdd4d9090ec044b4177fe420d
[INFO] checking paullee-me/redisproxy against 1.55.0 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaullee-me%2Fredisproxy" "/workspace/builds/worker-108/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/paullee-me/redisproxy on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/paullee-me/redisproxy
[INFO] finished tweaking git repo https://github.com/paullee-me/redisproxy
[INFO] tweaked toml for git repo https://github.com/paullee-me/redisproxy written to /workspace/builds/worker-108/source/Cargo.toml
[INFO] crate git repo https://github.com/paullee-me/redisproxy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e77a2790205ade4d22cf0d6d6f5c622445812de0bdabdf9acd79914473a0ebdd
[INFO] running `Command { std: "docker" "start" "-a" "e77a2790205ade4d22cf0d6d6f5c622445812de0bdabdf9acd79914473a0ebdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e77a2790205ade4d22cf0d6d6f5c622445812de0bdabdf9acd79914473a0ebdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e77a2790205ade4d22cf0d6d6f5c622445812de0bdabdf9acd79914473a0ebdd", kill_on_drop: false }`
[INFO] [stdout] e77a2790205ade4d22cf0d6d6f5c622445812de0bdabdf9acd79914473a0ebdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 08c48b1dc205ca423cc4186bbd847e257e747df3b263df0321b195b51610fc48
[INFO] running `Command { std: "docker" "start" "-a" "08c48b1dc205ca423cc4186bbd847e257e747df3b263df0321b195b51610fc48", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking redisproxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/backdb.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::net::TcpStream;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> src/backdb.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::task;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/main.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/backdb.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::net::TcpStream;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> src/backdb.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::task;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/main.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         tokio::spawn(async move {
[INFO] [stdout]    |         ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/backdb.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     stream: TcpStream,
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/backdb.rs:26:73
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn add_ins(&mut self, addr: String, auth: String, role: u8, stream: TcpStream) {
[INFO] [stdout]    |                                                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]  --> src/main.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let listener = TcpListener::bind("127.0.0.1:8080").await?;
[INFO] [stdout]   |                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::TcpListener;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SubCommand`
[INFO] [stdout]  --> src/opt.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Arg, App, SubCommand};
[INFO] [stdout]   |                      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::io::file_exists`
[INFO] [stdout]  --> src/opt.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::io::file_exists;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/backdb.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         tokio::spawn(async move {
[INFO] [stdout]    |         ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/backdb.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     stream: TcpStream,
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/backdb.rs:26:73
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn add_ins(&mut self, addr: String, auth: String, role: u8, stream: TcpStream) {
[INFO] [stdout]    |                                                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]  --> src/main.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let listener = TcpListener::bind("127.0.0.1:8080").await?;
[INFO] [stdout]   |                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::TcpListener;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SubCommand`
[INFO] [stdout]  --> src/opt.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Arg, App, SubCommand};
[INFO] [stdout]   |                      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::io::file_exists`
[INFO] [stdout]  --> src/opt.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::io::file_exists;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/backdb.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `redisproxy` due to 10 previous errors; 3 warnings emitted
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/main.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "08c48b1dc205ca423cc4186bbd847e257e747df3b263df0321b195b51610fc48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08c48b1dc205ca423cc4186bbd847e257e747df3b263df0321b195b51610fc48", kill_on_drop: false }`
[INFO] [stdout] 08c48b1dc205ca423cc4186bbd847e257e747df3b263df0321b195b51610fc48
