[INFO] fetching crate serenity-rich-interaction 0.3.1... [INFO] testing serenity-rich-interaction-0.3.1 against beta-2022-09-25 for beta-1.65-1 [INFO] extracting crate serenity-rich-interaction 0.3.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate serenity-rich-interaction 0.3.1 on toolchain beta-2022-09-25 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serenity-rich-interaction 0.3.1 [INFO] finished tweaking crates.io crate serenity-rich-interaction 0.3.1 [INFO] tweaked toml for crates.io crate serenity-rich-interaction 0.3.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 046c15a911f46c40a2bf1e7e2315ef27cf751c39885f80491e6e991230a9d7d5 [INFO] running `Command { std: "docker" "start" "-a" "046c15a911f46c40a2bf1e7e2315ef27cf751c39885f80491e6e991230a9d7d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "046c15a911f46c40a2bf1e7e2315ef27cf751c39885f80491e6e991230a9d7d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "046c15a911f46c40a2bf1e7e2315ef27cf751c39885f80491e6e991230a9d7d5", kill_on_drop: false }` [INFO] [stdout] 046c15a911f46c40a2bf1e7e2315ef27cf751c39885f80491e6e991230a9d7d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b2dfe539fbff99f8cff533eea3123663d750df89c90ddad0a21450aa9c2ab6 [INFO] running `Command { std: "docker" "start" "-a" "e9b2dfe539fbff99f8cff533eea3123663d750df89c90ddad0a21450aa9c2ab6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.76 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling serenity v0.10.10 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling dashmap v5.4.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stderr] Compiling serenity-rich-interaction v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "e9b2dfe539fbff99f8cff533eea3123663d750df89c90ddad0a21450aa9c2ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b2dfe539fbff99f8cff533eea3123663d750df89c90ddad0a21450aa9c2ab6", kill_on_drop: false }` [INFO] [stdout] e9b2dfe539fbff99f8cff533eea3123663d750df89c90ddad0a21450aa9c2ab6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae3e23f6578f07357beb84d1da88ef0510e9d7d59e6d4ed1b82cedd98fbfdce8 [INFO] running `Command { std: "docker" "start" "-a" "ae3e23f6578f07357beb84d1da88ef0510e9d7d59e6d4ed1b82cedd98fbfdce8", kill_on_drop: false }` [INFO] [stderr] Compiling serenity-rich-interaction v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.50s [INFO] running `Command { std: "docker" "inspect" "ae3e23f6578f07357beb84d1da88ef0510e9d7d59e6d4ed1b82cedd98fbfdce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3e23f6578f07357beb84d1da88ef0510e9d7d59e6d4ed1b82cedd98fbfdce8", kill_on_drop: false }` [INFO] [stdout] ae3e23f6578f07357beb84d1da88ef0510e9d7d59e6d4ed1b82cedd98fbfdce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ddf1eeaad0485878bfdb28e82306a47366ee4da2320cea458d3204162fd7a139 [INFO] running `Command { std: "docker" "start" "-a" "ddf1eeaad0485878bfdb28e82306a47366ee4da2320cea458d3204162fd7a139", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serenity_rich_interaction-38b315d153c8d399) [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 serenity-rich-interaction [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/events/handler.rs - events::handler::RichEventHandler (line 33) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/events/handler.rs - events::handler::RichEventHandler (line 33) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/events/handler.rs:44:79 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_events_handler_rs_33_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | let client = Client::builder("TOKEN").register_rich_interactions_with(handler).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/events/handler.rs:44:85 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_events_handler_rs_33_0() { [INFO] [stdout] | --------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 14 | let client = Client::builder("TOKEN").register_rich_interactions_with(handler).await?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [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/events/handler.rs - events::handler::RichEventHandler (line 33) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ddf1eeaad0485878bfdb28e82306a47366ee4da2320cea458d3204162fd7a139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddf1eeaad0485878bfdb28e82306a47366ee4da2320cea458d3204162fd7a139", kill_on_drop: false }` [INFO] [stdout] ddf1eeaad0485878bfdb28e82306a47366ee4da2320cea458d3204162fd7a139