[INFO] cloning repository https://github.com/marioabz/tcp_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marioabz/tcp_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarioabz%2Ftcp_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarioabz%2Ftcp_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce703e1945b6f467e2eb0c7f69236a42421199b0 [INFO] checking marioabz/tcp_server against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarioabz%2Ftcp_server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marioabz/tcp_server [INFO] finished tweaking git repo https://github.com/marioabz/tcp_server [INFO] tweaked toml for git repo https://github.com/marioabz/tcp_server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marioabz/tcp_server on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marioabz/tcp_server 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" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking marioabz/tcp_server against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarioabz%2Ftcp_server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marioabz/tcp_server [INFO] finished tweaking git repo https://github.com/marioabz/tcp_server [INFO] tweaked toml for git repo https://github.com/marioabz/tcp_server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marioabz/tcp_server on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marioabz/tcp_server 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" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4ce447972f3ce399d85a01176f03515105d8c76f45aa0cf383214ed2efe3940 [INFO] running `Command { std: "docker" "start" "-a" "d4ce447972f3ce399d85a01176f03515105d8c76f45aa0cf383214ed2efe3940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4ce447972f3ce399d85a01176f03515105d8c76f45aa0cf383214ed2efe3940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ce447972f3ce399d85a01176f03515105d8c76f45aa0cf383214ed2efe3940", kill_on_drop: false }` [INFO] [stdout] d4ce447972f3ce399d85a01176f03515105d8c76f45aa0cf383214ed2efe3940 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5736b8fda2b1b2a3222b003037c1081c26e213f64c623fc19d843306139ed0bb [INFO] running `Command { std: "docker" "start" "-a" "5736b8fda2b1b2a3222b003037c1081c26e213f64c623fc19d843306139ed0bb", kill_on_drop: false }` [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking tcp_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/listener.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ thread, env}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/listener.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ thread, env}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/listener.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 17 | / loop { [INFO] [stdout] 18 | | match stream_result { [INFO] [stdout] 19 | | Ok(ref mut stream) => println!("{:?}", { [INFO] [stdout] 20 | | &stream.read(&mut read_bytes); [INFO] [stdout] ... | [INFO] [stdout] 26 | | println!("{}", "pending..."); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 28 | println!("{}", "-------------------------------"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/listener.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 17 | / loop { [INFO] [stdout] 18 | | match stream_result { [INFO] [stdout] 19 | | Ok(ref mut stream) => println!("{:?}", { [INFO] [stdout] 20 | | &stream.read(&mut read_bytes); [INFO] [stdout] ... | [INFO] [stdout] 26 | | println!("{}", "pending..."); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 28 | println!("{}", "-------------------------------"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newest_read_bytes` [INFO] [stdout] --> src/listener.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut newest_read_bytes = [1u8; 100]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newest_read_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newest_read_bytes` [INFO] [stdout] --> src/listener.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut newest_read_bytes = [1u8; 100]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newest_read_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/listener.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut stream: TcpStream; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/listener.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut stream: TcpStream; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut newest_read_bytes = [1u8; 100]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcp_mode` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut tcp_mode: String; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut newest_read_bytes = [1u8; 100]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/listener.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | &stream.read(&mut read_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = &stream.read(&mut read_bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcp_mode` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut tcp_mode: String; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/listener.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | &stream.read(&mut read_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = &stream.read(&mut read_bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "5736b8fda2b1b2a3222b003037c1081c26e213f64c623fc19d843306139ed0bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5736b8fda2b1b2a3222b003037c1081c26e213f64c623fc19d843306139ed0bb", kill_on_drop: false }` [INFO] [stdout] 5736b8fda2b1b2a3222b003037c1081c26e213f64c623fc19d843306139ed0bb