[INFO] cloning repository https://github.com/El-Chapo0133/nmap_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/El-Chapo0133/nmap_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEl-Chapo0133%2Fnmap_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEl-Chapo0133%2Fnmap_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55e4183c9de446d7fe8e26ff7a7fbcd7b317fa5e [INFO] testing El-Chapo0133/nmap_rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEl-Chapo0133%2Fnmap_rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/El-Chapo0133/nmap_rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/El-Chapo0133/nmap_rs [INFO] finished tweaking git repo https://github.com/El-Chapo0133/nmap_rs [INFO] tweaked toml for git repo https://github.com/El-Chapo0133/nmap_rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/El-Chapo0133/nmap_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91e1bed364e9dcd5b93e8c73128c2980f7471e25bca3784587bdd7333a770d66 [INFO] running `Command { std: "docker" "start" "-a" "91e1bed364e9dcd5b93e8c73128c2980f7471e25bca3784587bdd7333a770d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91e1bed364e9dcd5b93e8c73128c2980f7471e25bca3784587bdd7333a770d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e1bed364e9dcd5b93e8c73128c2980f7471e25bca3784587bdd7333a770d66", kill_on_drop: false }` [INFO] [stdout] 91e1bed364e9dcd5b93e8c73128c2980f7471e25bca3784587bdd7333a770d66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8663741b4dbd8258a0c380cb46ef2956916b3aa300d6b3e7989fb9fdbbb80ac [INFO] running `Command { std: "docker" "start" "-a" "a8663741b4dbd8258a0c380cb46ef2956916b3aa300d6b3e7989fb9fdbbb80ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling dns-lookup v1.0.4 [INFO] [stderr] Compiling nmap_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/mod.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn sort_by_ips(input: DataThread) -> DataThread { [INFO] [stdout] | ----------- ^^^^^^^^^^ expected struct `utils::DataThread`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | data_received = utils::sort_by_ips(data_received); [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `utils::DataThread`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `utils::DataThread` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 23 | let mut data_received: Vec = Vec::new(); [INFO] [stdout] | ------------------------ expected due to this type [INFO] [stdout] ... [INFO] [stdout] 36 | data_received = utils::sort_by_ips(data_received); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Vec`, found struct `utils::DataThread` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `utils::DataThread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nmap_rs` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a8663741b4dbd8258a0c380cb46ef2956916b3aa300d6b3e7989fb9fdbbb80ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8663741b4dbd8258a0c380cb46ef2956916b3aa300d6b3e7989fb9fdbbb80ac", kill_on_drop: false }` [INFO] [stdout] a8663741b4dbd8258a0c380cb46ef2956916b3aa300d6b3e7989fb9fdbbb80ac