[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaoertel%2Fdiqwest" "/workspace/builds/worker-82/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-82/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maoertel/diqwest on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-82/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" "+1.60.0" "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-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38fed46ffcb0ad5db97f74f9fea33ec5f4c51b9cbe98d44af1048229de37e493 [INFO] running `Command { std: "docker" "start" "-a" "38fed46ffcb0ad5db97f74f9fea33ec5f4c51b9cbe98d44af1048229de37e493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38fed46ffcb0ad5db97f74f9fea33ec5f4c51b9cbe98d44af1048229de37e493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38fed46ffcb0ad5db97f74f9fea33ec5f4c51b9cbe98d44af1048229de37e493", kill_on_drop: false }` [INFO] [stdout] 38fed46ffcb0ad5db97f74f9fea33ec5f4c51b9cbe98d44af1048229de37e493 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 926efd03a78be491241da62ed9a33ce3eaa652f2764b0a8a87fc85ef45f22770 [INFO] running `Command { std: "docker" "start" "-a" "926efd03a78be491241da62ed9a33ce3eaa652f2764b0a8a87fc85ef45f22770", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling memchr v2.4.1 [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 futures-task v0.3.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling openssl-sys v0.9.67 [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 http-body v0.4.3 [INFO] [stderr] Compiling digest_auth v0.3.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [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 1m 19s [INFO] running `Command { std: "docker" "inspect" "926efd03a78be491241da62ed9a33ce3eaa652f2764b0a8a87fc85ef45f22770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "926efd03a78be491241da62ed9a33ce3eaa652f2764b0a8a87fc85ef45f22770", kill_on_drop: false }` [INFO] [stdout] 926efd03a78be491241da62ed9a33ce3eaa652f2764b0a8a87fc85ef45f22770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de1c492bb32152dc14e05e70b5291dd486d33c0b67ac51193f5101b299bb1f68 [INFO] running `Command { std: "docker" "start" "-a" "de1c492bb32152dc14e05e70b5291dd486d33c0b67ac51193f5101b299bb1f68", 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 16.54s [INFO] running `Command { std: "docker" "inspect" "de1c492bb32152dc14e05e70b5291dd486d33c0b67ac51193f5101b299bb1f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1c492bb32152dc14e05e70b5291dd486d33c0b67ac51193f5101b299bb1f68", kill_on_drop: false }` [INFO] [stdout] de1c492bb32152dc14e05e70b5291dd486d33c0b67ac51193f5101b299bb1f68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f0470e6a3b5820a7b7bff3704762b015d5dac5d8822ee52f4c6da3b24673a341 [INFO] running `Command { std: "docker" "start" "-a" "f0470e6a3b5820a7b7bff3704762b015d5dac5d8822ee52f4c6da3b24673a341", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.32s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/diqwest-0aa17aa2f5708a45) [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.31s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f0470e6a3b5820a7b7bff3704762b015d5dac5d8822ee52f4c6da3b24673a341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0470e6a3b5820a7b7bff3704762b015d5dac5d8822ee52f4c6da3b24673a341", kill_on_drop: false }` [INFO] [stdout] f0470e6a3b5820a7b7bff3704762b015d5dac5d8822ee52f4c6da3b24673a341