[INFO] fetching crate yookassa-rs 1.0.1... [INFO] testing yookassa-rs-1.0.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate yookassa-rs 1.0.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate yookassa-rs 1.0.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate yookassa-rs 1.0.1 [INFO] tweaked toml for crates.io crate yookassa-rs 1.0.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yookassa-rs 1.0.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yookassa-rs 1.0.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl v0.10.72 [INFO] [stderr] Downloaded cc v1.2.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0747e5a6ac19a598a6d788721a92493bfbe9ddfc00a6a878733a293810b46f2c [INFO] running `Command { std: "docker" "start" "-a" "0747e5a6ac19a598a6d788721a92493bfbe9ddfc00a6a878733a293810b46f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0747e5a6ac19a598a6d788721a92493bfbe9ddfc00a6a878733a293810b46f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0747e5a6ac19a598a6d788721a92493bfbe9ddfc00a6a878733a293810b46f2c", kill_on_drop: false }` [INFO] [stdout] 0747e5a6ac19a598a6d788721a92493bfbe9ddfc00a6a878733a293810b46f2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eebad96e938bed5759059f35c9efe83b42b2646c9805e93e9ca0a518655d806 [INFO] running `Command { std: "docker" "start" "-a" "8eebad96e938bed5759059f35c9efe83b42b2646c9805e93e9ca0a518655d806", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [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 icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.8 [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 v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling yookassa-rs v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/client.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn request>(&self, method: Method, path: T) -> YookassaRequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn request>(&self, method: Method, path: T) -> YookassaRequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.28s [INFO] running `Command { std: "docker" "inspect" "8eebad96e938bed5759059f35c9efe83b42b2646c9805e93e9ca0a518655d806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eebad96e938bed5759059f35c9efe83b42b2646c9805e93e9ca0a518655d806", kill_on_drop: false }` [INFO] [stdout] 8eebad96e938bed5759059f35c9efe83b42b2646c9805e93e9ca0a518655d806 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c3df3a10a47e282ced52941529f2480715ff3ec8b329b774f1f586341020dae [INFO] running `Command { std: "docker" "start" "-a" "9c3df3a10a47e282ced52941529f2480715ff3ec8b329b774f1f586341020dae", kill_on_drop: false }` [INFO] [stderr] Compiling yookassa-rs v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/client.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn request>(&self, method: Method, path: T) -> YookassaRequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn request>(&self, method: Method, path: T) -> YookassaRequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/client.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn request>(&self, method: Method, path: T) -> YookassaRequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn request>(&self, method: Method, path: T) -> YookassaRequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "9c3df3a10a47e282ced52941529f2480715ff3ec8b329b774f1f586341020dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c3df3a10a47e282ced52941529f2480715ff3ec8b329b774f1f586341020dae", kill_on_drop: false }` [INFO] [stdout] 9c3df3a10a47e282ced52941529f2480715ff3ec8b329b774f1f586341020dae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e28e6e339e207e1010629d3d1760aed3fb46f1a323984e9ddd5691daaec3ed7 [INFO] running `Command { std: "docker" "start" "-a" "6e28e6e339e207e1010629d3d1760aed3fb46f1a323984e9ddd5691daaec3ed7", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/client.rs:114:35 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn request>(&self, method: Method, path: T) -> YookassaRequestBuilder { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 114 | pub fn request>(&self, method: Method, path: T) -> YookassaRequestBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `yookassa-rs` (lib) generated 1 warning (run `cargo fix --lib -p yookassa-rs` to apply 1 suggestion) [INFO] [stderr] warning: `yookassa-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yookassa_rs-f1829e3fc5cb9af5) [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] Running tests/builder.rs (/opt/rustwide/target/debug/deps/builder-394baffc76fe648c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::builder ... ok [INFO] [stdout] test tests::get_paymant ... ok [INFO] [stdout] test tests::get_payments ... ok [INFO] [stdout] test tests::with_custom_client ... ok [INFO] [stdout] test tests::create_payment ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests yookassa_rs [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/auth.rs - auth::BasicAuth (line 29) ... FAILED [INFO] [stdout] test src/auth.rs - auth::Authentication (line 9) ... FAILED [INFO] [stdout] test src/auth.rs - auth::OAuth (line 63) ... FAILED [INFO] [stdout] test src/client.rs - client::YookassaClientBuilder (line 17) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/auth.rs - auth::BasicAuth (line 29) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `YookassaClient` in this scope [INFO] [stdout] --> src/auth.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 5 | let client: YookassaClient = YookassaClientBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use yookassa_rs::prelude::YookassaClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicAuth` in this scope [INFO] [stdout] --> src/auth.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 5 | let client: YookassaClient = YookassaClientBuilder::default() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use yookassa_rs::prelude::BasicAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `YookassaClientBuilder` [INFO] [stdout] --> src/auth.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 5 | let client: YookassaClient = YookassaClientBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `YookassaClientBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use yookassa_rs::prelude::YookassaClientBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicAuth` [INFO] [stdout] --> src/auth.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 6 | .auth(BasicAuth::new(secret_key, shop_id)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BasicAuth` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use yookassa_rs::prelude::BasicAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/auth.rs - auth::Authentication (line 9) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/auth.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 4 | id: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/auth.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 5 | key: Uuid [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Authentication` in this scope [INFO] [stdout] --> src/auth.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Authentication for MyAuth { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use yookassa_rs::prelude::Authentication; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RequestBuilder` in this scope [INFO] [stdout] --> src/auth.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 9 | fn apply(&self, request: RequestBuilder) -> RequestBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RequestBuilder` in this scope [INFO] [stdout] --> src/auth.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 9 | fn apply(&self, request: RequestBuilder) -> RequestBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/auth.rs - auth::OAuth (line 63) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `YookassaClient` in this scope [INFO] [stdout] --> src/auth.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 4 | let client: YookassaClient = YookassaClientBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use yookassa_rs::prelude::YookassaClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OAuth` in this scope [INFO] [stdout] --> src/auth.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 4 | let client: YookassaClient = YookassaClientBuilder::default() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use yookassa_rs::prelude::OAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `YookassaClientBuilder` [INFO] [stdout] --> src/auth.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 4 | let client: YookassaClient = YookassaClientBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `YookassaClientBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use yookassa_rs::prelude::YookassaClientBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OAuth` [INFO] [stdout] --> src/auth.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 5 | .auth(OAuth::new(token)) [INFO] [stdout] | ^^^^^ use of undeclared type `OAuth` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use yookassa_rs::prelude::OAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/auth.rs - auth::Authentication (line 9) [INFO] [stdout] src/auth.rs - auth::BasicAuth (line 29) [INFO] [stdout] src/auth.rs - auth::OAuth (line 63) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.28s; merged doctests compilation took 0.11s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6e28e6e339e207e1010629d3d1760aed3fb46f1a323984e9ddd5691daaec3ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e28e6e339e207e1010629d3d1760aed3fb46f1a323984e9ddd5691daaec3ed7", kill_on_drop: false }` [INFO] [stdout] 6e28e6e339e207e1010629d3d1760aed3fb46f1a323984e9ddd5691daaec3ed7