[INFO] cloning repository https://github.com/milen-denev/cloudflare-r2-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/milen-denev/cloudflare-r2-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilen-denev%2Fcloudflare-r2-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilen-denev%2Fcloudflare-r2-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 87bb15ed8c7a8e7b56c4713acf9e32273857bf2d
[INFO] testing milen-denev/cloudflare-r2-rs against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilen-denev%2Fcloudflare-r2-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/milen-denev/cloudflare-r2-rs
[INFO] finished tweaking git repo https://github.com/milen-denev/cloudflare-r2-rs
[INFO] tweaked toml for git repo https://github.com/milen-denev/cloudflare-r2-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/milen-denev/cloudflare-r2-rs on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/milen-denev/cloudflare-r2-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] adda9677d4e70632599e41d2a8da629b38996fab4e4080309fd7d355a54c14d7
[INFO] running `Command { std: "docker" "start" "-a" "adda9677d4e70632599e41d2a8da629b38996fab4e4080309fd7d355a54c14d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "adda9677d4e70632599e41d2a8da629b38996fab4e4080309fd7d355a54c14d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adda9677d4e70632599e41d2a8da629b38996fab4e4080309fd7d355a54c14d7", kill_on_drop: false }`
[INFO] [stdout] adda9677d4e70632599e41d2a8da629b38996fab4e4080309fd7d355a54c14d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] d664eaa3ce75e47f445ed08df3d88fed5b85ae663e3203e2dfbfc1e5bf0fd36f
[INFO] running `Command { std: "docker" "start" "-a" "d664eaa3ce75e47f445ed08df3d88fed5b85ae663e3203e2dfbfc1e5bf0fd36f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling find-msvc-tools v0.1.7
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling outref v0.5.2
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling vsimd v0.8.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling bytes-utils v0.1.4
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling aws-lc-rs v1.15.2
[INFO] [stderr]    Compiling der v0.6.1
[INFO] [stderr]    Compiling rustls-pki-types v1.13.2
[INFO] [stderr]    Compiling base64ct v1.8.2
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling openssl-probe v0.2.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling base64-simd v0.8.0
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling spki v0.6.0
[INFO] [stderr]    Compiling aws-types v1.3.11
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling pkcs8 v0.9.0
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling xmlparser v0.13.6
[INFO] [stderr]    Compiling sec1 v0.3.0
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling aws-smithy-xml v0.60.13
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cc v1.2.52
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling ff v0.12.1
[INFO] [stderr]    Compiling crypto-bigint v0.4.9
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling group v0.12.1
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling rfc6979 v0.3.1
[INFO] [stderr]    Compiling elliptic-curve v0.12.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ecdsa v0.14.8
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling p256 v0.11.1
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling aws-lc-sys v0.35.0
[INFO] [stderr]    Compiling crc-fast v1.6.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling aws-smithy-async v1.2.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling aws-smithy-types v1.3.5
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling aws-smithy-runtime-api v1.9.3
[INFO] [stderr]    Compiling aws-smithy-eventstream v0.60.14
[INFO] [stderr]    Compiling aws-smithy-json v0.61.9
[INFO] [stderr]    Compiling aws-smithy-query v0.60.9
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling aws-smithy-http v0.62.6
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling aws-credential-types v1.2.11
[INFO] [stderr]    Compiling aws-smithy-observability v0.1.5
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling aws-sigv4 v1.3.7
[INFO] [stderr]    Compiling aws-smithy-checksums v0.63.12
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.8
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling aws-smithy-http-client v1.1.5
[INFO] [stderr]    Compiling aws-smithy-runtime v1.9.5
[INFO] [stderr]    Compiling aws-runtime v1.5.17
[INFO] [stderr]    Compiling aws-sdk-ssooidc v1.93.0
[INFO] [stderr]    Compiling aws-sdk-sts v1.95.0
[INFO] [stderr]    Compiling aws-sdk-sso v1.91.0
[INFO] [stderr]    Compiling aws-sdk-s3 v1.119.0
[INFO] [stderr]    Compiling aws-config v1.8.12
[INFO] [stderr]    Compiling cloudflare-r2-rs v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s
[INFO] running `Command { std: "docker" "inspect" "d664eaa3ce75e47f445ed08df3d88fed5b85ae663e3203e2dfbfc1e5bf0fd36f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d664eaa3ce75e47f445ed08df3d88fed5b85ae663e3203e2dfbfc1e5bf0fd36f", kill_on_drop: false }`
[INFO] [stdout] d664eaa3ce75e47f445ed08df3d88fed5b85ae663e3203e2dfbfc1e5bf0fd36f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] c0fa988fa92c2daf80955a5b84b24145a5bb8ccaa3ed36c7efb0f8acb5381daf
[INFO] running `Command { std: "docker" "start" "-a" "c0fa988fa92c2daf80955a5b84b24145a5bb8ccaa3ed36c7efb0f8acb5381daf", kill_on_drop: false }`
[INFO] [stderr]    Compiling cloudflare-r2-rs v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.38s
[INFO] running `Command { std: "docker" "inspect" "c0fa988fa92c2daf80955a5b84b24145a5bb8ccaa3ed36c7efb0f8acb5381daf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0fa988fa92c2daf80955a5b84b24145a5bb8ccaa3ed36c7efb0f8acb5381daf", kill_on_drop: false }`
[INFO] [stdout] c0fa988fa92c2daf80955a5b84b24145a5bb8ccaa3ed36c7efb0f8acb5381daf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 95fa19578dd0857a66084586155bdcc8638d547a3dd447bad44bdc32dea1746c
[INFO] running `Command { std: "docker" "start" "-a" "95fa19578dd0857a66084586155bdcc8638d547a3dd447bad44bdc32dea1746c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/cloudflare-r2-rs/0d5ecb1c081a1459/deps/cloudflare_r2_rs-0d5ecb1c081a1459)
[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 cloudflare_r2_rs
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - r2 (line 3) ... FAILED
[INFO] [stdout] test src/r2.rs - r2::R2Manager::upload (line 117) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - r2 (line 3) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | ).await;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 27 | ).await;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 36 | ).await;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:39:83
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 39 | r2_manager.upload("test", b"Hello world", Some("max-age=60"), Some("text/plain")).await;
[INFO] [stdout]    |                                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:40:36
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 40 | let bytes = r2_manager.get("test").await.unwrap();
[INFO] [stdout]    |                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/r2.rs - r2::R2Manager::upload (line 117) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `r2manager` in this scope
[INFO] [stdout]    --> src/r2.rs:119:1
[INFO] [stdout]     |
[INFO] [stdout] 119 | r2manager.upload("my_object_name", str_bytes, Some("max-age=60"), Some("text/plain"));
[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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - r2 (line 3)
[INFO] [stdout]     src/r2.rs - r2::R2Manager::upload (line 117)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.37s; merged doctests compilation took 0.19s
[INFO] running `Command { std: "docker" "inspect" "95fa19578dd0857a66084586155bdcc8638d547a3dd447bad44bdc32dea1746c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95fa19578dd0857a66084586155bdcc8638d547a3dd447bad44bdc32dea1746c", kill_on_drop: false }`
[INFO] [stdout] 95fa19578dd0857a66084586155bdcc8638d547a3dd447bad44bdc32dea1746c
