[INFO] cloning repository https://github.com/austinkeeley/port-scan
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/austinkeeley/port-scan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinkeeley%2Fport-scan", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinkeeley%2Fport-scan'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] acced7adbc1843051d176b5f40e91a242b56291e
[INFO] checking austinkeeley/port-scan against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinkeeley%2Fport-scan" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/austinkeeley/port-scan
[INFO] finished tweaking git repo https://github.com/austinkeeley/port-scan
[INFO] tweaked toml for git repo https://github.com/austinkeeley/port-scan written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/austinkeeley/port-scan on toolchain dc375db7d8df0aa450e622c529147c95eee756f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/austinkeeley/port-scan 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" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hermit-abi v0.1.16
[INFO] [stderr]   Downloaded threadpool v1.8.1
[INFO] [stderr]   Downloaded crossbeam v0.6.0
[INFO] [stderr]   Downloaded parking_lot v0.7.1
[INFO] [stderr]   Downloaded strsim v0.10.0
[INFO] [stderr]   Downloaded os_str_bytes v2.3.2
[INFO] [stderr]   Downloaded owning_ref v0.4.1
[INFO] [stderr]   Downloaded crossbeam-deque v0.6.3
[INFO] [stderr]   Downloaded parking_lot_core v0.4.0
[INFO] [stderr]   Downloaded version_check v0.9.2
[INFO] [stderr]   Downloaded unicode-width v0.1.8
[INFO] [stderr]   Downloaded indexmap v1.6.0
[INFO] [stderr]   Downloaded clap_derive v3.0.0-beta.2
[INFO] [stderr]   Downloaded textwrap v0.12.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.23
[INFO] [stderr]   Downloaded hashbrown v0.9.0
[INFO] [stderr]   Downloaded clap v3.0.0-beta.2
[INFO] [stderr]   Downloaded syn v1.0.42
[INFO] [stderr]   Downloaded libc v0.2.77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d7d88b96eff36733ca41b286639e4eeedc495797bd859981fe4fbb34cfead10f
[INFO] running `Command { std: "docker" "start" "d7d88b96eff36733ca41b286639e4eeedc495797bd859981fe4fbb34cfead10f", 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" "d7d88b96eff36733ca41b286639e4eeedc495797bd859981fe4fbb34cfead10f" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7d88b96eff36733ca41b286639e4eeedc495797bd859981fe4fbb34cfead10f", 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" "d7d88b96eff36733ca41b286639e4eeedc495797bd859981fe4fbb34cfead10f" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.23
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling syn v1.0.42
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking crossbeam-epoch v0.7.2
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking hashbrown v0.9.0
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking crossbeam-deque v0.6.3
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking os_str_bytes v2.3.2
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking crossbeam v0.6.0
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]     Checking clap v3.0.0-beta.2
[INFO] [stderr]     Checking port-scan v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `non_open_ports` is never read
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct ScanResult {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     non_open_ports: Vec<u16>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `non_open_ports` is never read
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct ScanResult {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     non_open_ports: Vec<u16>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 | /             match tcp_scan(&host_ip, port_num) {
[INFO] [stdout] 58 | |                 Ok(_) => open_tx.send(port_num),
[INFO] [stdout] 59 | |                 Err(_) => non_open_tx.send(port_num),
[INFO] [stdout] 60 | |             };
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let _ = match tcp_scan(&host_ip, port_num) {
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 | /             match tcp_scan(&host_ip, port_num) {
[INFO] [stdout] 58 | |                 Ok(_) => open_tx.send(port_num),
[INFO] [stdout] 59 | |                 Err(_) => non_open_tx.send(port_num),
[INFO] [stdout] 60 | |             };
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let _ = match tcp_scan(&host_ip, port_num) {
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.95s
[INFO] running `Command { std: "docker" "inspect" "d7d88b96eff36733ca41b286639e4eeedc495797bd859981fe4fbb34cfead10f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7d88b96eff36733ca41b286639e4eeedc495797bd859981fe4fbb34cfead10f", kill_on_drop: false }`
[INFO] [stdout] d7d88b96eff36733ca41b286639e4eeedc495797bd859981fe4fbb34cfead10f
