[INFO] cloning repository https://github.com/ricky08sirus/Port_Scanner
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ricky08sirus/Port_Scanner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricky08sirus%2FPort_Scanner", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricky08sirus%2FPort_Scanner'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 19479e8510dc13731485b8bb713f76db5831de0d
[INFO] testing ricky08sirus/Port_Scanner against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricky08sirus%2FPort_Scanner" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ricky08sirus/Port_Scanner
[INFO] finished tweaking git repo https://github.com/ricky08sirus/Port_Scanner
[INFO] tweaked toml for git repo https://github.com/ricky08sirus/Port_Scanner written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ricky08sirus/Port_Scanner on toolchain 1.98.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ricky08sirus/Port_Scanner 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" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 650cfb4285965cf7b34b473ffeb29d96f4a14d2960023004f84cb74bccbdca4a
[INFO] running `Command { std: "docker" "start" "650cfb4285965cf7b34b473ffeb29d96f4a14d2960023004f84cb74bccbdca4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "650cfb4285965cf7b34b473ffeb29d96f4a14d2960023004f84cb74bccbdca4a", 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" "650cfb4285965cf7b34b473ffeb29d96f4a14d2960023004f84cb74bccbdca4a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "650cfb4285965cf7b34b473ffeb29d96f4a14d2960023004f84cb74bccbdca4a", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "650cfb4285965cf7b34b473ffeb29d96f4a14d2960023004f84cb74bccbdca4a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling port_sniffer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected type, found `>`
[INFO] [stdout]   --> src/main.rs:18:57
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl  Arguments  {
[INFO] [stdout]    |                  - while parsing this item list starting here
[INFO] [stdout] 18 |     fn new(args: &[String]) -> Result<Arguments,&'static> {
[INFO] [stdout]    |                                                         ^ expected type
[INFO] [stdout] ...
[INFO] [stdout] 32 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::write`
[INFO] [stdout]  --> src/main.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self,write};
[INFO] [stdout]   |                    ^^^^^ no `write` in `io`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
[INFO] [stdout] help: a macro with this name exists at the root of the crate
[INFO] [stdout]   |
[INFO] [stdout] 2 - use std::io::{self,write};
[INFO] [stdout] 2 + use std::{write, io::{self}};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX` in this scope
[INFO] [stdout]   --> src/main.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout]  9 | const Max: u16 = 65535;
[INFO] [stdout]    | ----------------------- similarly named constant `Max` defined here
[INFO] [stdout] ...
[INFO] [stdout] 44 |         if (MAX - port) <= num_threads{
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 44 -         if (MAX - port) <= num_threads{
[INFO] [stdout] 44 +         if (Max - port) <= num_threads{
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these constants
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::char::MAX;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::f32::MAX;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::f64::MAX;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::i128::MAX;
[INFO] [stdout]    |
[INFO] [stdout]    = and 11 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Args`
[INFO] [stdout]  --> src/main.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::{self, Args};
[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: `std::str::FromStr`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for struct `Stdout` in the current scope
[INFO] [stdout]   --> src/main.rs:39:30
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 io::stdout().flush().unwrap();
[INFO] [stdout]    |                              ^^^^^ method not found in `Stdout`
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/04eb0d7194012623e82369b466d5084522957446/library/std/src/io/mod.rs:1577:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Stdout` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `flush` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Arguments` in the current scope
[INFO] [stdout]   --> src/main.rs:56:32
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Arguments{
[INFO] [stdout]    | ---------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 56 |     let arguments = Arguments::new(&args).unwrap_or_else(|err|{
[INFO] [stdout]    |                                ^^^ associated function or constant not found in `Arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `port_sniffer` (bin "port_sniffer") due to 5 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "650cfb4285965cf7b34b473ffeb29d96f4a14d2960023004f84cb74bccbdca4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "650cfb4285965cf7b34b473ffeb29d96f4a14d2960023004f84cb74bccbdca4a", kill_on_drop: false }`
[INFO] [stdout] 650cfb4285965cf7b34b473ffeb29d96f4a14d2960023004f84cb74bccbdca4a
