[INFO] fetching crate yookassa-rs 1.0.1... [INFO] testing yookassa-rs-1.0.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate yookassa-rs 1.0.1 into /workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yookassa-rs 1.0.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc221146e794acd3fb00f741bc91ff211124428a6bd6bc5fe365bce296b7f498 [INFO] running `Command { std: "docker" "start" "-a" "fc221146e794acd3fb00f741bc91ff211124428a6bd6bc5fe365bce296b7f498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc221146e794acd3fb00f741bc91ff211124428a6bd6bc5fe365bce296b7f498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc221146e794acd3fb00f741bc91ff211124428a6bd6bc5fe365bce296b7f498", kill_on_drop: false }` [INFO] [stdout] fc221146e794acd3fb00f741bc91ff211124428a6bd6bc5fe365bce296b7f498 [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=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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c6feaca07412e7531b85e7bf05e1dd4ab30ca7b09e5b8c29a032687686ce584 [INFO] running `Command { std: "docker" "start" "-a" "3c6feaca07412e7531b85e7bf05e1dd4ab30ca7b09e5b8c29a032687686ce584", 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 litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [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 hashbrown v0.15.2 [INFO] [stderr] Compiling serde v1.0.219 [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 mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.107 [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 tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [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 h2 v0.4.8 [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 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 19.40s [INFO] running `Command { std: "docker" "inspect" "3c6feaca07412e7531b85e7bf05e1dd4ab30ca7b09e5b8c29a032687686ce584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c6feaca07412e7531b85e7bf05e1dd4ab30ca7b09e5b8c29a032687686ce584", kill_on_drop: false }` [INFO] [stdout] 3c6feaca07412e7531b85e7bf05e1dd4ab30ca7b09e5b8c29a032687686ce584 [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=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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8718b3a9135f39c8b8ae4b187e81c7c0ceed5006e3e9b712727e7c394a12dcdd [INFO] running `Command { std: "docker" "start" "-a" "8718b3a9135f39c8b8ae4b187e81c7c0ceed5006e3e9b712727e7c394a12dcdd", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "8718b3a9135f39c8b8ae4b187e81c7c0ceed5006e3e9b712727e7c394a12dcdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8718b3a9135f39c8b8ae4b187e81c7c0ceed5006e3e9b712727e7c394a12dcdd", kill_on_drop: false }` [INFO] [stdout] 8718b3a9135f39c8b8ae4b187e81c7c0ceed5006e3e9b712727e7c394a12dcdd [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=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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b533b238bebc1f297006d3ec0dde6fd51d4b26629e2b0e777ca9d6db7ebebaa [INFO] running `Command { std: "docker" "start" "-a" "0b533b238bebc1f297006d3ec0dde6fd51d4b26629e2b0e777ca9d6db7ebebaa", 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.10s [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::with_custom_client ... ok [INFO] [stdout] test tests::get_paymant ... ok [INFO] [stdout] test tests::get_payments ... 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.05s [INFO] [stdout] [INFO] [stderr] Doc-tests yookassa_rs [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/auth.rs - auth::OAuth (line 63) ... FAILED [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/client.rs - client::YookassaClientBuilder (line 17) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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.09s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.17s; merged doctests compilation took 0.08s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0b533b238bebc1f297006d3ec0dde6fd51d4b26629e2b0e777ca9d6db7ebebaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b533b238bebc1f297006d3ec0dde6fd51d4b26629e2b0e777ca9d6db7ebebaa", kill_on_drop: false }` [INFO] [stdout] 0b533b238bebc1f297006d3ec0dde6fd51d4b26629e2b0e777ca9d6db7ebebaa