[INFO] fetching crate lavalink-rs 0.15.0... [INFO] testing lavalink-rs-0.15.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate lavalink-rs 0.15.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate lavalink-rs 0.15.0 [INFO] finished tweaking crates.io crate lavalink-rs 0.15.0 [INFO] tweaked toml for crates.io crate lavalink-rs 0.15.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lavalink-rs 0.15.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lavalink-rs 0.15.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 212b2a66d8f44bea6549567f2d08c1088d61375165251161b671938cd6ffff1c [INFO] running `Command { std: "docker" "start" "-a" "212b2a66d8f44bea6549567f2d08c1088d61375165251161b671938cd6ffff1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "212b2a66d8f44bea6549567f2d08c1088d61375165251161b671938cd6ffff1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "212b2a66d8f44bea6549567f2d08c1088d61375165251161b671938cd6ffff1c", kill_on_drop: false }` [INFO] [stdout] 212b2a66d8f44bea6549567f2d08c1088d61375165251161b671938cd6ffff1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93bb144f91e43022c0cd31d39bd609cb8bc872ef91e5635b130e8dec87753e43 [INFO] running `Command { std: "docker" "start" "-a" "93bb144f91e43022c0cd31d39bd609cb8bc872ef91e5635b130e8dec87753e43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling lavalink-rs v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling oneshot v0.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling arc-swap v1.8.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling lavalink_rs_macros v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling serde_qs v1.0.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [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 43.79s [INFO] running `Command { std: "docker" "inspect" "93bb144f91e43022c0cd31d39bd609cb8bc872ef91e5635b130e8dec87753e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93bb144f91e43022c0cd31d39bd609cb8bc872ef91e5635b130e8dec87753e43", kill_on_drop: false }` [INFO] [stdout] 93bb144f91e43022c0cd31d39bd609cb8bc872ef91e5635b130e8dec87753e43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5efbd9ca78fe0313888bba80a341216cb7b8b1584ab0ef9251e9706624de965c [INFO] running `Command { std: "docker" "start" "-a" "5efbd9ca78fe0313888bba80a341216cb7b8b1584ab0ef9251e9706624de965c", kill_on_drop: false }` [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] Compiling lavalink-rs v0.15.0 (/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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "5efbd9ca78fe0313888bba80a341216cb7b8b1584ab0ef9251e9706624de965c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5efbd9ca78fe0313888bba80a341216cb7b8b1584ab0ef9251e9706624de965c", kill_on_drop: false }` [INFO] [stdout] 5efbd9ca78fe0313888bba80a341216cb7b8b1584ab0ef9251e9706624de965c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2d024e499fbcd978f1eb93eb2d290077821d1c68074af17b7c3942dba85331e3 [INFO] running `Command { std: "docker" "start" "-a" "2d024e499fbcd978f1eb93eb2d290077821d1c68074af17b7c3942dba85331e3", 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.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lavalink_rs-1c5ef56f8aaff914) [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] | ^^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 28 | use crate::lavalink_rs::model::UserId; [INFO] [stdout] | +++++++++++++ [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]: cannot find type `SearchEngines` in this scope [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.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2d024e499fbcd978f1eb93eb2d290077821d1c68074af17b7c3942dba85331e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d024e499fbcd978f1eb93eb2d290077821d1c68074af17b7c3942dba85331e3", kill_on_drop: false }` [INFO] [stdout] 2d024e499fbcd978f1eb93eb2d290077821d1c68074af17b7c3942dba85331e3