[INFO] fetching crate cloudflare-r2-rs 0.6.5... [INFO] testing cloudflare-r2-rs-0.6.5 against beta-2024-09-05 for beta-1.82-1 [INFO] extracting crate cloudflare-r2-rs 0.6.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cloudflare-r2-rs 0.6.5 on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cloudflare-r2-rs 0.6.5 [INFO] finished tweaking crates.io crate cloudflare-r2-rs 0.6.5 [INFO] tweaked toml for crates.io crate cloudflare-r2-rs 0.6.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate cloudflare-r2-rs 0.6.5 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" "+beta-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b34b3a67157dfa0968dbc526bd80c47c4fd42475a4536044abcd78504cd4fc00 [INFO] running `Command { std: "docker" "start" "-a" "b34b3a67157dfa0968dbc526bd80c47c4fd42475a4536044abcd78504cd4fc00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b34b3a67157dfa0968dbc526bd80c47c4fd42475a4536044abcd78504cd4fc00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34b3a67157dfa0968dbc526bd80c47c4fd42475a4536044abcd78504cd4fc00", kill_on_drop: false }` [INFO] [stdout] b34b3a67157dfa0968dbc526bd80c47c4fd42475a4536044abcd78504cd4fc00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1dbc66ec857ecb808388bb6fb7b2d99913fb7847079b8ef51bcce9622a35438 [INFO] running `Command { std: "docker" "start" "-a" "b1dbc66ec857ecb808388bb6fb7b2d99913fb7847079b8ef51bcce9622a35438", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling aws-types v1.3.3 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling p256 v0.11.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling aws-smithy-xml v0.60.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling aws-smithy-async v1.2.1 [INFO] [stderr] Compiling aws-smithy-types v1.2.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling aws-smithy-eventstream v0.60.4 [INFO] [stderr] Compiling aws-smithy-json v0.60.7 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.7.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling aws-smithy-http v0.60.10 [INFO] [stderr] Compiling aws-credential-types v1.2.1 [INFO] [stderr] Compiling aws-sigv4 v1.2.3 [INFO] [stderr] Compiling aws-smithy-checksums v0.60.12 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling aws-smithy-runtime v1.7.1 [INFO] [stderr] Compiling aws-runtime v1.4.2 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.42.0 [INFO] [stderr] Compiling aws-sdk-sts v1.41.0 [INFO] [stderr] Compiling aws-sdk-sso v1.41.0 [INFO] [stderr] Compiling aws-sdk-s3 v1.48.0 [INFO] [stderr] Compiling aws-config v1.5.5 [INFO] [stderr] Compiling cloudflare-r2-rs v0.6.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "b1dbc66ec857ecb808388bb6fb7b2d99913fb7847079b8ef51bcce9622a35438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1dbc66ec857ecb808388bb6fb7b2d99913fb7847079b8ef51bcce9622a35438", kill_on_drop: false }` [INFO] [stdout] b1dbc66ec857ecb808388bb6fb7b2d99913fb7847079b8ef51bcce9622a35438 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d556067868dc7e939e8c9fdd6db9b3613732e9c0bf5ca8f4c3b5088ca5e21ad8 [INFO] running `Command { std: "docker" "start" "-a" "d556067868dc7e939e8c9fdd6db9b3613732e9c0bf5ca8f4c3b5088ca5e21ad8", kill_on_drop: false }` [INFO] [stderr] Compiling cloudflare-r2-rs v0.6.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.87s [INFO] running `Command { std: "docker" "inspect" "d556067868dc7e939e8c9fdd6db9b3613732e9c0bf5ca8f4c3b5088ca5e21ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d556067868dc7e939e8c9fdd6db9b3613732e9c0bf5ca8f4c3b5088ca5e21ad8", kill_on_drop: false }` [INFO] [stdout] d556067868dc7e939e8c9fdd6db9b3613732e9c0bf5ca8f4c3b5088ca5e21ad8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1a701b6b40fbd1072ae918c3506f0feea54fa14b83975c25d144ebc20b6a029 [INFO] running `Command { std: "docker" "start" "-a" "c1a701b6b40fbd1072ae918c3506f0feea54fa14b83975c25d144ebc20b6a029", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cloudflare_r2_rs-6bd239f83f11ce5b) [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/r2.rs - r2::R2Manager::upload (line 146) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - r2 (line 3) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 4 | 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] ---- 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] 4 | 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] 16 | 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] 21 | "").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] 24 | 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] 25 | 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] [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.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c1a701b6b40fbd1072ae918c3506f0feea54fa14b83975c25d144ebc20b6a029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a701b6b40fbd1072ae918c3506f0feea54fa14b83975c25d144ebc20b6a029", kill_on_drop: false }` [INFO] [stdout] c1a701b6b40fbd1072ae918c3506f0feea54fa14b83975c25d144ebc20b6a029