[INFO] fetching crate discord-webhook 0.1.0... [INFO] testing discord-webhook-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate discord-webhook 0.1.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate discord-webhook 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 812ad8796abb8bab83a6ed796d5d9ef0c435d43d41dad95f1be040fb7e6292c6 [INFO] running `Command { std: "docker" "start" "-a" "812ad8796abb8bab83a6ed796d5d9ef0c435d43d41dad95f1be040fb7e6292c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "812ad8796abb8bab83a6ed796d5d9ef0c435d43d41dad95f1be040fb7e6292c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "812ad8796abb8bab83a6ed796d5d9ef0c435d43d41dad95f1be040fb7e6292c6", kill_on_drop: false }` [INFO] [stdout] 812ad8796abb8bab83a6ed796d5d9ef0c435d43d41dad95f1be040fb7e6292c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e1a38e6ce36fdacc5875547d4576a31881736643f4502ce19f16e2e0d5925ac [INFO] running `Command { std: "docker" "start" "-a" "3e1a38e6ce36fdacc5875547d4576a31881736643f4502ce19f16e2e0d5925ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling itoa v1.0.1 [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 indexmap v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [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.72s [INFO] running `Command { std: "docker" "inspect" "3e1a38e6ce36fdacc5875547d4576a31881736643f4502ce19f16e2e0d5925ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1a38e6ce36fdacc5875547d4576a31881736643f4502ce19f16e2e0d5925ac", kill_on_drop: false }` [INFO] [stdout] 3e1a38e6ce36fdacc5875547d4576a31881736643f4502ce19f16e2e0d5925ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c502d674b9779c92b642b2b242b8ee979ac791f9a987ffc7efe72fa227b1afe7 [INFO] running `Command { std: "docker" "start" "-a" "c502d674b9779c92b642b2b242b8ee979ac791f9a987ffc7efe72fa227b1afe7", 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 lock_api v0.4.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [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_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 33.02s [INFO] running `Command { std: "docker" "inspect" "c502d674b9779c92b642b2b242b8ee979ac791f9a987ffc7efe72fa227b1afe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c502d674b9779c92b642b2b242b8ee979ac791f9a987ffc7efe72fa227b1afe7", kill_on_drop: false }` [INFO] [stdout] c502d674b9779c92b642b2b242b8ee979ac791f9a987ffc7efe72fa227b1afe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c9dfcc1ca8da2e40a7efdb33069c9e4d7d02a47b2dd6305c7b56d91b0e839b4 [INFO] running `Command { std: "docker" "start" "-a" "9c9dfcc1ca8da2e40a7efdb33069c9e4d7d02a47b2dd6305c7b56d91b0e839b4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/discord_webhook-319a5a844e5cb5fd) [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 discord_webhook [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.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9c9dfcc1ca8da2e40a7efdb33069c9e4d7d02a47b2dd6305c7b56d91b0e839b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9dfcc1ca8da2e40a7efdb33069c9e4d7d02a47b2dd6305c7b56d91b0e839b4", kill_on_drop: false }` [INFO] [stdout] 9c9dfcc1ca8da2e40a7efdb33069c9e4d7d02a47b2dd6305c7b56d91b0e839b4