[INFO] fetching crate quarenta 0.1.0... [INFO] testing quarenta-0.1.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate quarenta 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate quarenta 0.1.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05694001c9f6927991e37c881e7fa2f8e70b580454b64f0162da5d57f3867d2b [INFO] running `Command { std: "docker" "start" "-a" "05694001c9f6927991e37c881e7fa2f8e70b580454b64f0162da5d57f3867d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05694001c9f6927991e37c881e7fa2f8e70b580454b64f0162da5d57f3867d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05694001c9f6927991e37c881e7fa2f8e70b580454b64f0162da5d57f3867d2b", kill_on_drop: false }` [INFO] [stdout] 05694001c9f6927991e37c881e7fa2f8e70b580454b64f0162da5d57f3867d2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47ea8244a76ebc4f1b6c8065130ba7853f39688a9a6a46b7336b8d126e97ba18 [INFO] running `Command { std: "docker" "start" "-a" "47ea8244a76ebc4f1b6c8065130ba7853f39688a9a6a46b7336b8d126e97ba18", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.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 [unoptimized + debuginfo] target(s) in 37.92s [INFO] running `Command { std: "docker" "inspect" "47ea8244a76ebc4f1b6c8065130ba7853f39688a9a6a46b7336b8d126e97ba18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47ea8244a76ebc4f1b6c8065130ba7853f39688a9a6a46b7336b8d126e97ba18", kill_on_drop: false }` [INFO] [stdout] 47ea8244a76ebc4f1b6c8065130ba7853f39688a9a6a46b7336b8d126e97ba18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61f9152be87fb41461d230635463b7102b47c7d61ed7578bd36f3b3028ff7979 [INFO] running `Command { std: "docker" "start" "-a" "61f9152be87fb41461d230635463b7102b47c7d61ed7578bd36f3b3028ff7979", kill_on_drop: false }` [INFO] [stderr] Compiling quarenta v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "61f9152be87fb41461d230635463b7102b47c7d61ed7578bd36f3b3028ff7979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f9152be87fb41461d230635463b7102b47c7d61ed7578bd36f3b3028ff7979", kill_on_drop: false }` [INFO] [stdout] 61f9152be87fb41461d230635463b7102b47c7d61ed7578bd36f3b3028ff7979 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cfc8e16e8119cb41d8921d7f6869b02215ab2d8ddde80736b48b1a2c671fbc66 [INFO] running `Command { std: "docker" "start" "-a" "cfc8e16e8119cb41d8921d7f6869b02215ab2d8ddde80736b48b1a2c671fbc66", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.82s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/quarenta-b76383a16cceba8a) [INFO] [stdout] [INFO] [stderr] Doc-tests quarenta [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] [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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_35_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] | ^ not found in this scope [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:46 [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.21s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "cfc8e16e8119cb41d8921d7f6869b02215ab2d8ddde80736b48b1a2c671fbc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc8e16e8119cb41d8921d7f6869b02215ab2d8ddde80736b48b1a2c671fbc66", kill_on_drop: false }` [INFO] [stdout] cfc8e16e8119cb41d8921d7f6869b02215ab2d8ddde80736b48b1a2c671fbc66