[INFO] fetching crate aliyun-oss-rs 0.0.5...
[INFO] testing aliyun-oss-rs-0.0.5 against 1.75.0 for beta-1.76-1
[INFO] extracting crate aliyun-oss-rs 0.0.5 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate aliyun-oss-rs 0.0.5 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate aliyun-oss-rs 0.0.5
[INFO] finished tweaking crates.io crate aliyun-oss-rs 0.0.5
[INFO] tweaked toml for crates.io crate aliyun-oss-rs 0.0.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded xml-rs v0.8.19
[INFO] [stderr]   Downloaded serde-xml-rs v0.6.0
[INFO] [stderr]   Downloaded infer v0.15.0
[INFO] [stderr]   Downloaded tokio-native-tls v0.3.1
[INFO] [stderr]   Downloaded cfb v0.7.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2d33227d105c0342526e9e537ca8e5db9dff94654be1c7c4eeaa3bef25b9b8ea
[INFO] running `Command { std: "docker" "start" "-a" "2d33227d105c0342526e9e537ca8e5db9dff94654be1c7c4eeaa3bef25b9b8ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d33227d105c0342526e9e537ca8e5db9dff94654be1c7c4eeaa3bef25b9b8ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d33227d105c0342526e9e537ca8e5db9dff94654be1c7c4eeaa3bef25b9b8ea", kill_on_drop: false }`
[INFO] [stdout] 2d33227d105c0342526e9e537ca8e5db9dff94654be1c7c4eeaa3bef25b9b8ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 08b4e13745f47513b56d3e75343fc47a43d3e5bf3cf9ba85a8e199b64b2ee175
[INFO] running `Command { std: "docker" "start" "-a" "08b4e13745f47513b56d3e75343fc47a43d3e5bf3cf9ba85a8e199b64b2ee175", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling pkg-config v0.3.28
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.62
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling uuid v1.6.1
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling cfb v0.7.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling xml-rs v0.8.19
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling iana-time-zone v0.1.59
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling infer v0.15.0
[INFO] [stderr]    Compiling serde-xml-rs v0.6.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling base64 v0.21.5
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling aliyun-oss-rs v0.0.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 15.38s
[INFO] running `Command { std: "docker" "inspect" "08b4e13745f47513b56d3e75343fc47a43d3e5bf3cf9ba85a8e199b64b2ee175", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08b4e13745f47513b56d3e75343fc47a43d3e5bf3cf9ba85a8e199b64b2ee175", kill_on_drop: false }`
[INFO] [stdout] 08b4e13745f47513b56d3e75343fc47a43d3e5bf3cf9ba85a8e199b64b2ee175
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7916b373766d1ae1c4c6919de59c94ef08bc246005adb02049e73bad9ea1bf97
[INFO] running `Command { std: "docker" "start" "-a" "7916b373766d1ae1c4c6919de59c94ef08bc246005adb02049e73bad9ea1bf97", kill_on_drop: false }`
[INFO] [stderr]    Compiling aliyun-oss-rs v0.0.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.90s
[INFO] running `Command { std: "docker" "inspect" "7916b373766d1ae1c4c6919de59c94ef08bc246005adb02049e73bad9ea1bf97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7916b373766d1ae1c4c6919de59c94ef08bc246005adb02049e73bad9ea1bf97", kill_on_drop: false }`
[INFO] [stdout] 7916b373766d1ae1c4c6919de59c94ef08bc246005adb02049e73bad9ea1bf97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] eb7ba7aa6243cc2f2e154e08254b0d11c1fd6d433307ae36826933bf3399fc4d
[INFO] running `Command { std: "docker" "start" "-a" "eb7ba7aa6243cc2f2e154e08254b0d11c1fd6d433307ae36826933bf3399fc4d", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aliyun_oss_rs-bf476bde14f6e94d)
[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 aliyun-oss-rs
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/lib.rs - (line 40) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 34) ... FAILED
[INFO] [stdout] test src/client/list_buckets.rs - client::list_buckets::ListBuckets (line 58) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/client/describe_regions.rs - client::describe_regions::DescribeRegions (line 35) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stdout] test src/object/get_object.rs - object::get_object::GetObject::download_to_stream (line 134) ... FAILED
[INFO] [stdout] test src/object/append_object.rs - object::append_object::AppendObject::set_callback (line 90) ... ok
[INFO] [stdout] test src/object/put_object.rs - object::put_object::PutObject::set_callback (line 86) ... ok
[INFO] [stdout] test src/object/multipart_upload_part.rs - object::multipart_upload_part::UploadPart::set_callback (line 28) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 40) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `object` in this scope
[INFO] [stdout]  --> src/lib.rs:44:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let url = object.get_object_url().url(date);
[INFO] [stdout]   |           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 13) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OssClient`
[INFO] [stdout]  --> src/lib.rs:14:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let client = OssClient::new(
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared type `OssClient`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use aliyun_oss_rs::OssClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 34) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `bucket` in this scope
[INFO] [stdout]  --> src/lib.rs:35:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let object = bucket.object("rust.png");
[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/lib.rs:36:62
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_34_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] 3 | let object = bucket.object("rust.png");
[INFO] [stdout] 4 | let result = object.put_object().send_file("Your File Path").await;
[INFO] [stdout]   |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client/list_buckets.rs - client::list_buckets::ListBuckets (line 58) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OssClient`
[INFO] [stdout]  --> src/client/list_buckets.rs:59:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let client = OssClient::new("AccessKey ID","AccessKey Secret","oss-cn-beijing.aliyuncs.com");
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared type `OssClient`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use aliyun_oss_rs::OssClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/client/list_buckets.rs:60:63
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_list_buckets_rs_58_0() {
[INFO] [stdout]   |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] 3 | let client = OssClient::new("AccessKey ID","AccessKey Secret","oss-cn-beijing.aliyuncs.com");
[INFO] [stdout] 4 | let buckets = client.list_buckets().set_prefix("rust").send().await;
[INFO] [stdout]   |                                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:23:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | let bucket_list = client.list_buckets().set_prefix("rust").send().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/lib.rs:23:67
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_22_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] 3 | let bucket_list = client.list_buckets().set_prefix("rust").send().await;
[INFO] [stdout]   |                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client/describe_regions.rs - client::describe_regions::DescribeRegions (line 35) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OssClient`
[INFO] [stdout]  --> src/client/describe_regions.rs:36:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let client = OssClient::new("AccessKey ID","AccessKey Secret","oss-cn-beijing.aliyuncs.com");
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared type `OssClient`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use aliyun_oss_rs::OssClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/client/describe_regions.rs:39:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_describe_regions_rs_35_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 |                     .send().await;      
[INFO] [stdout]   |                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/lib.rs - (line 28) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:29:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let bucket = client.bucket("for-rs-test","oss-cn-zhangjiakou.aliyuncs.com");
[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/lib.rs:30:42
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] 3 | let bucket = client.bucket("for-rs-test","oss-cn-zhangjiakou.aliyuncs.com");
[INFO] [stdout] 4 | let files = bucket.list_objects().send().await;
[INFO] [stdout]   |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/object/get_object.rs - object::get_object::GetObject::download_to_stream (line 134) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `object` in this scope
[INFO] [stdout]  --> src/object/get_object.rs:137:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut stream = object.get_object().download_to_stream().await.unwrap();
[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/object/get_object.rs:137:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_object_get_object_rs_134_0() {
[INFO] [stdout]   |                                         -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let mut stream = object.get_object().download_to_stream().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/object/get_object.rs:138:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_object_get_object_rs_134_0() {
[INFO] [stdout]   |                                         -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | while let Some(item) = stream.next().await {
[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: E0425, 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/client/describe_regions.rs - client::describe_regions::DescribeRegions (line 35)
[INFO] [stdout]     src/client/list_buckets.rs - client::list_buckets::ListBuckets (line 58)
[INFO] [stdout]     src/lib.rs - (line 13)
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/lib.rs - (line 28)
[INFO] [stdout]     src/lib.rs - (line 34)
[INFO] [stdout]     src/lib.rs - (line 40)
[INFO] [stdout]     src/object/get_object.rs - object::get_object::GetObject::download_to_stream (line 134)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "eb7ba7aa6243cc2f2e154e08254b0d11c1fd6d433307ae36826933bf3399fc4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb7ba7aa6243cc2f2e154e08254b0d11c1fd6d433307ae36826933bf3399fc4d", kill_on_drop: false }`
[INFO] [stdout] eb7ba7aa6243cc2f2e154e08254b0d11c1fd6d433307ae36826933bf3399fc4d
[INFO] testing aliyun-oss-rs-0.0.5 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate aliyun-oss-rs 0.0.5 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate aliyun-oss-rs 0.0.5 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate aliyun-oss-rs 0.0.5
[INFO] finished tweaking crates.io crate aliyun-oss-rs 0.0.5
[INFO] tweaked toml for crates.io crate aliyun-oss-rs 0.0.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 88a1a171b8a80ed9cfb768331619d89ff79107a5725dd81aa70b752034c56d80
[INFO] running `Command { std: "docker" "start" "-a" "88a1a171b8a80ed9cfb768331619d89ff79107a5725dd81aa70b752034c56d80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "88a1a171b8a80ed9cfb768331619d89ff79107a5725dd81aa70b752034c56d80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88a1a171b8a80ed9cfb768331619d89ff79107a5725dd81aa70b752034c56d80", kill_on_drop: false }`
[INFO] [stdout] 88a1a171b8a80ed9cfb768331619d89ff79107a5725dd81aa70b752034c56d80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 548318150e93705d5d99b89cfb2d6d771f2e3fe1fd36eac4d1f9a02cf5f22a23
[INFO] running `Command { std: "docker" "start" "-a" "548318150e93705d5d99b89cfb2d6d771f2e3fe1fd36eac4d1f9a02cf5f22a23", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.28
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling openssl v0.10.62
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling uuid v1.6.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling cfb v0.7.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling xml-rs v0.8.19
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling iana-time-zone v0.1.59
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling infer v0.15.0
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling base64 v0.21.5
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling serde-xml-rs v0.6.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling aliyun-oss-rs v0.0.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.49s
[INFO] running `Command { std: "docker" "inspect" "548318150e93705d5d99b89cfb2d6d771f2e3fe1fd36eac4d1f9a02cf5f22a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "548318150e93705d5d99b89cfb2d6d771f2e3fe1fd36eac4d1f9a02cf5f22a23", kill_on_drop: false }`
[INFO] [stdout] 548318150e93705d5d99b89cfb2d6d771f2e3fe1fd36eac4d1f9a02cf5f22a23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17da2ca1c4ecbac2a917aafd551053f3653c92f8d0aef079af218608c315ae03
[INFO] running `Command { std: "docker" "start" "-a" "17da2ca1c4ecbac2a917aafd551053f3653c92f8d0aef079af218608c315ae03", kill_on_drop: false }`
[INFO] [stderr]    Compiling aliyun-oss-rs v0.0.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.23s
[INFO] running `Command { std: "docker" "inspect" "17da2ca1c4ecbac2a917aafd551053f3653c92f8d0aef079af218608c315ae03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17da2ca1c4ecbac2a917aafd551053f3653c92f8d0aef079af218608c315ae03", kill_on_drop: false }`
[INFO] [stdout] 17da2ca1c4ecbac2a917aafd551053f3653c92f8d0aef079af218608c315ae03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 904fba4227d6c6d6c9d734b80a709175f6f99935a77da1fd30a0b3ef302b43a6
[INFO] running `Command { std: "docker" "start" "-a" "904fba4227d6c6d6c9d734b80a709175f6f99935a77da1fd30a0b3ef302b43a6", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aliyun_oss_rs-5656b94238fe5470)
[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 aliyun-oss-rs
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/client/list_buckets.rs - client::list_buckets::ListBuckets (line 58) ... FAILED
[INFO] [stdout] test src/client/describe_regions.rs - client::describe_regions::DescribeRegions (line 35) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 34) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 40) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stdout] test src/object/get_object.rs - object::get_object::GetObject::download_to_stream (line 134) ... FAILED
[INFO] [stdout] test src/object/multipart_upload_part.rs - object::multipart_upload_part::UploadPart::set_callback (line 28) ... ok
[INFO] [stdout] test src/object/append_object.rs - object::append_object::AppendObject::set_callback (line 90) ... ok
[INFO] [stdout] test src/object/put_object.rs - object::put_object::PutObject::set_callback (line 86) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:23:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | let bucket_list = client.list_buckets().set_prefix("rust").send().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/lib.rs:23:67
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_22_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] 3 | let bucket_list = client.list_buckets().set_prefix("rust").send().await;
[INFO] [stdout]   |                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client/list_buckets.rs - client::list_buckets::ListBuckets (line 58) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OssClient`
[INFO] [stdout]  --> src/client/list_buckets.rs:59:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let client = OssClient::new("AccessKey ID","AccessKey Secret","oss-cn-beijing.aliyuncs.com");
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared type `OssClient`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use aliyun_oss_rs::OssClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/client/list_buckets.rs:60:63
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_list_buckets_rs_58_0() {
[INFO] [stdout]   |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] 3 | let client = OssClient::new("AccessKey ID","AccessKey Secret","oss-cn-beijing.aliyuncs.com");
[INFO] [stdout] 4 | let buckets = client.list_buckets().set_prefix("rust").send().await;
[INFO] [stdout]   |                                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/client/describe_regions.rs - client::describe_regions::DescribeRegions (line 35) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OssClient`
[INFO] [stdout]  --> src/client/describe_regions.rs:36:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let client = OssClient::new("AccessKey ID","AccessKey Secret","oss-cn-beijing.aliyuncs.com");
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared type `OssClient`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use aliyun_oss_rs::OssClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/client/describe_regions.rs:39:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_describe_regions_rs_35_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 |                     .send().await;      
[INFO] [stdout]   |                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/lib.rs - (line 13) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OssClient`
[INFO] [stdout]  --> src/lib.rs:14:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let client = OssClient::new(
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared type `OssClient`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use aliyun_oss_rs::OssClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 34) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `bucket` in this scope
[INFO] [stdout]  --> src/lib.rs:35:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let object = bucket.object("rust.png");
[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/lib.rs:36:62
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_34_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] 3 | let object = bucket.object("rust.png");
[INFO] [stdout] 4 | let result = object.put_object().send_file("Your File Path").await;
[INFO] [stdout]   |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 40) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `object` in this scope
[INFO] [stdout]  --> src/lib.rs:44:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let url = object.get_object_url().url(date);
[INFO] [stdout]   |           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 28) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:29:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let bucket = client.bucket("for-rs-test","oss-cn-zhangjiakou.aliyuncs.com");
[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/lib.rs:30:42
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] 3 | let bucket = client.bucket("for-rs-test","oss-cn-zhangjiakou.aliyuncs.com");
[INFO] [stdout] 4 | let files = bucket.list_objects().send().await;
[INFO] [stdout]   |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/object/get_object.rs - object::get_object::GetObject::download_to_stream (line 134) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `object` in this scope
[INFO] [stdout]  --> src/object/get_object.rs:137:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut stream = object.get_object().download_to_stream().await.unwrap();
[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/object/get_object.rs:137:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_object_get_object_rs_134_0() {
[INFO] [stdout]   |                                         -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let mut stream = object.get_object().download_to_stream().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/object/get_object.rs:138:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_object_get_object_rs_134_0() {
[INFO] [stdout]   |                                         -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | while let Some(item) = stream.next().await {
[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: E0425, 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/client/describe_regions.rs - client::describe_regions::DescribeRegions (line 35)
[INFO] [stdout]     src/client/list_buckets.rs - client::list_buckets::ListBuckets (line 58)
[INFO] [stdout]     src/lib.rs - (line 13)
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/lib.rs - (line 28)
[INFO] [stdout]     src/lib.rs - (line 34)
[INFO] [stdout]     src/lib.rs - (line 40)
[INFO] [stdout]     src/object/get_object.rs - object::get_object::GetObject::download_to_stream (line 134)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "904fba4227d6c6d6c9d734b80a709175f6f99935a77da1fd30a0b3ef302b43a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "904fba4227d6c6d6c9d734b80a709175f6f99935a77da1fd30a0b3ef302b43a6", kill_on_drop: false }`
[INFO] [stdout] 904fba4227d6c6d6c9d734b80a709175f6f99935a77da1fd30a0b3ef302b43a6
