[INFO] fetching crate discord-webhook 0.1.0...
[INFO] testing discord-webhook-0.1.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate discord-webhook 0.1.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate discord-webhook 0.1.0
[INFO] finished tweaking crates.io crate discord-webhook 0.1.0
[INFO] tweaked toml for crates.io crate discord-webhook 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate discord-webhook 0.1.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate discord-webhook 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 51b149e537241fddf4fe001377fad21c416a5600cb125cca344e30ba76e895ff
[INFO] running `Command { std: "docker" "start" "-a" "51b149e537241fddf4fe001377fad21c416a5600cb125cca344e30ba76e895ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51b149e537241fddf4fe001377fad21c416a5600cb125cca344e30ba76e895ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51b149e537241fddf4fe001377fad21c416a5600cb125cca344e30ba76e895ff", kill_on_drop: false }`
[INFO] [stdout] 51b149e537241fddf4fe001377fad21c416a5600cb125cca344e30ba76e895ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e719b64b5c63247fe987c1d50d09ff3579a2ff0055153ecf87298bfa9652b10d
[INFO] running `Command { std: "docker" "start" "-a" "e719b64b5c63247fe987c1d50d09ff3579a2ff0055153ecf87298bfa9652b10d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling tracing-core v0.1.22
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling rustls v0.20.4
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling tracing v0.1.31
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling ipnet v2.4.0
[INFO] [stderr]    Compiling rustls-pemfile v0.2.1
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling mio v0.8.0
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling webpki-roots v0.22.2
[INFO] [stderr]    Compiling h2 v0.3.11
[INFO] [stderr]    Compiling tokio-rustls v0.23.2
[INFO] [stderr]    Compiling hyper v0.14.17
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-rustls v0.23.0
[INFO] [stderr]    Compiling reqwest v0.11.9
[INFO] [stderr]    Compiling discord-webhook v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.73s
[INFO] running `Command { std: "docker" "inspect" "e719b64b5c63247fe987c1d50d09ff3579a2ff0055153ecf87298bfa9652b10d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e719b64b5c63247fe987c1d50d09ff3579a2ff0055153ecf87298bfa9652b10d", kill_on_drop: false }`
[INFO] [stdout] e719b64b5c63247fe987c1d50d09ff3579a2ff0055153ecf87298bfa9652b10d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3f3a2b2b8c9aeb1f477b4e28cfa9195c7a987ea7acc1d13e4e71c49a0846a0a
[INFO] running `Command { std: "docker" "start" "-a" "b3f3a2b2b8c9aeb1f477b4e28cfa9195c7a987ea7acc1d13e4e71c49a0846a0a", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.1
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling lock_api v0.4.6
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling rustls v0.20.4
[INFO] [stderr]    Compiling webpki-roots v0.22.2
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-rustls v0.23.2
[INFO] [stderr]    Compiling h2 v0.3.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling hyper v0.14.17
[INFO] [stderr]    Compiling hyper-rustls v0.23.0
[INFO] [stderr]    Compiling reqwest v0.11.9
[INFO] [stderr]    Compiling discord-webhook v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 27.93s
[INFO] running `Command { std: "docker" "inspect" "b3f3a2b2b8c9aeb1f477b4e28cfa9195c7a987ea7acc1d13e4e71c49a0846a0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3f3a2b2b8c9aeb1f477b4e28cfa9195c7a987ea7acc1d13e4e71c49a0846a0a", kill_on_drop: false }`
[INFO] [stdout] b3f3a2b2b8c9aeb1f477b4e28cfa9195c7a987ea7acc1d13e4e71c49a0846a0a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d561573643946965cbba253ef2c7cd6f7495f83bd2274098b0cde5ff7b71ed4e
[INFO] running `Command { std: "docker" "start" "-a" "d561573643946965cbba253ef2c7cd6f7495f83bd2274098b0cde5ff7b71ed4e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/discord_webhook-e47ed4177fb99308)
[INFO] [stderr]    Doc-tests discord_webhook
[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] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/client.rs - client::WebhookClient::send (line 23) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/client.rs - client::WebhookClient::send (line 23) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebhookClient`
[INFO] [stdout]   --> src/client.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | let client = WebhookClient::new("URL");
[INFO] [stdout]    |              ^^^^^^^^^^^^^ use of undeclared type `WebhookClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 23 + use discord_webhook::client::WebhookClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_23_0() {
[INFO] [stdout]    |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 27 |     .username("username")).await?;
[INFO] [stdout]    |                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/client.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | client.send(|message| message
[INFO] [stdout]    |              ^^^^^^^  ------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 25 | client.send(|message: /* Type */| message
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client.rs - client::WebhookClient::send (line 23)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "d561573643946965cbba253ef2c7cd6f7495f83bd2274098b0cde5ff7b71ed4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d561573643946965cbba253ef2c7cd6f7495f83bd2274098b0cde5ff7b71ed4e", kill_on_drop: false }`
[INFO] [stdout] d561573643946965cbba253ef2c7cd6f7495f83bd2274098b0cde5ff7b71ed4e
