[INFO] cloning repository https://github.com/BFlex-financial/bfinancial-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BFlex-financial/bfinancial-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBFlex-financial%2Fbfinancial-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBFlex-financial%2Fbfinancial-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e4d96def8781f17cfde7a154d8130030a9caba48
[INFO] testing BFlex-financial/bfinancial-rs against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBFlex-financial%2Fbfinancial-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BFlex-financial/bfinancial-rs
[INFO] finished tweaking git repo https://github.com/BFlex-financial/bfinancial-rs
[INFO] tweaked toml for git repo https://github.com/BFlex-financial/bfinancial-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BFlex-financial/bfinancial-rs on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BFlex-financial/bfinancial-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustls-pki-types v1.8.0
[INFO] [stderr]   Downloaded rustls-pemfile v2.1.3
[INFO] [stderr]   Downloaded hyper-util v0.1.7
[INFO] [stderr]   Downloaded reqwest v0.12.7
[INFO] [stderr]   Downloaded h2 v0.4.6
[INFO] [stderr]   Downloaded hyper v1.4.1
[INFO] [stderr]   Downloaded tokio v1.39.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b0ae058cb4d50f6a1a3b10c5ceafbbe6a14747faa6c3f003c908ee5159dec1ba
[INFO] running `Command { std: "docker" "start" "-a" "b0ae058cb4d50f6a1a3b10c5ceafbbe6a14747faa6c3f003c908ee5159dec1ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b0ae058cb4d50f6a1a3b10c5ceafbbe6a14747faa6c3f003c908ee5159dec1ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0ae058cb4d50f6a1a3b10c5ceafbbe6a14747faa6c3f003c908ee5159dec1ba", kill_on_drop: false }`
[INFO] [stdout] b0ae058cb4d50f6a1a3b10c5ceafbbe6a14747faa6c3f003c908ee5159dec1ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8a7fa7c37cc40fccc53ad9192b7e39ea9a477431f2a733fab1ad2507c8a74e02
[INFO] running `Command { std: "docker" "start" "-a" "8a7fa7c37cc40fccc53ad9192b7e39ea9a477431f2a733fab1ad2507c8a74e02", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling cc v1.1.15
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]    Compiling indexmap v2.4.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]    Compiling rustls-pki-types v1.8.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling rustls-pemfile v2.1.3
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]    Compiling tokio v1.39.3
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling hyper-util v0.1.7
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.7
[INFO] [stderr]    Compiling bfinancial-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.58s
[INFO] running `Command { std: "docker" "inspect" "8a7fa7c37cc40fccc53ad9192b7e39ea9a477431f2a733fab1ad2507c8a74e02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a7fa7c37cc40fccc53ad9192b7e39ea9a477431f2a733fab1ad2507c8a74e02", kill_on_drop: false }`
[INFO] [stdout] 8a7fa7c37cc40fccc53ad9192b7e39ea9a477431f2a733fab1ad2507c8a74e02
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 850edee9b8ab60acd2de373af931456b612df040d0eeaa61d6e626b42057bb10
[INFO] running `Command { std: "docker" "start" "-a" "850edee9b8ab60acd2de373af931456b612df040d0eeaa61d6e626b42057bb10", kill_on_drop: false }`
[INFO] [stderr]    Compiling bfinancial-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s
[INFO] running `Command { std: "docker" "inspect" "850edee9b8ab60acd2de373af931456b612df040d0eeaa61d6e626b42057bb10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "850edee9b8ab60acd2de373af931456b612df040d0eeaa61d6e626b42057bb10", kill_on_drop: false }`
[INFO] [stdout] 850edee9b8ab60acd2de373af931456b612df040d0eeaa61d6e626b42057bb10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 47a99d2a86d00a93a6beecf86e8e073a2df83af8cb82f9f3b8cbc90033378d7a
[INFO] running `Command { std: "docker" "start" "-a" "47a99d2a86d00a93a6beecf86e8e073a2df83af8cb82f9f3b8cbc90033378d7a", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bfinancial_rs-182e27dde909986d)
[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/automation.rs (/opt/rustwide/target/debug/deps/automation-3444c687ec44554c)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test lib_tests::test_spawn ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests bfinancial_rs
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/payments.rs - payments::Payments::create (line 31) ... FAILED
[INFO] [stdout] test src/payments.rs - payments::Payments::obtain (line 167) ... FAILED
[INFO] [stdout] test src/models/server/payment.rs - models::server::payment::Response::check (line 129) ... FAILED
[INFO] [stdout] test src/models/server/payment.rs - models::server::payment::Response::access (line 79) ... FAILED
[INFO] [stdout] test src/models/server/payment.rs - models::server::payment::Response::access (line 97) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/payments.rs - payments::Payments::create (line 31) stdout ----
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]   --> src/payments.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout]  7 | assert!(matches!(
[INFO] [stdout]    |        - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 14 | ));
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/payments.rs - payments::Payments::obtain (line 167) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/payments.rs:169:97
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                                            ------------------   ^^^ expected identifier
[INFO] [stdout]   |                                                                            |
[INFO] [stdout]   |                                                                            while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/payments.rs:169:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                     ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::server::payment::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use reqwest::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payments` in this scope
[INFO] [stdout]  --> src/payments.rs:169:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PaymentCreate`
[INFO] [stdout]  --> src/payments.rs:169:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^ use of undeclared type `PaymentCreate`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::client::payment::PaymentCreate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `payment`
[INFO] [stdout]  --> src/payments.rs:169:76
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                                            ^^^^^^^ use of unresolved module or unlinked crate `payment`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `payment`, use `cargo add payment` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::client::payment;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pix` in this scope
[INFO] [stdout]   --> src/payments.rs:177:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | let pix: &Pix = payment.access::<Pix>().unwrap();
[INFO] [stdout]    |           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use bfinancial_rs::models::server::payment::Pix;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pix` in this scope
[INFO] [stdout]   --> src/payments.rs:177:34
[INFO] [stdout]    |
[INFO] [stdout] 12 | let pix: &Pix = payment.access::<Pix>().unwrap();
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use bfinancial_rs::models::server::payment::Pix;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payments` in this scope
[INFO] [stdout]   --> src/payments.rs:180:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | let info = payments.obtain(&pix.payment_id).await.unwrap();
[INFO] [stdout]    |            ^^^^^^^^ help: a local variable with a similar name exists: `payment`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/payments.rs:169:105
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_payments_rs_167_0() {
[INFO] [stdout]   |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] 3 | // Create the payment
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).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/payments.rs:180:45
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_payments_rs_167_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let info = payments.obtain(&pix.payment_id).await.unwrap();
[INFO] [stdout]    |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/models/server/payment.rs - models::server::payment::Response::check (line 129) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/models/server/payment.rs:131:97
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                                            ------------------   ^^^ expected identifier
[INFO] [stdout]   |                                                                            |
[INFO] [stdout]   |                                                                            while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/models/server/payment.rs:134:31
[INFO] [stdout]   |
[INFO] [stdout] 7 | if let Err(fail) = &payment { ... }
[INFO] [stdout]   |                               ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - if let Err(fail) = &payment { ... }
[INFO] [stdout] 7 + if let Err(fail) = &payment { .. }
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - if let Err(fail) = &payment { ... }
[INFO] [stdout] 7 + if let Err(fail) = &payment { ..= }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/models/server/payment.rs:134:31
[INFO] [stdout]   |
[INFO] [stdout] 7 | if let Err(fail) = &payment { ... }
[INFO] [stdout]   |                               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout] 7 - if let Err(fail) = &payment { ... }
[INFO] [stdout] 7 + if let Err(fail) = &payment { .. }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/models/server/payment.rs:131:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                     ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::server::payment::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use reqwest::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payments` in this scope
[INFO] [stdout]  --> src/models/server/payment.rs:131:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PaymentCreate`
[INFO] [stdout]  --> src/models/server/payment.rs:131:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^ use of undeclared type `PaymentCreate`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::client::payment::PaymentCreate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `payment`
[INFO] [stdout]  --> src/models/server/payment.rs:131:76
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                                            ^^^^^^^ use of unresolved module or unlinked crate `payment`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/models/server/payment.rs, use `mod payment` in this file to declare the module
[INFO] [stdout]   |
[INFO] [stdout] 2 + mod payment;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::client::payment;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/models/server/payment.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |   payment.check((client, "approved")).await
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/models/server/payment.rs:131:105
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_server_payment_rs_129_0() {
[INFO] [stdout]   |                                      ----------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | // Create the payment
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).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/models/server/payment.rs:144:39
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_server_payment_rs_129_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 |   payment.check((client, "approved")).await
[INFO] [stdout]    |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0586, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/models/server/payment.rs - models::server::payment::Response::access (line 79) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/models/server/payment.rs:81:97
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                                            ------------------   ^^^ expected identifier
[INFO] [stdout]   |                                                                            |
[INFO] [stdout]   |                                                                            while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/models/server/payment.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |   Response::Pix(pix) => { ... },
[INFO] [stdout]    |                           ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 -   Response::Pix(pix) => { ... },
[INFO] [stdout] 13 +   Response::Pix(pix) => { .. },
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 -   Response::Pix(pix) => { ... },
[INFO] [stdout] 13 +   Response::Pix(pix) => { ..= },
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/models/server/payment.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |   Response::Pix(pix) => { ... },
[INFO] [stdout]    |                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 13 -   Response::Pix(pix) => { ... },
[INFO] [stdout] 13 +   Response::Pix(pix) => { .. },
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/models/server/payment.rs:91:29
[INFO] [stdout]    |
[INFO] [stdout] 14 |   Response::Card(card) => { ... },
[INFO] [stdout]    |                             ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 14 -   Response::Card(card) => { ... },
[INFO] [stdout] 14 +   Response::Card(card) => { .. },
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 14 -   Response::Card(card) => { ... },
[INFO] [stdout] 14 +   Response::Card(card) => { ..= },
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/models/server/payment.rs:91:29
[INFO] [stdout]    |
[INFO] [stdout] 14 |   Response::Card(card) => { ... },
[INFO] [stdout]    |                             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 14 -   Response::Card(card) => { ... },
[INFO] [stdout] 14 +   Response::Card(card) => { .. },
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/models/server/payment.rs:81:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                     ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::server::payment::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use reqwest::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payments` in this scope
[INFO] [stdout]  --> src/models/server/payment.rs:81:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PaymentCreate`
[INFO] [stdout]  --> src/models/server/payment.rs:81:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^ use of undeclared type `PaymentCreate`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::client::payment::PaymentCreate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `payment`
[INFO] [stdout]  --> src/models/server/payment.rs:81:76
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                                            ^^^^^^^ use of unresolved module or unlinked crate `payment`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/models/server/payment.rs, use `mod payment` in this file to declare the module
[INFO] [stdout]   |
[INFO] [stdout] 2 + mod payment;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::client::payment;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]   --> src/models/server/payment.rs:90:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   Response::Pix(pix) => { ... },
[INFO] [stdout]    |   ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  2 + use bfinancial_rs::models::server::payment::Response;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use reqwest::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]   --> src/models/server/payment.rs:91:3
[INFO] [stdout]    |
[INFO] [stdout] 14 |   Response::Card(card) => { ... },
[INFO] [stdout]    |   ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  2 + use bfinancial_rs::models::server::payment::Response;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use reqwest::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/models/server/payment.rs:81:105
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_server_payment_rs_79_0() {
[INFO] [stdout]   |                                      ---------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | // Create the payment
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0586, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/models/server/payment.rs - models::server::payment::Response::access (line 97) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/models/server/payment.rs:99:97
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                                            ------------------   ^^^ expected identifier
[INFO] [stdout]   |                                                                            |
[INFO] [stdout]   |                                                                            while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/models/server/payment.rs:99:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                     ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::server::payment::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use reqwest::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payments` in this scope
[INFO] [stdout]  --> src/models/server/payment.rs:99:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PaymentCreate`
[INFO] [stdout]  --> src/models/server/payment.rs:99:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^ use of undeclared type `PaymentCreate`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::client::payment::PaymentCreate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `payment`
[INFO] [stdout]  --> src/models/server/payment.rs:99:76
[INFO] [stdout]   |
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                                            ^^^^^^^ use of unresolved module or unlinked crate `payment`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/models/server/payment.rs, use `mod payment` in this file to declare the module
[INFO] [stdout]   |
[INFO] [stdout] 2 + mod payment;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bfinancial_rs::models::client::payment;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pix` in this scope
[INFO] [stdout]   --> src/models/server/payment.rs:107:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | let pix: &Pix = payment.access::<Pix>().unwrap();
[INFO] [stdout]    |           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use bfinancial_rs::models::server::payment::Pix;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pix` in this scope
[INFO] [stdout]   --> src/models/server/payment.rs:107:34
[INFO] [stdout]    |
[INFO] [stdout] 12 | let pix: &Pix = payment.access::<Pix>().unwrap();
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use bfinancial_rs::models::server::payment::Pix;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/models/server/payment.rs:99:105
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_server_payment_rs_97_0() {
[INFO] [stdout]   |                                      ---------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | // Create the payment
[INFO] [stdout] 4 | let payment: Result<Response, String> = payments.create(PaymentCreate::Pix(payment::PixCreate { ... })).await;
[INFO] [stdout]   |                                                                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[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/models/server/payment.rs - models::server::payment::Response::access (line 79)
[INFO] [stdout]     src/models/server/payment.rs - models::server::payment::Response::access (line 97)
[INFO] [stdout]     src/models/server/payment.rs - models::server::payment::Response::check (line 129)
[INFO] [stdout]     src/payments.rs - payments::Payments::create (line 31)
[INFO] [stdout]     src/payments.rs - payments::Payments::obtain (line 167)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "47a99d2a86d00a93a6beecf86e8e073a2df83af8cb82f9f3b8cbc90033378d7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47a99d2a86d00a93a6beecf86e8e073a2df83af8cb82f9f3b8cbc90033378d7a", kill_on_drop: false }`
[INFO] [stdout] 47a99d2a86d00a93a6beecf86e8e073a2df83af8cb82f9f3b8cbc90033378d7a
