[INFO] cloning repository https://github.com/BrandonC98/web_hunter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BrandonC98/web_hunter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrandonC98%2Fweb_hunter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrandonC98%2Fweb_hunter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f60324aeb7446e8af4dbbf4ac367c60ff4f6b30 [INFO] testing BrandonC98/web_hunter against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrandonC98%2Fweb_hunter" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BrandonC98/web_hunter on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BrandonC98/web_hunter [INFO] finished tweaking git repo https://github.com/BrandonC98/web_hunter [INFO] tweaked toml for git repo https://github.com/BrandonC98/web_hunter written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/BrandonC98/web_hunter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml5ever v0.16.2 [INFO] [stderr] Downloaded select v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 051fca5414448c7c801969efad317565275f3dd9af8a3c8f6d741e6977fd72a9 [INFO] running `Command { std: "docker" "start" "-a" "051fca5414448c7c801969efad317565275f3dd9af8a3c8f6d741e6977fd72a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "051fca5414448c7c801969efad317565275f3dd9af8a3c8f6d741e6977fd72a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "051fca5414448c7c801969efad317565275f3dd9af8a3c8f6d741e6977fd72a9", kill_on_drop: false }` [INFO] [stdout] 051fca5414448c7c801969efad317565275f3dd9af8a3c8f6d741e6977fd72a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b72a5be062d120251f526832c2c1b6777356d6d5ff97d4a546399cd9a6ca3ab2 [INFO] running `Command { std: "docker" "start" "-a" "b72a5be062d120251f526832c2c1b6777356d6d5ff97d4a546399cd9a6ca3ab2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling simplelog v0.9.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling xml5ever v0.16.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling clap_derive v3.0.6 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling clap v3.0.7 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling select v0.5.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling web_hunter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `get_base_url` in this scope [INFO] [stdout] --> src/req_client.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let m = get_base_url(&url, &document); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `warn` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{LevelFilter, warn, debug, error, info}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LevelFilter`, `error` [INFO] [stdout] --> src/req_client.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{LevelFilter, warn, debug, error, info}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `TermLogger`, `TerminalMode` [INFO] [stdout] --> src/req_client.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use simplelog::{TermLogger, TerminalMode, Config}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indicatif::ProgressBar` [INFO] [stdout] --> src/req_client.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use indicatif::ProgressBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `form_urlencoded::parse` [INFO] [stdout] --> src/req_client.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use url::{Position, Url, form_urlencoded::parse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Body` [INFO] [stdout] --> src/req_client.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | use reqwest::{Response, StatusCode, Body}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::select` [INFO] [stdout] --> src/req_client.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::select; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LevelFilter`, `debug`, `error` [INFO] [stdout] --> src/scanner.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{LevelFilter, warn, debug, error, info}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `TermLogger`, `TerminalMode` [INFO] [stdout] --> src/scanner.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use simplelog::{TermLogger, TerminalMode, Config}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/req_client.rs:62:64 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn send_req(&mut self, target : &str) { [INFO] [stdout] | _________________________________________________________- [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let response : Response; [INFO] [stdout] 52 | | let url = Url::parse(target); [INFO] [stdout] ... | [INFO] [stdout] 62 | | let document = Document::from(response.text().await?.as_str()); [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 69 | | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `web_hunter` due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b72a5be062d120251f526832c2c1b6777356d6d5ff97d4a546399cd9a6ca3ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72a5be062d120251f526832c2c1b6777356d6d5ff97d4a546399cd9a6ca3ab2", kill_on_drop: false }` [INFO] [stdout] b72a5be062d120251f526832c2c1b6777356d6d5ff97d4a546399cd9a6ca3ab2