[INFO] cloning repository https://github.com/Qiqianily/bili-player-v2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Qiqianily/bili-player-v2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQiqianily%2Fbili-player-v2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQiqianily%2Fbili-player-v2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af48db07d376257b201ae51977684c395ae67d32 [INFO] testing Qiqianily/bili-player-v2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQiqianily%2Fbili-player-v2" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Qiqianily/bili-player-v2 [INFO] finished tweaking git repo https://github.com/Qiqianily/bili-player-v2 [INFO] tweaked toml for git repo https://github.com/Qiqianily/bili-player-v2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Qiqianily/bili-player-v2 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 git repo https://github.com/Qiqianily/bili-player-v2 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3a6850cc3955645d20fdf51f00c5b62812ff1a1e20b8165a805c07f53cb80292 [INFO] running `Command { std: "docker" "start" "-a" "3a6850cc3955645d20fdf51f00c5b62812ff1a1e20b8165a805c07f53cb80292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a6850cc3955645d20fdf51f00c5b62812ff1a1e20b8165a805c07f53cb80292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6850cc3955645d20fdf51f00c5b62812ff1a1e20b8165a805c07f53cb80292", kill_on_drop: false }` [INFO] [stdout] 3a6850cc3955645d20fdf51f00c5b62812ff1a1e20b8165a805c07f53cb80292 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0e6ec61b041a075ddaaec3b2dfcf5410e946e5212753d5a32c60203d31566025 [INFO] running `Command { std: "docker" "start" "-a" "0e6ec61b041a075ddaaec3b2dfcf5410e946e5212753d5a32c60203d31566025", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling version-compare v0.2.1 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling toml v0.9.10+spec-1.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling cfg-expr v0.20.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling system-deps v7.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling glib-sys v0.21.5 [INFO] [stderr] Compiling gobject-sys v0.21.5 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling gio-sys v0.21.5 [INFO] [stderr] Compiling gstreamer-sys v0.24.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling pastey v0.2.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling option-operations v0.6.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling muldiv v1.0.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling glib-macros v0.21.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tonic-build v0.14.2 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling glib v0.21.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Compiling tonic-prost-build v0.14.2 [INFO] [stderr] Compiling bili_player v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling gstreamer v0.24.4 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling tonic v0.14.2 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling tonic-prost v0.14.2 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "0e6ec61b041a075ddaaec3b2dfcf5410e946e5212753d5a32c60203d31566025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e6ec61b041a075ddaaec3b2dfcf5410e946e5212753d5a32c60203d31566025", kill_on_drop: false }` [INFO] [stdout] 0e6ec61b041a075ddaaec3b2dfcf5410e946e5212753d5a32c60203d31566025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 78fe5df699cc7586823999062a2f72c203f7ffbaf0265b1c60557d638839eb3b [INFO] running `Command { std: "docker" "start" "-a" "78fe5df699cc7586823999062a2f72c203f7ffbaf0265b1c60557d638839eb3b", kill_on_drop: false }` [INFO] [stderr] Compiling bili_player v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.06s [INFO] running `Command { std: "docker" "inspect" "78fe5df699cc7586823999062a2f72c203f7ffbaf0265b1c60557d638839eb3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78fe5df699cc7586823999062a2f72c203f7ffbaf0265b1c60557d638839eb3b", kill_on_drop: false }` [INFO] [stdout] 78fe5df699cc7586823999062a2f72c203f7ffbaf0265b1c60557d638839eb3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f3d3bcd73f45a14554d8634f90ca45be076a1d52fe1547f35cc7e3c101faf7c2 [INFO] running `Command { std: "docker" "start" "-a" "f3d3bcd73f45a14554d8634f90ca45be076a1d52fe1547f35cc7e3c101faf7c2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bili_player-65eb5d195e7733fe) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bili_player-8df7300107741b3d) [INFO] [stdout] [INFO] [stderr] Running unittests src/client.rs (/opt/rustwide/target/debug/deps/client-a5b704e76f70beaf) [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 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] Running unittests src/server.rs (/opt/rustwide/target/debug/deps/server-493cd3cedae603c5) [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] Running tests/first_test.rs (/opt/rustwide/target/debug/deps/first_test-ba5318f4416bccc2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::first_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests bili_player [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/fetch/network.rs - fetch::network::fetch_video_data (line 66) ... FAILED [INFO] [stdout] test src/fetch/network.rs - fetch::network::fetch_audio_url (line 18) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/fetch/verify.rs - fetch::verify::fetch_and_verify_audio_url (line 45) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/fetch/network.rs - fetch::network::fetch_video_data (line 66) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Client` in this scope [INFO] [stdout] --> src/fetch/network.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 67 + use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `network` in this scope [INFO] [stdout] --> src/fetch/network.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | let video_data = network::fetch_video_data(&client, bvid).await.unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `network` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/fetch/network.rs, use `mod network` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 67 + mod network; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 67 + use bili_player::fetch::network; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/fetch/network.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fetch/network.rs - fetch::network::fetch_audio_url (line 18) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (107) panicked at src/fetch/network.rs:12:72: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Network(reqwest::Error { kind: Request, url: "https://api.bilibili.com/x/player/playurl?fnval=16&bvid=BV1r7411p7R4&cid=321818216", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x622a731b376a - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x622a731b376a - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x622a731b376a - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x622a731b376a - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x622a731c8b7a - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x622a731c8b7a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x622a731b83d2 - std[e72de78501789eb0]::io::default_write_fmt:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x622a731b83d2 - ::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x622a731994ff - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x622a731994ff - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x622a731abcd1 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:319:9 [INFO] [stdout] 11: 0x622a731abf4b - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:825:13 [INFO] [stdout] 12: 0x622a731995b8 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 13: 0x622a73190fc9 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 14: 0x622a7319a47d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 15: 0x622a731c936c - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x622a731c90b2 - core[6aaeda2c7ad07a48]::result::unwrap_failed [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1867:5 [INFO] [stdout] 17: 0x622a72d5fc89 - rust_out[992bb7df40d5d539]::main::{closure#0} [INFO] [stdout] 18: 0x622a72d5d676 - ::block_on::::{closure#0} [INFO] [stdout] 19: 0x622a72d5aa66 - ::block_on:: [INFO] [stdout] 20: 0x622a72d58c1b - ::block_on:: [INFO] [stdout] 21: 0x622a72d5ccce - ::block_on::::{closure#0} [INFO] [stdout] 22: 0x622a72d5c8ff - tokio[9fd956a101b73c5]::runtime::context::runtime::enter_runtime::<::block_on::{closure#0}, ()> [INFO] [stdout] 23: 0x622a72d58cb3 - ::block_on:: [INFO] [stdout] 24: 0x622a72d584b9 - ::block_on_inner:: [INFO] [stdout] 25: 0x622a72d58712 - ::block_on:: [INFO] [stdout] 26: 0x622a72d5feff - rust_out[992bb7df40d5d539]::main [INFO] [stdout] 27: 0x622a72d609e3 - >::call_once [INFO] [stdout] 28: 0x622a72d5c6e6 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 29: 0x622a72d5eb69 - std[e72de78501789eb0]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 30: 0x622a731ab224 - <&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 31: 0x622a731ab224 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 32: 0x622a731ab224 - std[e72de78501789eb0]::panicking::catch_unwind:: + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 33: 0x622a731ab224 - std[e72de78501789eb0]::panic::catch_unwind::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x622a731ab224 - std[e72de78501789eb0]::rt::lang_start_internal::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:175:24 [INFO] [stdout] 35: 0x622a731ab224 - std[e72de78501789eb0]::panicking::catch_unwind::do_call:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 36: 0x622a731ab224 - std[e72de78501789eb0]::panicking::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 37: 0x622a731ab224 - std[e72de78501789eb0]::panic::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x622a731ab224 - std[e72de78501789eb0]::rt::lang_start_internal [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:171:5 [INFO] [stdout] 39: 0x622a72d5c551 - std[e72de78501789eb0]::rt::lang_start::<()> [INFO] [stdout] 40: 0x622a72d60a95 - main [INFO] [stdout] 41: 0x76efb48f51ca - [INFO] [stdout] 42: 0x76efb48f528b - __libc_start_main [INFO] [stdout] 43: 0x622a72d58225 - _start [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/fetch/network.rs - fetch::network::fetch_audio_url (line 18) [INFO] [stdout] src/fetch/network.rs - fetch::network::fetch_video_data (line 66) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.23s [INFO] [stdout] [INFO] [stdout] all doctests ran in 5.58s; merged doctests compilation took 0.34s [INFO] running `Command { std: "docker" "inspect" "f3d3bcd73f45a14554d8634f90ca45be076a1d52fe1547f35cc7e3c101faf7c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3d3bcd73f45a14554d8634f90ca45be076a1d52fe1547f35cc7e3c101faf7c2", kill_on_drop: false }` [INFO] [stdout] f3d3bcd73f45a14554d8634f90ca45be076a1d52fe1547f35cc7e3c101faf7c2