[INFO] cloning repository https://github.com/oteca58/lyhat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oteca58/lyhat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foteca58%2Flyhat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foteca58%2Flyhat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d51549889ee634ad71c2ddacb3af24384de34604
[INFO] checking oteca58/lyhat against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foteca58%2Flyhat" "/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/oteca58/lyhat
[INFO] finished tweaking git repo https://github.com/oteca58/lyhat
[INFO] tweaked toml for git repo https://github.com/oteca58/lyhat written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oteca58/lyhat on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/oteca58/lyhat 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 01a3c65239d52704206319b741bd557ec3ca3b12627e1df9428ce17c5c5959e0
[INFO] running `Command { std: "docker" "start" "-a" "01a3c65239d52704206319b741bd557ec3ca3b12627e1df9428ce17c5c5959e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "01a3c65239d52704206319b741bd557ec3ca3b12627e1df9428ce17c5c5959e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01a3c65239d52704206319b741bd557ec3ca3b12627e1df9428ce17c5c5959e0", kill_on_drop: false }`
[INFO] [stdout] 01a3c65239d52704206319b741bd557ec3ca3b12627e1df9428ce17c5c5959e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb4f99b5a639fffdbd2f141309468b8d2c4ed53a45adfd68a93f26802061ad92
[INFO] running `Command { std: "docker" "start" "-a" "cb4f99b5a639fffdbd2f141309468b8d2c4ed53a45adfd68a93f26802061ad92", kill_on_drop: false }`
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking signal-hook v0.3.17
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking tui v0.19.0
[INFO] [stderr]     Checking Lyhat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]   --> src/main.rs:84:39
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 handle_client(stream, app);
[INFO] [stdout]    |                                       ^^^ value moved here, in previous iteration of loop
[INFO] [stdout]    |
[INFO] [stdout]    = note: move occurs because `app` has type `App`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `app`
[INFO] [stdout]    --> src/main.rs:108:35
[INFO] [stdout]     |
[INFO] [stdout]  73 | fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> io::Result<()> {
[INFO] [stdout]     |                                                    ------- move occurs because `app` has type `App`, which does not implement the `Copy` trait
[INFO] [stdout]  74 |     //Start thred for listener
[INFO] [stdout]  75 |     let res_thread = thread::spawn(move || {
[INFO] [stdout]     |                                    ------- value moved into closure here
[INFO] [stdout] ...
[INFO] [stdout]  81 |     for stream in listener.incoming() {
[INFO] [stdout]     |     --------------------------------- inside of this loop
[INFO] [stdout] ...
[INFO] [stdout]  84 |                 handle_client(stream, app);
[INFO] [stdout]     |                                       --- variable moved due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 108 |                 app.messages.push(app.input.drain(..).collect());
[INFO] [stdout]     |                                   ^^^^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in function `handle_client` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/main.rs:182:46
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn handle_client(mut stream: TcpStream, app: App) {
[INFO] [stdout]     |    ------------- in this function            ^^^ this parameter takes ownership of the value
[INFO] [stdout] note: if `App` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/main.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct App {
[INFO] [stdout]     | ^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout]  84 |                 handle_client(stream, app);
[INFO] [stdout]     |                                       --- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `app.messages` as mutable, as `app` is not declared as mutable
[INFO] [stdout]    --> src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |     app.messages.push(String::from(received));
[INFO] [stdout]     |     ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn handle_client(mut stream: TcpStream, mut app: App) {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Lyhat` (bin "Lyhat" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]   --> src/main.rs:84:39
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 handle_client(stream, app);
[INFO] [stdout]    |                                       ^^^ value moved here, in previous iteration of loop
[INFO] [stdout]    |
[INFO] [stdout]    = note: move occurs because `app` has type `App`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `app`
[INFO] [stdout]    --> src/main.rs:108:35
[INFO] [stdout]     |
[INFO] [stdout]  73 | fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> io::Result<()> {
[INFO] [stdout]     |                                                    ------- move occurs because `app` has type `App`, which does not implement the `Copy` trait
[INFO] [stdout]  74 |     //Start thred for listener
[INFO] [stdout]  75 |     let res_thread = thread::spawn(move || {
[INFO] [stdout]     |                                    ------- value moved into closure here
[INFO] [stdout] ...
[INFO] [stdout]  81 |     for stream in listener.incoming() {
[INFO] [stdout]     |     --------------------------------- inside of this loop
[INFO] [stdout] ...
[INFO] [stdout]  84 |                 handle_client(stream, app);
[INFO] [stdout]     |                                       --- variable moved due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 108 |                 app.messages.push(app.input.drain(..).collect());
[INFO] [stdout]     |                                   ^^^^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in function `handle_client` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/main.rs:182:46
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn handle_client(mut stream: TcpStream, app: App) {
[INFO] [stdout]     |    ------------- in this function            ^^^ this parameter takes ownership of the value
[INFO] [stdout] note: if `App` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/main.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct App {
[INFO] [stdout]     | ^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout]  84 |                 handle_client(stream, app);
[INFO] [stdout]     |                                       --- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `app.messages` as mutable, as `app` is not declared as mutable
[INFO] [stdout]    --> src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |     app.messages.push(String::from(received));
[INFO] [stdout]     |     ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn handle_client(mut stream: TcpStream, mut app: App) {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Lyhat` (bin "Lyhat") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "cb4f99b5a639fffdbd2f141309468b8d2c4ed53a45adfd68a93f26802061ad92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb4f99b5a639fffdbd2f141309468b8d2c4ed53a45adfd68a93f26802061ad92", kill_on_drop: false }`
[INFO] [stdout] cb4f99b5a639fffdbd2f141309468b8d2c4ed53a45adfd68a93f26802061ad92
