[INFO] cloning repository https://github.com/gaoyia/douyin-sdk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gaoyia/douyin-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaoyia%2Fdouyin-sdk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaoyia%2Fdouyin-sdk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0a9d8dc983f4cb8844302541377676c20f9d129e
[INFO] testing gaoyia/douyin-sdk against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaoyia%2Fdouyin-sdk" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gaoyia/douyin-sdk
[INFO] finished tweaking git repo https://github.com/gaoyia/douyin-sdk
[INFO] tweaked toml for git repo https://github.com/gaoyia/douyin-sdk written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gaoyia/douyin-sdk on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gaoyia/douyin-sdk 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 42a30c1233c46f7e1c11f3d3cec9c4cb2059fcc2164582855420cbf4190a2ad0
[INFO] running `Command { std: "docker" "start" "-a" "42a30c1233c46f7e1c11f3d3cec9c4cb2059fcc2164582855420cbf4190a2ad0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42a30c1233c46f7e1c11f3d3cec9c4cb2059fcc2164582855420cbf4190a2ad0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42a30c1233c46f7e1c11f3d3cec9c4cb2059fcc2164582855420cbf4190a2ad0", kill_on_drop: false }`
[INFO] [stdout] 42a30c1233c46f7e1c11f3d3cec9c4cb2059fcc2164582855420cbf4190a2ad0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 7696fc0756f51ee04119898c291eb9fc7c24eb5124936888541fbd20d5548697
[INFO] running `Command { std: "docker" "start" "-a" "7696fc0756f51ee04119898c291eb9fc7c24eb5124936888541fbd20d5548697", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling indexmap v2.2.5
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling der v0.7.8
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling num-iter v0.1.44
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling h2 v0.4.3
[INFO] [stderr]    Compiling rsa v0.9.6
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling base64 v0.22.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v1.2.0
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.0
[INFO] [stderr]    Compiling douyin_sdk v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "7696fc0756f51ee04119898c291eb9fc7c24eb5124936888541fbd20d5548697", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7696fc0756f51ee04119898c291eb9fc7c24eb5124936888541fbd20d5548697", kill_on_drop: false }`
[INFO] [stdout] 7696fc0756f51ee04119898c291eb9fc7c24eb5124936888541fbd20d5548697
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] dc8d073e37aa8314f34207441940f52381684031485a7774a14da73e523515cb
[INFO] running `Command { std: "docker" "start" "-a" "dc8d073e37aa8314f34207441940f52381684031485a7774a14da73e523515cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.3
[INFO] [stderr]    Compiling hyper v1.2.0
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.0
[INFO] [stderr]    Compiling douyin_sdk v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 31.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "dc8d073e37aa8314f34207441940f52381684031485a7774a14da73e523515cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc8d073e37aa8314f34207441940f52381684031485a7774a14da73e523515cb", kill_on_drop: false }`
[INFO] [stdout] dc8d073e37aa8314f34207441940f52381684031485a7774a14da73e523515cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 3134dc7ac4b98d7cf4ca0ac8e4bae8da4850568d726c44ba1c45c40038ad28ce
[INFO] running `Command { std: "docker" "start" "-a" "3134dc7ac4b98d7cf4ca0ac8e4bae8da4850568d726c44ba1c45c40038ad28ce", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/douyin_sdk/86ccfb5a2cb27bb0/deps/douyin_sdk-86ccfb5a2cb27bb0)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests douyin_sdk
[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 1 test
[INFO] [stdout] test src/lib.rs - (line 33) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 33) stdout ----
[INFO] [stdout] error: couldn't read `src/private_key.pem`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 | let app_private_key = include_str!("private_key.pem");
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DouyinConfig` in this scope
[INFO] [stdout]   --> src/lib.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let config = DouyinConfig {
[INFO] [stdout]    |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use douyin_sdk::DouyinConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SDK`
[INFO] [stdout]   --> src/lib.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut sdk = SDK::new(config);
[INFO] [stdout]    |                   ^^^ use of undeclared type `SDK`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use douyin_sdk::SDK;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LiveOpenReqDataStart` in this scope
[INFO] [stdout]   --> src/lib.rs:46:32
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let start_res = sdk.task::<LiveOpenReqDataStart>("start","roomid","appid","msg_type").await;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use douyin_sdk::LiveOpenReqDataStart;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LiveOpenReqDataStop` in this scope
[INFO] [stdout]   --> src/lib.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let stop_res = sdk.task::<LiveOpenReqDataStop>("stop","roomid","appid","msg_type").await;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use douyin_sdk::LiveOpenReqDataStop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LiveOpenReqDataStatus` in this scope
[INFO] [stdout]   --> src/lib.rs:50:33
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let status_res = sdk.task::<LiveOpenReqDataStatus>("status","roomid","appid","msg_type").await;
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use douyin_sdk::LiveOpenReqDataStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `make_random_string` in this scope
[INFO] [stdout]   --> src/lib.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let random_str = make_random_string();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 33 + use douyin_sdk::make_random_string;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_now_timestamp` in this scope
[INFO] [stdout]   --> src/lib.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let ts = get_now_timestamp(false);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 33 + use douyin_sdk::get_now_timestamp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:44:40
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 44 |     let token = sdk.get_access_token().await;
[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/lib.rs:46:91
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let start_res = sdk.task::<LiveOpenReqDataStart>("start","roomid","appid","msg_type").await;
[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/lib.rs:48:88
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 48 |     let stop_res = sdk.task::<LiveOpenReqDataStop>("stop","roomid","appid","msg_type").await;
[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/lib.rs:50:94
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 50 |     let status_res = sdk.task::<LiveOpenReqDataStatus>("status","roomid","appid","msg_type").await;
[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/lib.rs:52:43
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 52 |     let info = sdk.info("exe启动时携带的token").await;
[INFO] [stdout]    |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 33)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3134dc7ac4b98d7cf4ca0ac8e4bae8da4850568d726c44ba1c45c40038ad28ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3134dc7ac4b98d7cf4ca0ac8e4bae8da4850568d726c44ba1c45c40038ad28ce", kill_on_drop: false }`
[INFO] [stdout] 3134dc7ac4b98d7cf4ca0ac8e4bae8da4850568d726c44ba1c45c40038ad28ce
