[INFO] fetching crate diqwest 0.1.2... [INFO] testing diqwest-0.1.2 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate diqwest 0.1.2 into /workspace/builds/worker-117/source [INFO] validating manifest of crates.io crate diqwest 0.1.2 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate diqwest 0.1.2 [INFO] finished tweaking crates.io crate diqwest 0.1.2 [INFO] tweaked toml for crates.io crate diqwest 0.1.2 written to /workspace/builds/worker-117/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded digest_auth v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ac88221c70c2b651275bd009ff5f3f671616e1dcdcd0d2ecd62d71e6d9eb73d [INFO] running `Command { std: "docker" "start" "-a" "7ac88221c70c2b651275bd009ff5f3f671616e1dcdcd0d2ecd62d71e6d9eb73d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ac88221c70c2b651275bd009ff5f3f671616e1dcdcd0d2ecd62d71e6d9eb73d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ac88221c70c2b651275bd009ff5f3f671616e1dcdcd0d2ecd62d71e6d9eb73d", kill_on_drop: false }` [INFO] [stdout] 7ac88221c70c2b651275bd009ff5f3f671616e1dcdcd0d2ecd62d71e6d9eb73d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 086fa8ff427dc23cca9e59eb4fbf9d338ab3594e5606e5e1abdfb9dad231020d [INFO] running `Command { std: "docker" "start" "-a" "086fa8ff427dc23cca9e59eb4fbf9d338ab3594e5606e5e1abdfb9dad231020d", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling digest_auth v0.3.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling diqwest v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.85s [INFO] running `Command { std: "docker" "inspect" "086fa8ff427dc23cca9e59eb4fbf9d338ab3594e5606e5e1abdfb9dad231020d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "086fa8ff427dc23cca9e59eb4fbf9d338ab3594e5606e5e1abdfb9dad231020d", kill_on_drop: false }` [INFO] [stdout] 086fa8ff427dc23cca9e59eb4fbf9d338ab3594e5606e5e1abdfb9dad231020d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e94d658761c04fe30b03c9a209f63408a23b0244f18565bd0bba867122b2efc3 [INFO] running `Command { std: "docker" "start" "-a" "e94d658761c04fe30b03c9a209f63408a23b0244f18565bd0bba867122b2efc3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling diqwest v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.25s [INFO] running `Command { std: "docker" "inspect" "e94d658761c04fe30b03c9a209f63408a23b0244f18565bd0bba867122b2efc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e94d658761c04fe30b03c9a209f63408a23b0244f18565bd0bba867122b2efc3", kill_on_drop: false }` [INFO] [stdout] e94d658761c04fe30b03c9a209f63408a23b0244f18565bd0bba867122b2efc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0836319b1c3adf0681b30ab22e40a9b2d1d993e685f413c025afcbdd2e7a6772 [INFO] running `Command { std: "docker" "start" "-a" "0836319b1c3adf0681b30ab22e40a9b2d1d993e685f413c025afcbdd2e7a6772", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/diqwest-3224e3e565560e02) [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 diqwest [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 17) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | let response: Response = Client::new() [INFO] [stdout] | __________________________^ [INFO] [stdout] 9 | | .get("url") [INFO] [stdout] 10 | | .send_with_digest_auth("username", "password") [INFO] [stdout] 11 | | .await?; [INFO] [stdout] | |________^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use diqwest::core::WithDigestAuth; [INFO] [stdout] 5 | | use reqwest::{Client, Response}; [INFO] [stdout] 6 | | [INFO] [stdout] ... | [INFO] [stdout] 11 | | .await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 12 | | } _doctest_main_src_lib_rs_17_0() } [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] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0836319b1c3adf0681b30ab22e40a9b2d1d993e685f413c025afcbdd2e7a6772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0836319b1c3adf0681b30ab22e40a9b2d1d993e685f413c025afcbdd2e7a6772", kill_on_drop: false }` [INFO] [stdout] 0836319b1c3adf0681b30ab22e40a9b2d1d993e685f413c025afcbdd2e7a6772