[INFO] cloning repository https://github.com/justinsalasdev/ip-sniffer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinsalasdev/ip-sniffer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinsalasdev%2Fip-sniffer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinsalasdev%2Fip-sniffer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 543dd77a6e442461b5ff67673798362883e8b86f
[INFO] checking justinsalasdev/ip-sniffer against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinsalasdev%2Fip-sniffer" "/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/justinsalasdev/ip-sniffer
[INFO] finished tweaking git repo https://github.com/justinsalasdev/ip-sniffer
[INFO] tweaked toml for git repo https://github.com/justinsalasdev/ip-sniffer written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/justinsalasdev/ip-sniffer on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/justinsalasdev/ip-sniffer 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3ebe5cf5258a8672f25ad66f86a732e1f86ce1797cb5612ded272dd71bc4f735
[INFO] running `Command { std: "docker" "start" "3ebe5cf5258a8672f25ad66f86a732e1f86ce1797cb5612ded272dd71bc4f735", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ebe5cf5258a8672f25ad66f86a732e1f86ce1797cb5612ded272dd71bc4f735", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ebe5cf5258a8672f25ad66f86a732e1f86ce1797cb5612ded272dd71bc4f735" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ebe5cf5258a8672f25ad66f86a732e1f86ce1797cb5612ded272dd71bc4f735", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ebe5cf5258a8672f25ad66f86a732e1f86ce1797cb5612ded272dd71bc4f735" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking ip_sniffer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>`
[INFO] [stdout]   --> src/main.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |             Ok(_) => {
[INFO] [stdout]    |                   ^^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{`
[INFO] [stdout]   --> src/main.rs:20:46
[INFO] [stdout]    |
[INFO] [stdout] 20 |         match TcpStream::connect((addr, port){
[INFO] [stdout]    |                                              ^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]    |                                              help: missing `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `;`
[INFO] [stdout]   --> src/main.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |         match TcpStream::connect((addr, port){
[INFO] [stdout]    |         -----
[INFO] [stdout]    |         |
[INFO] [stdout]    |         while parsing this `match` expression
[INFO] [stdout]    |         help: try removing this `match`
[INFO] [stdout] ...
[INFO] [stdout] 27 |         });
[INFO] [stdout]    |           ^ expected one of `.`, `?`, `{`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>`
[INFO] [stdout]   --> src/main.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |             Ok(_) => {
[INFO] [stdout]    |                   ^^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{`
[INFO] [stdout]   --> src/main.rs:20:46
[INFO] [stdout]    |
[INFO] [stdout] 20 |         match TcpStream::connect((addr, port){
[INFO] [stdout]    |                                              ^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]    |                                              help: missing `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `;`
[INFO] [stdout]   --> src/main.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |         match TcpStream::connect((addr, port){
[INFO] [stdout]    |         -----
[INFO] [stdout]    |         |
[INFO] [stdout]    |         while parsing this `match` expression
[INFO] [stdout]    |         help: try removing this `match`
[INFO] [stdout] ...
[INFO] [stdout] 27 |         });
[INFO] [stdout]    |           ^ expected one of `.`, `?`, `{`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `self`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self,Write};
[INFO] [stdout]   |               ^^^^ ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/main.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::net::{IpAddr, TcpStream};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `self`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self,Write};
[INFO] [stdout]   |               ^^^^ ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/main.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::net::{IpAddr, TcpStream};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         thread::spawn(move || scan(tx, i, arguments.ipaddr, num_threads))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected `()`, found `JoinHandle<()>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                   found struct `JoinHandle<()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         thread::spawn(move || scan(tx, i, arguments.ipaddr, num_threads))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected `()`, found `JoinHandle<()>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                   found struct `JoinHandle<()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ip_sniffer` (bin "ip_sniffer" test) due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ip_sniffer` (bin "ip_sniffer") due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3ebe5cf5258a8672f25ad66f86a732e1f86ce1797cb5612ded272dd71bc4f735", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ebe5cf5258a8672f25ad66f86a732e1f86ce1797cb5612ded272dd71bc4f735", kill_on_drop: false }`
[INFO] [stdout] 3ebe5cf5258a8672f25ad66f86a732e1f86ce1797cb5612ded272dd71bc4f735
