[INFO] cloning repository https://github.com/maoertel/diqwest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maoertel/diqwest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaoertel%2Fdiqwest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaoertel%2Fdiqwest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c02a53f645ba4eec0f9e7b31b19fdc3ea5837c90 [INFO] testing maoertel/diqwest against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaoertel%2Fdiqwest" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maoertel/diqwest on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maoertel/diqwest [INFO] finished tweaking git repo https://github.com/maoertel/diqwest [INFO] tweaked toml for git repo https://github.com/maoertel/diqwest written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/maoertel/diqwest already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded digest_auth v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 639fb621f0aed04120de0f2738f1d03dcc5a1434cfd65f771b7e23dea3f0b6e8 [INFO] running `Command { std: "docker" "start" "-a" "639fb621f0aed04120de0f2738f1d03dcc5a1434cfd65f771b7e23dea3f0b6e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "639fb621f0aed04120de0f2738f1d03dcc5a1434cfd65f771b7e23dea3f0b6e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639fb621f0aed04120de0f2738f1d03dcc5a1434cfd65f771b7e23dea3f0b6e8", kill_on_drop: false }` [INFO] [stdout] 639fb621f0aed04120de0f2738f1d03dcc5a1434cfd65f771b7e23dea3f0b6e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7e1231bcc09a0c3f1d1696f11432d2732d14d76ff7439eb32c765a1b16d2e9a [INFO] running `Command { std: "docker" "start" "-a" "f7e1231bcc09a0c3f1d1696f11432d2732d14d76ff7439eb32c765a1b16d2e9a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.8.4 [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 serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.5 [INFO] [stderr] Compiling diqwest v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.58s [INFO] running `Command { std: "docker" "inspect" "f7e1231bcc09a0c3f1d1696f11432d2732d14d76ff7439eb32c765a1b16d2e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e1231bcc09a0c3f1d1696f11432d2732d14d76ff7439eb32c765a1b16d2e9a", kill_on_drop: false }` [INFO] [stdout] f7e1231bcc09a0c3f1d1696f11432d2732d14d76ff7439eb32c765a1b16d2e9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b47a90d9dcc3dd98dadfc2ff86c192c8b89acdb3e2c73b388cbbd657c5393a0 [INFO] running `Command { std: "docker" "start" "-a" "2b47a90d9dcc3dd98dadfc2ff86c192c8b89acdb3e2c73b388cbbd657c5393a0", kill_on_drop: false }` [INFO] [stderr] Compiling diqwest v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "2b47a90d9dcc3dd98dadfc2ff86c192c8b89acdb3e2c73b388cbbd657c5393a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b47a90d9dcc3dd98dadfc2ff86c192c8b89acdb3e2c73b388cbbd657c5393a0", kill_on_drop: false }` [INFO] [stdout] 2b47a90d9dcc3dd98dadfc2ff86c192c8b89acdb3e2c73b388cbbd657c5393a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] adad61713d81add752a6b3803359505e3d99a4dd5fb2c25c43b3420164b98212 [INFO] running `Command { std: "docker" "start" "-a" "adad61713d81add752a6b3803359505e3d99a4dd5fb2c25c43b3420164b98212", 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 9.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/diqwest-cdfd0005cb1941ad) [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:24:49 [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] 10 | .send_with_digest_auth("username", "password") [INFO] [stdout] | _________________________________________________^ [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] [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.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "adad61713d81add752a6b3803359505e3d99a4dd5fb2c25c43b3420164b98212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adad61713d81add752a6b3803359505e3d99a4dd5fb2c25c43b3420164b98212", kill_on_drop: false }` [INFO] [stdout] adad61713d81add752a6b3803359505e3d99a4dd5fb2c25c43b3420164b98212