[INFO] fetching crate lavalink-rs 0.14.2... [INFO] testing lavalink-rs-0.14.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate lavalink-rs 0.14.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate lavalink-rs 0.14.2 [INFO] finished tweaking crates.io crate lavalink-rs 0.14.2 [INFO] tweaked toml for crates.io crate lavalink-rs 0.14.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lavalink-rs 0.14.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 227 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.23.5 (available: v0.27.1) [INFO] [stderr] Adding pyo3-async-runtimes v0.23.0 (available: v0.27.0) [INFO] [stderr] Adding pyo3-log v0.12.4 (available: v0.13.2) [INFO] [stderr] Adding pythonize v0.23.0 (available: v0.27.0) [INFO] [stderr] Adding serde_qs v0.13.0 (available: v0.15.0) [INFO] [stderr] Adding songbird v0.4.6 (available: v0.5.0) [INFO] [stderr] Adding tokio-tungstenite v0.26.2 (available: v0.28.0) [INFO] [stderr] Adding tokio-websockets v0.11.4 (available: v0.13.0) [INFO] [stderr] Adding twilight-model v0.16.0 (available: v0.17.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded secrecy v0.8.0 [INFO] [stderr] Downloaded serde_cow v0.1.2 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.2 [INFO] [stderr] Downloaded lavalink_rs_macros v0.2.0 [INFO] [stderr] Downloaded serde_qs v0.13.0 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.2 [INFO] [stderr] Downloaded pyo3-log v0.12.4 [INFO] [stderr] Downloaded oneshot v0.1.11 [INFO] [stderr] Downloaded pyo3-macros-backend v0.23.5 [INFO] [stderr] Downloaded pyo3-ffi v0.23.5 [INFO] [stderr] Downloaded tungstenite v0.26.2 [INFO] [stderr] Downloaded pyo3-build-config v0.23.5 [INFO] [stderr] Downloaded songbird v0.4.6 [INFO] [stderr] Downloaded twilight-model v0.16.0 [INFO] [stderr] Downloaded pythonize v0.23.0 [INFO] [stderr] Downloaded pyo3-macros v0.23.5 [INFO] [stderr] Downloaded pyo3-async-runtimes-macros v0.23.0 [INFO] [stderr] Downloaded tokio-websockets v0.11.4 [INFO] [stderr] Downloaded serenity v0.12.4 [INFO] [stderr] Downloaded pyo3 v0.23.5 [INFO] [stderr] Downloaded pyo3-async-runtimes v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46ea66eb5d9f673a2a7898bcd30c1c9c42689796f6ad374e9d962a4efc7db7d8 [INFO] running `Command { std: "docker" "start" "-a" "46ea66eb5d9f673a2a7898bcd30c1c9c42689796f6ad374e9d962a4efc7db7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46ea66eb5d9f673a2a7898bcd30c1c9c42689796f6ad374e9d962a4efc7db7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ea66eb5d9f673a2a7898bcd30c1c9c42689796f6ad374e9d962a4efc7db7d8", kill_on_drop: false }` [INFO] [stdout] 46ea66eb5d9f673a2a7898bcd30c1c9c42689796f6ad374e9d962a4efc7db7d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 844d0880ab966acaec8aa7e14fef068bc8bf8e991cf1530bf35f6fb73e72a225 [INFO] running `Command { std: "docker" "start" "-a" "844d0880ab966acaec8aa7e14fef068bc8bf8e991cf1530bf35f6fb73e72a225", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling lavalink-rs v0.14.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling lavalink_rs_macros v0.2.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_qs v0.13.0 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stdout] warning: value captured by `self.last_should_continue` is never read [INFO] [stdout] --> src/player_context/inner.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | self.last_should_continue = should_continue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self.last_should_continue` is never read [INFO] [stdout] --> src/player_context/inner.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | self.last_should_continue = should_continue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.82s [INFO] running `Command { std: "docker" "inspect" "844d0880ab966acaec8aa7e14fef068bc8bf8e991cf1530bf35f6fb73e72a225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "844d0880ab966acaec8aa7e14fef068bc8bf8e991cf1530bf35f6fb73e72a225", kill_on_drop: false }` [INFO] [stdout] 844d0880ab966acaec8aa7e14fef068bc8bf8e991cf1530bf35f6fb73e72a225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b881d30703abd218294d182ecf5b2ddc9c87e85a44b85db61c184bff192487c1 [INFO] running `Command { std: "docker" "start" "-a" "b881d30703abd218294d182ecf5b2ddc9c87e85a44b85db61c184bff192487c1", kill_on_drop: false }` [INFO] [stderr] Compiling lavalink-rs v0.14.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: value captured by `self.last_should_continue` is never read [INFO] [stdout] --> src/player_context/inner.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | self.last_should_continue = should_continue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self.last_should_continue` is never read [INFO] [stdout] --> src/player_context/inner.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | self.last_should_continue = should_continue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `self.last_should_continue` is never read [INFO] [stdout] --> src/player_context/inner.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | self.last_should_continue = should_continue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self.last_should_continue` is never read [INFO] [stdout] --> src/player_context/inner.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | self.last_should_continue = should_continue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `Command { std: "docker" "inspect" "b881d30703abd218294d182ecf5b2ddc9c87e85a44b85db61c184bff192487c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b881d30703abd218294d182ecf5b2ddc9c87e85a44b85db61c184bff192487c1", kill_on_drop: false }` [INFO] [stdout] b881d30703abd218294d182ecf5b2ddc9c87e85a44b85db61c184bff192487c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee5d825b71075a8a88b3da8d00d6e494ae7c66f486ce8c0b9faaacec724cc8ba [INFO] running `Command { std: "docker" "start" "-a" "ee5d825b71075a8a88b3da8d00d6e494ae7c66f486ce8c0b9faaacec724cc8ba", kill_on_drop: false }` [INFO] [stderr] warning: value captured by `self.last_should_continue` is never read [INFO] [stderr] --> src/player_context/inner.rs:97:25 [INFO] [stderr] | [INFO] [stderr] 97 | self.last_should_continue = should_continue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `self.last_should_continue` is never read [INFO] [stderr] --> src/player_context/inner.rs:97:25 [INFO] [stderr] | [INFO] [stderr] 97 | self.last_should_continue = should_continue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: `lavalink-rs` (lib) generated 2 warnings [INFO] [stderr] warning: `lavalink-rs` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lavalink_rs-3ede889d0a581571) [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 lavalink_rs [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/node.rs - node::NodeBuilder (line 27) ... FAILED [INFO] [stdout] test src/model/search.rs - model::search::SearchEngines::to_query (line 48) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/node.rs - node::NodeBuilder (line 27) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::model` [INFO] [stdout] --> src/node.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::model::UserId; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `lavalink_rs::model` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NodeBuilder` in this scope [INFO] [stdout] --> src/node.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let node_builder = NodeBuilder { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 + use lavalink_rs::prelude::NodeBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/model/search.rs - model::search::SearchEngines::to_query (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchEngines` [INFO] [stdout] --> src/model/search.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let query = SearchEngines::YouTubeMusic.to_query("Ne Obliviscaris - Forget Not").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SearchEngines` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 48 + use lavalink_rs::prelude::SearchEngines; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lavalink_client` in this scope [INFO] [stdout] --> src/model/search.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | lavalink_client.load_tracks(guild_id, query).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `guild_id` in this scope [INFO] [stdout] --> src/model/search.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | lavalink_client.load_tracks(guild_id, query).await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/model/search.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 48 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_model_search_rs_48_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] 49 | let query = SearchEngines::YouTubeMusic.to_query("Ne Obliviscaris - Forget Not").unwrap(); [INFO] [stdout] 50 | lavalink_client.load_tracks(guild_id, query).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/model/search.rs - model::search::SearchEngines::to_query (line 48) [INFO] [stdout] src/node.rs - node::NodeBuilder (line 27) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ee5d825b71075a8a88b3da8d00d6e494ae7c66f486ce8c0b9faaacec724cc8ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee5d825b71075a8a88b3da8d00d6e494ae7c66f486ce8c0b9faaacec724cc8ba", kill_on_drop: false }` [INFO] [stdout] ee5d825b71075a8a88b3da8d00d6e494ae7c66f486ce8c0b9faaacec724cc8ba