[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] testing oteca58/lyhat against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foteca58%2Flyhat" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oteca58/lyhat on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 smallvec v1.11.0
[INFO] [stderr]   Downloaded unicode-width v0.1.10
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.1
[INFO] [stderr]   Downloaded crossterm v0.25.0
[INFO] [stderr]   Downloaded tui v0.19.0
[INFO] [stderr]   Downloaded libc v0.2.147
[INFO] [stderr]   Downloaded unicode-segmentation v1.10.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 827002611f830870c0b4d3fb3f7e38ff1164e4a088372cbe302af1395b7f5ce4
[INFO] running `Command { std: "docker" "start" "-a" "827002611f830870c0b4d3fb3f7e38ff1164e4a088372cbe302af1395b7f5ce4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "827002611f830870c0b4d3fb3f7e38ff1164e4a088372cbe302af1395b7f5ce4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "827002611f830870c0b4d3fb3f7e38ff1164e4a088372cbe302af1395b7f5ce4", kill_on_drop: false }`
[INFO] [stdout] 827002611f830870c0b4d3fb3f7e38ff1164e4a088372cbe302af1395b7f5ce4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] efd64c993eebc6683fcef8f9d028fe80bf7f00d5a63aa8e71af5bc478c05a07b
[INFO] running `Command { std: "docker" "start" "-a" "efd64c993eebc6683fcef8f9d028fe80bf7f00d5a63aa8e71af5bc478c05a07b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling tui v0.19.0
[INFO] [stderr]    Compiling 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] help: consider moving the expression out of the loop so it is only moved once
[INFO] [stdout]     |
[INFO] [stdout]  81 ~     let mut value = handle_client(stream, app);
[INFO] [stdout]  82 ~     for stream in listener.incoming() {
[INFO] [stdout]  83 |         match stream {
[INFO] [stdout]  84 |             Ok(stream) => {
[INFO] [stdout]  85 ~                 value;
[INFO] [stdout]     |
[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" "efd64c993eebc6683fcef8f9d028fe80bf7f00d5a63aa8e71af5bc478c05a07b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efd64c993eebc6683fcef8f9d028fe80bf7f00d5a63aa8e71af5bc478c05a07b", kill_on_drop: false }`
[INFO] [stdout] efd64c993eebc6683fcef8f9d028fe80bf7f00d5a63aa8e71af5bc478c05a07b
