[INFO] cloning repository https://github.com/Andrew-LC/mini-redis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Andrew-LC/mini-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrew-LC%2Fmini-redis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrew-LC%2Fmini-redis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7d5db68643e5f7c73ebe5919661baf4f1052dba3
[INFO] building Andrew-LC/mini-redis against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrew-LC%2Fmini-redis" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Andrew-LC/mini-redis on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Andrew-LC/mini-redis
[INFO] finished tweaking git repo https://github.com/Andrew-LC/mini-redis
[INFO] tweaked toml for git repo https://github.com/Andrew-LC/mini-redis written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Andrew-LC/mini-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded iana-time-zone v0.1.59
[INFO] [stderr]   Downloaded mini-redis v0.4.1
[INFO] [stderr]   Downloaded atoi v0.3.3
[INFO] [stderr]   Downloaded tokio v1.35.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c0103e8c1bc4effb561f9bf13f989d9cfa157e37ea8c501369ab52f7d7be3c80
[INFO] running `Command { std: "docker" "start" "-a" "c0103e8c1bc4effb561f9bf13f989d9cfa157e37ea8c501369ab52f7d7be3c80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c0103e8c1bc4effb561f9bf13f989d9cfa157e37ea8c501369ab52f7d7be3c80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0103e8c1bc4effb561f9bf13f989d9cfa157e37ea8c501369ab52f7d7be3c80", kill_on_drop: false }`
[INFO] [stdout] c0103e8c1bc4effb561f9bf13f989d9cfa157e37ea8c501369ab52f7d7be3c80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51cc30e15d495be2d9eda932f7d198394fd3910a6601d4eceb8876878b2b16ed
[INFO] running `Command { std: "docker" "start" "-a" "51cc30e15d495be2d9eda932f7d198394fd3910a6601d4eceb8876878b2b16ed", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling serde v1.0.195
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling iana-time-zone v0.1.59
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling tracing-log v0.1.4
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling atoi v0.3.3
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling tracing-serde v0.1.3
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling mini-redis v0.4.1
[INFO] [stderr]    Compiling mini_rediz v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/bin/client.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let res = client.get("foo").await;
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: async block may outlive the current function, but it borrows `client`, which is owned by the current function
[INFO] [stdout]   --> src/bin/client.rs:9:27
[INFO] [stdout]    |
[INFO] [stdout] 9  |     let t1 = tokio::spawn(async {
[INFO] [stdout]    |                           ^^^^^ may outlive borrowed value `client`
[INFO] [stdout] 10 |         let res = client.get("foo").await;
[INFO] [stdout]    |                   ------ `client` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout]    = note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
[INFO] [stdout] help: to force the async block to take ownership of `client` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 9  |     let t1 = tokio::spawn(async move {
[INFO] [stdout]    |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `client` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/client.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 9  |       let t1 = tokio::spawn(async {
[INFO] [stdout]    |                -            ----- first mutable borrow occurs here
[INFO] [stdout]    |  ______________|
[INFO] [stdout]    | |
[INFO] [stdout] 10 | |         let res = client.get("foo").await;
[INFO] [stdout]    | |                   ------ first borrow occurs due to use of `client` in coroutine
[INFO] [stdout] 11 | |     });
[INFO] [stdout]    | |______- argument requires that `client` is borrowed for `'static`
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |       let t2 = tokio::spawn(async {
[INFO] [stdout]    |                             ^^^^^ second mutable borrow occurs here
[INFO] [stdout] 14 |           client.set("foo", "bar".into()).await;
[INFO] [stdout]    |           ------ second borrow occurs due to use of `client` in coroutine
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mini_rediz` (bin "client") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "51cc30e15d495be2d9eda932f7d198394fd3910a6601d4eceb8876878b2b16ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51cc30e15d495be2d9eda932f7d198394fd3910a6601d4eceb8876878b2b16ed", kill_on_drop: false }`
[INFO] [stdout] 51cc30e15d495be2d9eda932f7d198394fd3910a6601d4eceb8876878b2b16ed
