[INFO] cloning repository https://github.com/jee4nc/rust_web_scraping [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jee4nc/rust_web_scraping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjee4nc%2Frust_web_scraping", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjee4nc%2Frust_web_scraping'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a0bafec9c274e52fc65b6bb9b1faf00f1c8be2b [INFO] testing jee4nc/rust_web_scraping against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjee4nc%2Frust_web_scraping" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jee4nc/rust_web_scraping [INFO] finished tweaking git repo https://github.com/jee4nc/rust_web_scraping [INFO] tweaked toml for git repo https://github.com/jee4nc/rust_web_scraping written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jee4nc/rust_web_scraping on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jee4nc/rust_web_scraping 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded semver v1.0.12 [INFO] [stderr] Downloaded smallvec v1.9.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.81 [INFO] [stderr] Downloaded scraper v0.13.0 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded redox_syscall v0.2.15 [INFO] [stderr] Downloaded wasm-bindgen v0.2.81 [INFO] [stderr] Downloaded tokio-util v0.7.3 [INFO] [stderr] Downloaded openssl v0.10.41 [INFO] [stderr] Downloaded httparse v1.7.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.31 [INFO] [stderr] Downloaded js-sys v0.3.58 [INFO] [stderr] Downloaded reqwest v0.11.11 [INFO] [stderr] Downloaded cssparser-macros v0.6.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.21 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.81 [INFO] [stderr] Downloaded ego-tree v0.6.2 [INFO] [stderr] Downloaded tokio v1.20.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded dtoa-short v0.3.3 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded h2 v0.3.13 [INFO] [stderr] Downloaded tracing v0.1.35 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded openssl-sys v0.9.75 [INFO] [stderr] Downloaded bytes v1.2.0 [INFO] [stderr] Downloaded web-sys v0.3.58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37309ff495e54da94a5963d63199d48e718523c40172799921115ed97a2de50b [INFO] running `Command { std: "docker" "start" "-a" "37309ff495e54da94a5963d63199d48e718523c40172799921115ed97a2de50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37309ff495e54da94a5963d63199d48e718523c40172799921115ed97a2de50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37309ff495e54da94a5963d63199d48e718523c40172799921115ed97a2de50b", kill_on_drop: false }` [INFO] [stdout] 37309ff495e54da94a5963d63199d48e718523c40172799921115ed97a2de50b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42c6e8eace54f08533ca6c3dc6b5e60d2af28f0f3239d3a600de90da9aab3418 [INFO] running `Command { std: "docker" "start" "-a" "42c6e8eace54f08533ca6c3dc6b5e60d2af28f0f3239d3a600de90da9aab3418", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling scraper v0.13.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling web_scraper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/scraper.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn srapy_url(url: &str) -> Result { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 10 | | let body = reqwest::get(url).await?.text().await?; [INFO] [stdout] 11 | | println!("body = {:?}", body); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ expected `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/main.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | services::scraper::srapy_url(url).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 8 | services::scraper::srapy_url(url).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `web_scraper` (bin "web_scraper") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "42c6e8eace54f08533ca6c3dc6b5e60d2af28f0f3239d3a600de90da9aab3418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42c6e8eace54f08533ca6c3dc6b5e60d2af28f0f3239d3a600de90da9aab3418", kill_on_drop: false }` [INFO] [stdout] 42c6e8eace54f08533ca6c3dc6b5e60d2af28f0f3239d3a600de90da9aab3418