[INFO] fetching crate aliyun-oss-rs 0.0.5...
[INFO] testing aliyun-oss-rs-0.0.5 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate aliyun-oss-rs 0.0.5 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate aliyun-oss-rs 0.0.5 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 129 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding cfb v0.7.3 (latest: v0.10.0)
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding hyper-tls v0.5.0 (latest: v0.6.0)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding ring v0.16.20 (latest: v0.17.8)
[INFO] [stderr]       Adding spin v0.5.2 (latest: v0.9.8)
[INFO] [stderr]       Adding untrusted v0.7.1 (latest: v0.9.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded infer v0.15.0
[INFO] [stderr]   Downloaded cfb v0.7.3
[INFO] [stderr]   Downloaded serde-xml-rs v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c0d3aa1fd9d5d1b97fb28f6517bda1629a332f0656e037c48f54e86773b5840
[INFO] running `Command { std: "docker" "start" "-a" "1c0d3aa1fd9d5d1b97fb28f6517bda1629a332f0656e037c48f54e86773b5840", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c0d3aa1fd9d5d1b97fb28f6517bda1629a332f0656e037c48f54e86773b5840", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c0d3aa1fd9d5d1b97fb28f6517bda1629a332f0656e037c48f54e86773b5840", kill_on_drop: false }`
[INFO] [stdout] 1c0d3aa1fd9d5d1b97fb28f6517bda1629a332f0656e037c48f54e86773b5840
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3a49133bf931d674a5bc96b1c6bb909ed2174fefa6835922297b7959fbc20a9d
[INFO] running `Command { std: "docker" "start" "-a" "3a49133bf931d674a5bc96b1c6bb909ed2174fefa6835922297b7959fbc20a9d", kill_on_drop: false }`
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling xml-rs v0.8.20
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling cfb v0.7.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling infer v0.15.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling serde-xml-rs v0.6.0
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling tokio-util v0.7.11
[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] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]    --> src/request.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 297 |             expires.timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.75s
[INFO] running `Command { std: "docker" "inspect" "3a49133bf931d674a5bc96b1c6bb909ed2174fefa6835922297b7959fbc20a9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a49133bf931d674a5bc96b1c6bb909ed2174fefa6835922297b7959fbc20a9d", kill_on_drop: false }`
[INFO] [stdout] 3a49133bf931d674a5bc96b1c6bb909ed2174fefa6835922297b7959fbc20a9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf7bac4cea6100c1ad0cab0f1175435401c034cb0bee28bb77ae6b3e1322cb0f
[INFO] running `Command { std: "docker" "start" "-a" "bf7bac4cea6100c1ad0cab0f1175435401c034cb0bee28bb77ae6b3e1322cb0f", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]    --> src/request.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 297 |             expires.timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling aliyun-oss-rs v0.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]    --> src/request.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 297 |             expires.timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.04s
[INFO] running `Command { std: "docker" "inspect" "bf7bac4cea6100c1ad0cab0f1175435401c034cb0bee28bb77ae6b3e1322cb0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf7bac4cea6100c1ad0cab0f1175435401c034cb0bee28bb77ae6b3e1322cb0f", kill_on_drop: false }`
[INFO] [stdout] bf7bac4cea6100c1ad0cab0f1175435401c034cb0bee28bb77ae6b3e1322cb0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 31809f50cdc3b73e584c6e72752e15cb94956361cba83a2772db1d2f23ea8ab0
[INFO] running `Command { std: "docker" "start" "-a" "31809f50cdc3b73e584c6e72752e15cb94956361cba83a2772db1d2f23ea8ab0", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stderr]    --> src/request.rs:297:21
[INFO] [stderr]     |
[INFO] [stderr] 297 |             expires.timestamp(),
[INFO] [stderr]     |                     ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `aliyun-oss-rs` (lib) generated 1 warning
[INFO] [stderr] warning: `aliyun-oss-rs` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aliyun_oss_rs-dd595693ffb40de6)
[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 28) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 34) ... FAILED
[INFO] [stdout] test src/client/describe_regions.rs - client::describe_regions::DescribeRegions (line 35) ... FAILED
[INFO] [stdout] test src/client/list_buckets.rs - client::list_buckets::ListBuckets (line 58) ... FAILED
[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 22) ... 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 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/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/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/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 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 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 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/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.17s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "31809f50cdc3b73e584c6e72752e15cb94956361cba83a2772db1d2f23ea8ab0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31809f50cdc3b73e584c6e72752e15cb94956361cba83a2772db1d2f23ea8ab0", kill_on_drop: false }`
[INFO] [stdout] 31809f50cdc3b73e584c6e72752e15cb94956361cba83a2772db1d2f23ea8ab0
[INFO] testing aliyun-oss-rs-0.0.5 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate aliyun-oss-rs 0.0.5 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate aliyun-oss-rs 0.0.5 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 129 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding cfb v0.7.3 (latest: v0.10.0)
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding hyper-tls v0.5.0 (latest: v0.6.0)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding ring v0.16.20 (latest: v0.17.8)
[INFO] [stderr]       Adding spin v0.5.2 (latest: v0.9.8)
[INFO] [stderr]       Adding untrusted v0.7.1 (latest: v0.9.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da138860ddf3303126eac4ddff4faf3d99b3cf34dfb1692c472ee4ccbd771dd5
[INFO] running `Command { std: "docker" "start" "-a" "da138860ddf3303126eac4ddff4faf3d99b3cf34dfb1692c472ee4ccbd771dd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da138860ddf3303126eac4ddff4faf3d99b3cf34dfb1692c472ee4ccbd771dd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da138860ddf3303126eac4ddff4faf3d99b3cf34dfb1692c472ee4ccbd771dd5", kill_on_drop: false }`
[INFO] [stdout] da138860ddf3303126eac4ddff4faf3d99b3cf34dfb1692c472ee4ccbd771dd5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8c2a1dada81e27d5604b66c58ea7b8bf2d63d5385736af0668fee3d0aaa8f62
[INFO] running `Command { std: "docker" "start" "-a" "b8c2a1dada81e27d5604b66c58ea7b8bf2d63d5385736af0668fee3d0aaa8f62", kill_on_drop: false }`
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling cfb v0.7.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling xml-rs v0.8.20
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling infer v0.15.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling serde-xml-rs v0.6.0
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling tokio-util v0.7.11
[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] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]    --> src/request.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 297 |             expires.timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.67s
[INFO] running `Command { std: "docker" "inspect" "b8c2a1dada81e27d5604b66c58ea7b8bf2d63d5385736af0668fee3d0aaa8f62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8c2a1dada81e27d5604b66c58ea7b8bf2d63d5385736af0668fee3d0aaa8f62", kill_on_drop: false }`
[INFO] [stdout] b8c2a1dada81e27d5604b66c58ea7b8bf2d63d5385736af0668fee3d0aaa8f62
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 28117e1d1d748378375e185db6d3b129ab15c3057695b12890e7192a18995673
[INFO] running `Command { std: "docker" "start" "-a" "28117e1d1d748378375e185db6d3b129ab15c3057695b12890e7192a18995673", kill_on_drop: false }`
[INFO] [stderr]    Compiling aliyun-oss-rs v0.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]    --> src/request.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 297 |             expires.timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]    --> src/request.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 297 |             expires.timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "28117e1d1d748378375e185db6d3b129ab15c3057695b12890e7192a18995673", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28117e1d1d748378375e185db6d3b129ab15c3057695b12890e7192a18995673", kill_on_drop: false }`
[INFO] [stdout] 28117e1d1d748378375e185db6d3b129ab15c3057695b12890e7192a18995673
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dbe929578e7ce8f1253cb8a58f83ec5237584aac3456612a7ef5b4adb21f8c32
[INFO] running `Command { std: "docker" "start" "-a" "dbe929578e7ce8f1253cb8a58f83ec5237584aac3456612a7ef5b4adb21f8c32", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stderr]    --> src/request.rs:297:21
[INFO] [stderr]     |
[INFO] [stderr] 297 |             expires.timestamp(),
[INFO] [stderr]     |                     ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `aliyun-oss-rs` (lib) generated 1 warning
[INFO] [stderr] warning: `aliyun-oss-rs` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aliyun_oss_rs-dd595693ffb40de6)
[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 13) ... 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/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 34) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 40) ... FAILED
[INFO] [stdout] test src/client/list_buckets.rs - client::list_buckets::ListBuckets (line 58) ... 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 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/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/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/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/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/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.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "dbe929578e7ce8f1253cb8a58f83ec5237584aac3456612a7ef5b4adb21f8c32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbe929578e7ce8f1253cb8a58f83ec5237584aac3456612a7ef5b4adb21f8c32", kill_on_drop: false }`
[INFO] [stdout] dbe929578e7ce8f1253cb8a58f83ec5237584aac3456612a7ef5b4adb21f8c32
