[INFO] fetching crate s3-wasi-http 0.2.1...
[INFO] testing s3-wasi-http-0.2.1 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate s3-wasi-http 0.2.1 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate s3-wasi-http 0.2.1
[INFO] finished tweaking crates.io crate s3-wasi-http 0.2.1
[INFO] tweaked toml for crates.io crate s3-wasi-http 0.2.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate s3-wasi-http 0.2.1 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate s3-wasi-http 0.2.1 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded waker-fn v1.2.0
[INFO] [stderr]   Downloaded xml v0.8.20
[INFO] [stderr]   Downloaded wstd-macro v0.6.6
[INFO] [stderr]   Downloaded wstd v0.6.6
[INFO] [stderr]   Downloaded futures-lite v1.13.0
[INFO] [stderr]   Downloaded async-task v4.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff
[INFO] running `Command { std: "docker" "start" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling wit-bindgen v0.57.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling wasip2 v1.0.3+wasi-0.2.9
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling xml v0.8.20
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling wstd-macro v0.6.6
[INFO] [stderr]    Compiling wstd v0.6.6
[INFO] [stderr]    Compiling s3-wasi-http v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/api/list_objects_v2.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::i32;
[INFO] [stdout]   |          ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `object_lock_legal_hold` is never read
[INFO] [stdout]    --> src/api/x_amz_headers.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout]  88 | pub struct XAmzHeadersBuilder {
[INFO] [stdout]     |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 101 |     object_lock_legal_hold: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 19.47s
[INFO] running `Command { std: "docker" "inspect" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling s3-wasi-http v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/api/list_objects_v2.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::i32;
[INFO] [stdout]   |          ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `object_lock_legal_hold` is never read
[INFO] [stdout]    --> src/api/x_amz_headers.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout]  88 | pub struct XAmzHeadersBuilder {
[INFO] [stdout]     |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 101 |     object_lock_legal_hold: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/api/list_objects_v2.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::i32;
[INFO] [stdout]   |          ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `object_lock_legal_hold` is never read
[INFO] [stdout]    --> src/api/x_amz_headers.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout]  88 | pub struct XAmzHeadersBuilder {
[INFO] [stdout]     |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 101 |     object_lock_legal_hold: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type
[INFO] [stderr]  --> src/api/list_objects_v2.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::i32;
[INFO] [stderr]   |          ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `object_lock_legal_hold` is never read
[INFO] [stderr]    --> src/api/x_amz_headers.rs:101:5
[INFO] [stderr]     |
[INFO] [stderr]  88 | pub struct XAmzHeadersBuilder {
[INFO] [stderr]     |            ------------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 101 |     object_lock_legal_hold: bool,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `s3-wasi-http` (lib) generated 2 warnings
[INFO] [stderr] warning: `s3-wasi-http` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/s3_wasi_http-ebe82aab8880747d)
[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 s3_wasi_http
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/lib.rs - S3Client::put_object (line 312) ... FAILED
[INFO] [stdout] test src/lib.rs - S3Client::get_object (line 206) ... FAILED
[INFO] [stdout] test src/lib.rs - S3Client::list_buckets (line 242) ... FAILED
[INFO] [stdout] test src/lib.rs - S3Client::send (line 128) ... FAILED
[INFO] [stdout] test src/lib.rs - S3Client::list_objects_v2 (line 277) ... FAILED
[INFO] [stdout] test src/lib.rs - S3Client::head_object (line 173) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - S3Client::put_object (line 312) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `File` in this scope
[INFO] [stdout]    --> src/lib.rs:317:16
[INFO] [stdout]     |
[INFO] [stdout] 317 | let mut file = File::open("myfile.txt")?;
[INFO] [stdout]     |                ^^^^ use of undeclared type `File`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 312 + use std::fs::File;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: cannot find value `self` in this scope
[INFO] [stdout]    --> src/lib.rs:321:12
[INFO] [stdout]     |
[INFO] [stdout] 312 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_312_0() {
[INFO] [stdout]     |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 321 | let resp = self.list_buckets(PutObjectRequest {
[INFO] [stdout]     |            ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: a module named `self` exists in another namespace
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PutObjectRequest` in this scope
[INFO] [stdout]    --> src/lib.rs:321:30
[INFO] [stdout]     |
[INFO] [stdout] 321 | let resp = self.list_buckets(PutObjectRequest {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `S3Client` in this scope
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 315 | let client = S3Client::new_from_env();
[INFO] [stdout]     |              ^^^^^^^^ use of undeclared type `S3Client`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function `assert_eq` in this scope
[INFO] [stdout]    --> src/lib.rs:325:1
[INFO] [stdout]     |
[INFO] [stdout] 325 | assert_eq(resp.status(), StatusCode::OK);
[INFO] [stdout]     | ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout]     = note: a macro named `assert_eq` exists in another namespace
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 325 | assert_eq!(resp.status(), StatusCode::OK);
[INFO] [stdout]     |          +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0423, E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - S3Client::get_object (line 206) stdout ----
[INFO] [stdout] error[E0424]: cannot find value `self` in this scope
[INFO] [stdout]    --> src/lib.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_206_0() {
[INFO] [stdout]     |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 211 | let resp = self.get_object(GetObjectRequest::from_key("myobject"))?;
[INFO] [stdout]     |            ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: a module named `self` exists in another namespace
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `S3Client` in this scope
[INFO] [stdout]    --> src/lib.rs:209:14
[INFO] [stdout]     |
[INFO] [stdout] 209 | let client = S3Client::new_from_env();
[INFO] [stdout]     |              ^^^^^^^^ use of undeclared type `S3Client`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `GetObjectRequest` in this scope
[INFO] [stdout]    --> src/lib.rs:211:28
[INFO] [stdout]     |
[INFO] [stdout] 211 | let resp = self.get_object(GetObjectRequest::from_key("myobject"))?;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `GetObjectRequest`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - S3Client::list_buckets (line 242) stdout ----
[INFO] [stdout] error[E0424]: cannot find value `self` in this scope
[INFO] [stdout]    --> src/lib.rs:247:12
[INFO] [stdout]     |
[INFO] [stdout] 242 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_242_0() {
[INFO] [stdout]     |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 247 | let resp = self.list_buckets(ListBucketsRequest::default())?;
[INFO] [stdout]     |            ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: a module named `self` exists in another namespace
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `S3Client` in this scope
[INFO] [stdout]    --> src/lib.rs:245:14
[INFO] [stdout]     |
[INFO] [stdout] 245 | let client = S3Client::new_from_env();
[INFO] [stdout]     |              ^^^^^^^^ use of undeclared type `S3Client`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ListBucketsRequest` in this scope
[INFO] [stdout]    --> src/lib.rs:247:30
[INFO] [stdout]     |
[INFO] [stdout] 247 | let resp = self.list_buckets(ListBucketsRequest::default())?;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^ use of undeclared type `ListBucketsRequest`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - S3Client::send (line 128) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GetObjectRequest` in this scope
[INFO] [stdout]    --> src/lib.rs:131:42
[INFO] [stdout]     |
[INFO] [stdout] 131 | let request = client.new_request_builder(GetObjectRequest {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `S3Client` in this scope
[INFO] [stdout]    --> src/lib.rs:129:14
[INFO] [stdout]     |
[INFO] [stdout] 129 | let client = S3Client::new_from_env();
[INFO] [stdout]     |              ^^^^^^^^ use of undeclared type `S3Client`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - S3Client::list_objects_v2 (line 277) stdout ----
[INFO] [stdout] error[E0424]: cannot find value `self` in this scope
[INFO] [stdout]    --> src/lib.rs:282:12
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_277_0() {
[INFO] [stdout]     |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 282 | let resp = self.list_objects_v2(ListObjectsV2Request::default())?;
[INFO] [stdout]     |            ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: a module named `self` exists in another namespace
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `S3Client` in this scope
[INFO] [stdout]    --> src/lib.rs:280:14
[INFO] [stdout]     |
[INFO] [stdout] 280 | let client = S3Client::new_from_env();
[INFO] [stdout]     |              ^^^^^^^^ use of undeclared type `S3Client`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ListObjectsV2Request` in this scope
[INFO] [stdout]    --> src/lib.rs:282:33
[INFO] [stdout]     |
[INFO] [stdout] 282 | let resp = self.list_objects_v2(ListObjectsV2Request::default())?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ListObjectsV2Request`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - S3Client::head_object (line 173) stdout ----
[INFO] [stdout] error[E0424]: cannot find value `self` in this scope
[INFO] [stdout]    --> src/lib.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_173_0() {
[INFO] [stdout]     |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 178 | let resp = self.head_object(HeadObjectRequest::from_key("myobject"))?;
[INFO] [stdout]     |            ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: a module named `self` exists in another namespace
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `S3Client` in this scope
[INFO] [stdout]    --> src/lib.rs:176:14
[INFO] [stdout]     |
[INFO] [stdout] 176 | let client = S3Client::new_from_env();
[INFO] [stdout]     |              ^^^^^^^^ use of undeclared type `S3Client`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HeadObjectRequest` in this scope
[INFO] [stdout]    --> src/lib.rs:178:29
[INFO] [stdout]     |
[INFO] [stdout] 178 | let resp = self.head_object(HeadObjectRequest::from_key("myobject"))?;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ use of undeclared type `HeadObjectRequest`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function `assert_eq` in this scope
[INFO] [stdout]    --> src/lib.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | assert_eq(resp.status(), StatusCode::OK);
[INFO] [stdout]     | ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout]     = note: a macro named `assert_eq` exists in another namespace
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 179 | assert_eq!(resp.status(), StatusCode::OK);
[INFO] [stdout]     |          +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - S3Client::get_object (line 206)
[INFO] [stdout]     src/lib.rs - S3Client::head_object (line 173)
[INFO] [stdout]     src/lib.rs - S3Client::list_buckets (line 242)
[INFO] [stdout]     src/lib.rs - S3Client::list_objects_v2 (line 277)
[INFO] [stdout]     src/lib.rs - S3Client::put_object (line 312)
[INFO] [stdout]     src/lib.rs - S3Client::send (line 128)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.44s; merged doctests compilation took 0.21s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff", kill_on_drop: false }`
[INFO] [stdout] 9a39175ee80391a82c67db23d3f6b615db5b98da692caa6fa80e3fdc28a668ff
