[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] 3eb230efb9094748fb50a014ce986f14d93caa79
[INFO] testing milen-denev/cloudflare-r2-rs against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilen-denev%2Fcloudflare-r2-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/milen-denev/cloudflare-r2-rs on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 78af539b183ab392f582c7e2cc6b3e91b7de3b789bd8c7de8d7dd8c12d85b8a0
[INFO] running `Command { std: "docker" "start" "-a" "78af539b183ab392f582c7e2cc6b3e91b7de3b789bd8c7de8d7dd8c12d85b8a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78af539b183ab392f582c7e2cc6b3e91b7de3b789bd8c7de8d7dd8c12d85b8a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78af539b183ab392f582c7e2cc6b3e91b7de3b789bd8c7de8d7dd8c12d85b8a0", kill_on_drop: false }`
[INFO] [stdout] 78af539b183ab392f582c7e2cc6b3e91b7de3b789bd8c7de8d7dd8c12d85b8a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e16ac8cf4e8a0a865bf92d72dfdd54fc3818a27dc29beffde94495f67c3dae2
[INFO] running `Command { std: "docker" "start" "-a" "9e16ac8cf4e8a0a865bf92d72dfdd54fc3818a27dc29beffde94495f67c3dae2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling vsimd v0.8.0
[INFO] [stderr]    Compiling outref v0.5.1
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling cc v1.2.2
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling foldhash v0.1.3
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling der v0.6.1
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling bytes-utils v0.1.4
[INFO] [stderr]    Compiling base64-simd v0.8.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling aws-types v1.3.3
[INFO] [stderr]    Compiling crc32c v0.6.8
[INFO] [stderr]    Compiling xmlparser v0.13.6
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling spki v0.6.0
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling pkcs8 v0.9.0
[INFO] [stderr]    Compiling crypto-bigint v0.4.9
[INFO] [stderr]    Compiling ff v0.12.1
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling group v0.12.1
[INFO] [stderr]    Compiling sec1 v0.3.0
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling aws-smithy-xml v0.60.9
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling elliptic-curve v0.12.3
[INFO] [stderr]    Compiling rfc6979 v0.3.1
[INFO] [stderr]    Compiling ecdsa v0.14.8
[INFO] [stderr]    Compiling p256 v0.11.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling aws-smithy-async v1.2.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling aws-smithy-types v1.2.9
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling aws-smithy-runtime-api v1.7.3
[INFO] [stderr]    Compiling aws-smithy-eventstream v0.60.5
[INFO] [stderr]    Compiling aws-smithy-json v0.61.1
[INFO] [stderr]    Compiling aws-smithy-query v0.60.7
[INFO] [stderr]    Compiling aws-smithy-json v0.60.7
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling aws-smithy-http v0.60.11
[INFO] [stderr]    Compiling aws-credential-types v1.2.1
[INFO] [stderr]    Compiling aws-sigv4 v1.2.6
[INFO] [stderr]    Compiling aws-smithy-checksums v0.60.13
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling aws-smithy-runtime v1.7.4
[INFO] [stderr]    Compiling aws-runtime v1.4.4
[INFO] [stderr]    Compiling aws-sdk-ssooidc v1.51.0
[INFO] [stderr]    Compiling aws-sdk-sts v1.51.0
[INFO] [stderr]    Compiling aws-sdk-sso v1.50.0
[INFO] [stderr]    Compiling aws-sdk-s3 v1.65.0
[INFO] [stderr]    Compiling aws-config v1.5.10
[INFO] [stderr]    Compiling cloudflare-r2-rs v0.6.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/r2.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |                S3_CONFIG.clone_from(&s3_config);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/r2.rs:92:16
[INFO] [stdout]    |
[INFO] [stdout] 92 |                S3_CONFIG.clone_from(&s3_config);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s
[INFO] running `Command { std: "docker" "inspect" "9e16ac8cf4e8a0a865bf92d72dfdd54fc3818a27dc29beffde94495f67c3dae2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e16ac8cf4e8a0a865bf92d72dfdd54fc3818a27dc29beffde94495f67c3dae2", kill_on_drop: false }`
[INFO] [stdout] 9e16ac8cf4e8a0a865bf92d72dfdd54fc3818a27dc29beffde94495f67c3dae2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 346244d27e52ae2df455e6917ab399e2873b03a62933856fa94ad27f912f7e84
[INFO] running `Command { std: "docker" "start" "-a" "346244d27e52ae2df455e6917ab399e2873b03a62933856fa94ad27f912f7e84", kill_on_drop: false }`
[INFO] [stderr]    Compiling cloudflare-r2-rs v0.6.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/r2.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |                S3_CONFIG.clone_from(&s3_config);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/r2.rs:92:16
[INFO] [stdout]    |
[INFO] [stdout] 92 |                S3_CONFIG.clone_from(&s3_config);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/r2.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |                S3_CONFIG.clone_from(&s3_config);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/r2.rs:92:16
[INFO] [stdout]    |
[INFO] [stdout] 92 |                S3_CONFIG.clone_from(&s3_config);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.93s
[INFO] running `Command { std: "docker" "inspect" "346244d27e52ae2df455e6917ab399e2873b03a62933856fa94ad27f912f7e84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "346244d27e52ae2df455e6917ab399e2873b03a62933856fa94ad27f912f7e84", kill_on_drop: false }`
[INFO] [stdout] 346244d27e52ae2df455e6917ab399e2873b03a62933856fa94ad27f912f7e84
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] da5ad4dc38df41ed27123b9454e2620d847da12364b40d6c0e706fc70bd69039
[INFO] running `Command { std: "docker" "start" "-a" "da5ad4dc38df41ed27123b9454e2620d847da12364b40d6c0e706fc70bd69039", kill_on_drop: false }`
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/r2.rs:55:16
[INFO] [stderr]    |
[INFO] [stderr] 55 |                S3_CONFIG.clone_from(&s3_config);
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/r2.rs:92:16
[INFO] [stderr]    |
[INFO] [stderr] 92 |                S3_CONFIG.clone_from(&s3_config);
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: `cloudflare-r2-rs` (lib) generated 2 warnings
[INFO] [stderr] warning: `cloudflare-r2-rs` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cloudflare_r2_rs-cfb195da3ea5a396)
[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 146) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - r2 (line 3) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `R2Manager`
[INFO] [stdout]  --> src/lib.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | let r2_manager = R2Manager::new(
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `R2Manager`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use cloudflare_r2_rs::r2::R2Manager;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `R2Manager`
[INFO] [stdout]   --> src/lib.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 | let _r2_manager2 = R2Manager::new_with_region(
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `R2Manager`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + use cloudflare_r2_rs::r2::R2Manager;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout]  3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 22 |     "<region>").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:25:83
[INFO] [stdout]    |
[INFO] [stdout]  3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 25 | 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:26:36
[INFO] [stdout]    |
[INFO] [stdout]  3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 26 | 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] 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/r2.rs - r2::R2Manager::upload (line 146) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `r2manager` in this scope
[INFO] [stdout]    --> src/r2.rs:148:1
[INFO] [stdout]     |
[INFO] [stdout] 148 | 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 146)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "da5ad4dc38df41ed27123b9454e2620d847da12364b40d6c0e706fc70bd69039", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da5ad4dc38df41ed27123b9454e2620d847da12364b40d6c0e706fc70bd69039", kill_on_drop: false }`
[INFO] [stdout] da5ad4dc38df41ed27123b9454e2620d847da12364b40d6c0e706fc70bd69039
