[INFO] fetching crate bilili_rs 0.2.1...
[INFO] testing bilili_rs-0.2.1 against 1.83.0 for beta-1.84.0-4-retry
[INFO] extracting crate bilili_rs 0.2.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate bilili_rs 0.2.1 on toolchain 1.83.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bilili_rs 0.2.1
[INFO] finished tweaking crates.io crate bilili_rs 0.2.1
[INFO] tweaked toml for crates.io crate bilili_rs 0.2.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 185 packages to latest compatible versions
[INFO] [stderr]       Adding tokio-tungstenite v0.21.0 (available: v0.24.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gzip v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cf7aa8b5c4cd8e2f4863682e5ef2b31e49e854791812bd735159295e75803067
[INFO] running `Command { std: "docker" "start" "-a" "cf7aa8b5c4cd8e2f4863682e5ef2b31e49e854791812bd735159295e75803067", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf7aa8b5c4cd8e2f4863682e5ef2b31e49e854791812bd735159295e75803067", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf7aa8b5c4cd8e2f4863682e5ef2b31e49e854791812bd735159295e75803067", kill_on_drop: false }`
[INFO] [stdout] cf7aa8b5c4cd8e2f4863682e5ef2b31e49e854791812bd735159295e75803067
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c2f94eefc363cce1c08d60c950c448090fbb4124d61c9b61842e1678b55029a7
[INFO] running `Command { std: "docker" "start" "-a" "c2f94eefc363cce1c08d60c950c448090fbb4124d61c9b61842e1678b55029a7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling cc v1.2.4
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling rustls-pki-types v1.10.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling rustls v0.23.20
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling webpki-roots v0.26.7
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]    Compiling psl-types v2.0.11
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling thiserror v2.0.7
[INFO] [stderr]    Compiling document-features v0.2.10
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling enumflags2_derive v0.6.4
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling enumflags2 v0.6.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.7
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling gzip v0.1.2
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling hyper v1.5.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.1
[INFO] [stderr]    Compiling tokio-rustls v0.25.0
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling publicsuffix v2.3.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling cookie_store v0.21.1
[INFO] [stderr]    Compiling reqwest v0.12.9
[INFO] [stderr]    Compiling bilili_rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s
[INFO] running `Command { std: "docker" "inspect" "c2f94eefc363cce1c08d60c950c448090fbb4124d61c9b61842e1678b55029a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2f94eefc363cce1c08d60c950c448090fbb4124d61c9b61842e1678b55029a7", kill_on_drop: false }`
[INFO] [stdout] c2f94eefc363cce1c08d60c950c448090fbb4124d61c9b61842e1678b55029a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ffcc95242bb55313b1022b3b3f947d0329f0f8cd0b44cce50e238c3a13739491
[INFO] running `Command { std: "docker" "start" "-a" "ffcc95242bb55313b1022b3b3f947d0329f0f8cd0b44cce50e238c3a13739491", kill_on_drop: false }`
[INFO] [stderr]    Compiling bilili_rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.61s
[INFO] running `Command { std: "docker" "inspect" "ffcc95242bb55313b1022b3b3f947d0329f0f8cd0b44cce50e238c3a13739491", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffcc95242bb55313b1022b3b3f947d0329f0f8cd0b44cce50e238c3a13739491", kill_on_drop: false }`
[INFO] [stdout] ffcc95242bb55313b1022b3b3f947d0329f0f8cd0b44cce50e238c3a13739491
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1a492b82d7ee381e66dfc0dd1e00b259a4599aa7298592295d7edc430c398626
[INFO] running `Command { std: "docker" "start" "-a" "1a492b82d7ee381e66dfc0dd1e00b259a4599aa7298592295d7edc430c398626", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bilili_rs-d297792c4ff421ba)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests bilili_rs
[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 3 tests
[INFO] [stdout] test src/api/mod.rs - api::APIClient (line 39) - compile ... FAILED
[INFO] [stdout] test src/api/mod.rs - api::APIClient (line 31) - compile ... FAILED
[INFO] [stdout] test src/api/mod.rs - api::LoginManager (line 471) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/api/mod.rs - api::APIClient (line 39) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoginUrl`
[INFO] [stdout]  --> src/api/mod.rs:40:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let login_url = LoginUrl::get_login_url().await.unwrap();
[INFO] [stdout]   |                 ^^^^^^^^ use of undeclared type `LoginUrl`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bilili_rs::api::LoginUrl;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/api/mod.rs:40:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_mod_rs_39_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 3 | let login_url = LoginUrl::get_login_url().await.unwrap();
[INFO] [stdout]   |                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/api/mod.rs:43:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_mod_rs_39_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | let client = login_url.poll_tokens().await.unwrap().data.unwrap();
[INFO] [stdout]   |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/mod.rs - api::APIClient (line 31) stdout ----
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]  --> src/api/mod.rs:33:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | let (token, jar) = UserToken::create_from_tokens(&tokens).unwrap();
[INFO] [stdout]   | ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserToken`
[INFO] [stdout]  --> src/api/mod.rs:33:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | let (token, jar) = UserToken::create_from_tokens(&tokens).unwrap();
[INFO] [stdout]   |                    ^^^^^^^^^ use of undeclared type `UserToken`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bilili_rs::api::UserToken;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tokens` in this scope
[INFO] [stdout]  --> src/api/mod.rs:33:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | let (token, jar) = UserToken::create_from_tokens(&tokens).unwrap();
[INFO] [stdout]   |                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `APIClient`
[INFO] [stdout]  --> src/api/mod.rs:34:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let client = APIClient::new(token, jar).unwrap();
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared type `APIClient`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bilili_rs::api::APIClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/mod.rs - api::LoginManager (line 471) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoginManager`
[INFO] [stdout]  --> src/api/mod.rs:472:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | let login_manager = LoginManager::create(3);
[INFO] [stdout]   |                     ^^^^^^^^^^^^ use of undeclared type `LoginManager`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bilili_rs::api::LoginManager;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/api/mod.rs:473:67
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_mod_rs_471_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] 3 | let login_manager = LoginManager::create(3);
[INFO] [stdout] 4 | let (login_url,api_client_rx) = login_manager.get_one_login_url().await.unwrap();
[INFO] [stdout]   |                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/api/mod.rs:475:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_mod_rs_471_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | let api_client = api_client_rx.recv().await.unwrap();
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/api/mod.rs - api::APIClient (line 31)
[INFO] [stdout]     src/api/mod.rs - api::APIClient (line 39)
[INFO] [stdout]     src/api/mod.rs - api::LoginManager (line 471)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1a492b82d7ee381e66dfc0dd1e00b259a4599aa7298592295d7edc430c398626", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a492b82d7ee381e66dfc0dd1e00b259a4599aa7298592295d7edc430c398626", kill_on_drop: false }`
[INFO] [stdout] 1a492b82d7ee381e66dfc0dd1e00b259a4599aa7298592295d7edc430c398626
