[INFO] fetching crate quarenta 0.1.0... [INFO] testing quarenta-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate quarenta 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate quarenta 0.1.0 [INFO] finished tweaking crates.io crate quarenta 0.1.0 [INFO] tweaked toml for crates.io crate quarenta 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate quarenta 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 144 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.23) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] aad55c5ec1f8e29716f162294e761caa6b047e8fce3a813fa675862bd197b0aa [INFO] running `Command { std: "docker" "start" "-a" "aad55c5ec1f8e29716f162294e761caa6b047e8fce3a813fa675862bd197b0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aad55c5ec1f8e29716f162294e761caa6b047e8fce3a813fa675862bd197b0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad55c5ec1f8e29716f162294e761caa6b047e8fce3a813fa675862bd197b0aa", kill_on_drop: false }` [INFO] [stdout] aad55c5ec1f8e29716f162294e761caa6b047e8fce3a813fa675862bd197b0aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f0869e1b8c83a75543e54f0c7a617d970eec5360e87bddff2d02cc3e35d7750b [INFO] running `Command { std: "docker" "start" "-a" "f0869e1b8c83a75543e54f0c7a617d970eec5360e87bddff2d02cc3e35d7750b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling quarenta v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.21s [INFO] running `Command { std: "docker" "inspect" "f0869e1b8c83a75543e54f0c7a617d970eec5360e87bddff2d02cc3e35d7750b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0869e1b8c83a75543e54f0c7a617d970eec5360e87bddff2d02cc3e35d7750b", kill_on_drop: false }` [INFO] [stdout] f0869e1b8c83a75543e54f0c7a617d970eec5360e87bddff2d02cc3e35d7750b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8862b29e4bee6f0bc45f0b15692da5bfcec3630c3943ff16ac5f86402e1627c [INFO] running `Command { std: "docker" "start" "-a" "e8862b29e4bee6f0bc45f0b15692da5bfcec3630c3943ff16ac5f86402e1627c", kill_on_drop: false }` [INFO] [stderr] Compiling quarenta v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "e8862b29e4bee6f0bc45f0b15692da5bfcec3630c3943ff16ac5f86402e1627c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8862b29e4bee6f0bc45f0b15692da5bfcec3630c3943ff16ac5f86402e1627c", kill_on_drop: false }` [INFO] [stdout] e8862b29e4bee6f0bc45f0b15692da5bfcec3630c3943ff16ac5f86402e1627c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ebf90ad6673c4e4b27166c04b10993b9dfe4b162e04dcfecc953ff8dbddf9ee [INFO] running `Command { std: "docker" "start" "-a" "3ebf90ad6673c4e4b27166c04b10993b9dfe4b162e04dcfecc953ff8dbddf9ee", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quarenta-c2e56d7eacc4a3dc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests quarenta [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - login (line 35) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - login (line 35) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 4 | let login_result: Result> = login(&reqwest_client, &username, &password, &referrer).await; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_35_0() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 4 | let login_result: Result> = login(&reqwest_client, &username, &password, &referrer).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `login` in this scope [INFO] [stdout] --> src/lib.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 4 | let login_result: Result> = login(&reqwest_client, &username, &password, &referrer).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use quarenta::login; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/lib.rs:37:70 [INFO] [stdout] | [INFO] [stdout] 4 | let login_result: Result> = login(&reqwest_client, &username, &password, &referrer).await; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/lib.rs:37:81 [INFO] [stdout] | [INFO] [stdout] 4 | let login_result: Result> = login(&reqwest_client, &username, &password, &referrer).await; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `referrer` in this scope [INFO] [stdout] --> src/lib.rs:37:92 [INFO] [stdout] | [INFO] [stdout] 4 | let login_result: Result> = login(&reqwest_client, &username, &password, &referrer).await; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:37:102 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_35_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 3 | let reqwest_client = reqwest::Client::new(); [INFO] [stdout] 4 | let login_result: Result> = login(&reqwest_client, &username, &password, &referrer).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - login (line 35) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3ebf90ad6673c4e4b27166c04b10993b9dfe4b162e04dcfecc953ff8dbddf9ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ebf90ad6673c4e4b27166c04b10993b9dfe4b162e04dcfecc953ff8dbddf9ee", kill_on_drop: false }` [INFO] [stdout] 3ebf90ad6673c4e4b27166c04b10993b9dfe4b162e04dcfecc953ff8dbddf9ee