[INFO] fetching crate payup 0.1.45...
[INFO] testing payup-0.1.45 against 1.62.0 for beta-1.63-1
[INFO] extracting crate payup 0.1.45 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate payup 0.1.45 on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate payup 0.1.45
[INFO] finished tweaking crates.io crate payup 0.1.45
[INFO] tweaked toml for crates.io crate payup 0.1.45 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded trust-dns-native-tls v0.20.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 60ec4960fea2d24aae62ca1145e7f60afc7b743923c9b8c57ccf2904793e1118
[INFO] running `Command { std: "docker" "start" "-a" "60ec4960fea2d24aae62ca1145e7f60afc7b743923c9b8c57ccf2904793e1118", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "60ec4960fea2d24aae62ca1145e7f60afc7b743923c9b8c57ccf2904793e1118", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60ec4960fea2d24aae62ca1145e7f60afc7b743923c9b8c57ccf2904793e1118", kill_on_drop: false }`
[INFO] [stdout] 60ec4960fea2d24aae62ca1145e7f60afc7b743923c9b8c57ccf2904793e1118
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 79687d22c555fab094659814fd522aade75e397c1f4b6979847ecc0151467549
[INFO] running `Command { std: "docker" "start" "-a" "79687d22c555fab094659814fd522aade75e397c1f4b6979847ecc0151467549", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling serde v1.0.138
[INFO] [stderr]    Compiling data-encoding v2.3.2
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling serde_derive v1.0.138
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling trust-dns-proto v0.20.4
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling trust-dns-native-tls v0.20.4
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.20.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling reqwest v0.11.11
[INFO] [stderr]    Compiling payup v0.1.45 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/stripe.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/stripe.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]     --> src/stripe.rs:3729:21
[INFO] [stdout]      |
[INFO] [stdout] 3729 |                 for (item) in price_items{
[INFO] [stdout]      |                     ^    ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3729 -                 for (item) in price_items{
[INFO] [stdout] 3729 +                 for item in price_items{
[INFO] [stdout]      | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:448:13
[INFO] [stdout]     |
[INFO] [stdout] 448 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:868:13
[INFO] [stdout]     |
[INFO] [stdout] 868 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:894:13
[INFO] [stdout]     |
[INFO] [stdout] 894 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1493:13
[INFO] [stdout]      |
[INFO] [stdout] 1493 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1958:13
[INFO] [stdout]      |
[INFO] [stdout] 1958 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2142:13
[INFO] [stdout]      |
[INFO] [stdout] 2142 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2199:13
[INFO] [stdout]      |
[INFO] [stdout] 2199 |         let mut form = self.to_multipart_form_async().await;
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2440:13
[INFO] [stdout]      |
[INFO] [stdout] 2440 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2869:13
[INFO] [stdout]      |
[INFO] [stdout] 2869 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3191:13
[INFO] [stdout]      |
[INFO] [stdout] 3191 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3381:13
[INFO] [stdout]      |
[INFO] [stdout] 3381 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3390:13
[INFO] [stdout]      |
[INFO] [stdout] 3390 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]     --> src/stripe.rs:3283:9
[INFO] [stdout]      |
[INFO] [stdout] 3258 | /         match &self.id{
[INFO] [stdout] 3259 | |             Some(id) => {
[INFO] [stdout] 3260 | |
[INFO] [stdout] 3261 | |                 match &customer.id{
[INFO] [stdout] ...    |
[INFO] [stdout] 3280 | |             None => return Ok(false)
[INFO] [stdout] 3281 | |         }
[INFO] [stdout]      | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 3282 | 
[INFO] [stdout] 3283 |           return Ok(false);
[INFO] [stdout]      |           ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]     --> src/stripe.rs:3270:29
[INFO] [stdout]      |
[INFO] [stdout] 3270 |                         let request = reqwest::blocking::Client::new().post(url)
[INFO] [stdout]      |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:177:13
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:598:13
[INFO] [stdout]     |
[INFO] [stdout] 598 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1091:13
[INFO] [stdout]      |
[INFO] [stdout] 1091 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1117:13
[INFO] [stdout]      |
[INFO] [stdout] 1117 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1601:13
[INFO] [stdout]      |
[INFO] [stdout] 1601 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2013:13
[INFO] [stdout]      |
[INFO] [stdout] 2013 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2233:13
[INFO] [stdout]      |
[INFO] [stdout] 2233 |         let mut form = self.to_multipart_form();
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2264:13
[INFO] [stdout]      |
[INFO] [stdout] 2264 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2543:13
[INFO] [stdout]      |
[INFO] [stdout] 2543 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2975:13
[INFO] [stdout]      |
[INFO] [stdout] 2975 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3215:13
[INFO] [stdout]      |
[INFO] [stdout] 3215 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3286:13
[INFO] [stdout]      |
[INFO] [stdout] 3286 |         let mut url = format!("https://api.stripe.com/v1/payment_methods/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3424:13
[INFO] [stdout]      |
[INFO] [stdout] 3424 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3434:13
[INFO] [stdout]      |
[INFO] [stdout] 3434 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3639:13
[INFO] [stdout]      |
[INFO] [stdout] 3639 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3673:13
[INFO] [stdout]      |
[INFO] [stdout] 3673 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 25.38s
[INFO] running `Command { std: "docker" "inspect" "79687d22c555fab094659814fd522aade75e397c1f4b6979847ecc0151467549", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79687d22c555fab094659814fd522aade75e397c1f4b6979847ecc0151467549", kill_on_drop: false }`
[INFO] [stdout] 79687d22c555fab094659814fd522aade75e397c1f4b6979847ecc0151467549
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ae080d4eff28e5d763d59d9664264ffbedc5c951df8a3bd1d7ffaf421e13652
[INFO] running `Command { std: "docker" "start" "-a" "5ae080d4eff28e5d763d59d9664264ffbedc5c951df8a3bd1d7ffaf421e13652", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/stripe.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/stripe.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]     --> src/stripe.rs:3729:21
[INFO] [stdout]      |
[INFO] [stdout] 3729 |                 for (item) in price_items{
[INFO] [stdout]      |                     ^    ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3729 -                 for (item) in price_items{
[INFO] [stdout] 3729 +                 for item in price_items{
[INFO] [stdout]      | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:448:13
[INFO] [stdout]     |
[INFO] [stdout] 448 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:868:13
[INFO] [stdout]     |
[INFO] [stdout] 868 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:894:13
[INFO] [stdout]     |
[INFO] [stdout] 894 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1493:13
[INFO] [stdout]      |
[INFO] [stdout] 1493 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1958:13
[INFO] [stdout]      |
[INFO] [stdout] 1958 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2142:13
[INFO] [stdout]      |
[INFO] [stdout] 2142 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2199:13
[INFO] [stdout]      |
[INFO] [stdout] 2199 |         let mut form = self.to_multipart_form_async().await;
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2440:13
[INFO] [stdout]      |
[INFO] [stdout] 2440 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2869:13
[INFO] [stdout]      |
[INFO] [stdout] 2869 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3191:13
[INFO] [stdout]      |
[INFO] [stdout] 3191 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3381:13
[INFO] [stdout]      |
[INFO] [stdout] 3381 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3390:13
[INFO] [stdout]      |
[INFO] [stdout] 3390 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]     --> src/stripe.rs:3283:9
[INFO] [stdout]      |
[INFO] [stdout] 3258 | /         match &self.id{
[INFO] [stdout] 3259 | |             Some(id) => {
[INFO] [stdout] 3260 | |
[INFO] [stdout] 3261 | |                 match &customer.id{
[INFO] [stdout] ...    |
[INFO] [stdout] 3280 | |             None => return Ok(false)
[INFO] [stdout] 3281 | |         }
[INFO] [stdout]      | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 3282 | 
[INFO] [stdout] 3283 |           return Ok(false);
[INFO] [stdout]      |           ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]     --> src/stripe.rs:3270:29
[INFO] [stdout]      |
[INFO] [stdout] 3270 |                         let request = reqwest::blocking::Client::new().post(url)
[INFO] [stdout]      |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:177:13
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:598:13
[INFO] [stdout]     |
[INFO] [stdout] 598 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1091:13
[INFO] [stdout]      |
[INFO] [stdout] 1091 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1117:13
[INFO] [stdout]      |
[INFO] [stdout] 1117 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1601:13
[INFO] [stdout]      |
[INFO] [stdout] 1601 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2013:13
[INFO] [stdout]      |
[INFO] [stdout] 2013 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2233:13
[INFO] [stdout]      |
[INFO] [stdout] 2233 |         let mut form = self.to_multipart_form();
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2264:13
[INFO] [stdout]      |
[INFO] [stdout] 2264 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2543:13
[INFO] [stdout]      |
[INFO] [stdout] 2543 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2975:13
[INFO] [stdout]      |
[INFO] [stdout] 2975 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3215:13
[INFO] [stdout]      |
[INFO] [stdout] 3215 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3286:13
[INFO] [stdout]      |
[INFO] [stdout] 3286 |         let mut url = format!("https://api.stripe.com/v1/payment_methods/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3424:13
[INFO] [stdout]      |
[INFO] [stdout] 3424 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3434:13
[INFO] [stdout]      |
[INFO] [stdout] 3434 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3639:13
[INFO] [stdout]      |
[INFO] [stdout] 3639 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3673:13
[INFO] [stdout]      |
[INFO] [stdout] 3673 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling payup v0.1.45 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/stripe.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/stripe.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]     --> src/stripe.rs:3729:21
[INFO] [stdout]      |
[INFO] [stdout] 3729 |                 for (item) in price_items{
[INFO] [stdout]      |                     ^    ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3729 -                 for (item) in price_items{
[INFO] [stdout] 3729 +                 for item in price_items{
[INFO] [stdout]      | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:448:13
[INFO] [stdout]     |
[INFO] [stdout] 448 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:868:13
[INFO] [stdout]     |
[INFO] [stdout] 868 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:894:13
[INFO] [stdout]     |
[INFO] [stdout] 894 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1493:13
[INFO] [stdout]      |
[INFO] [stdout] 1493 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1958:13
[INFO] [stdout]      |
[INFO] [stdout] 1958 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2142:13
[INFO] [stdout]      |
[INFO] [stdout] 2142 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2199:13
[INFO] [stdout]      |
[INFO] [stdout] 2199 |         let mut form = self.to_multipart_form_async().await;
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2440:13
[INFO] [stdout]      |
[INFO] [stdout] 2440 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2869:13
[INFO] [stdout]      |
[INFO] [stdout] 2869 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3191:13
[INFO] [stdout]      |
[INFO] [stdout] 3191 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3381:13
[INFO] [stdout]      |
[INFO] [stdout] 3381 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3390:13
[INFO] [stdout]      |
[INFO] [stdout] 3390 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]     --> src/stripe.rs:3283:9
[INFO] [stdout]      |
[INFO] [stdout] 3258 | /         match &self.id{
[INFO] [stdout] 3259 | |             Some(id) => {
[INFO] [stdout] 3260 | |
[INFO] [stdout] 3261 | |                 match &customer.id{
[INFO] [stdout] ...    |
[INFO] [stdout] 3280 | |             None => return Ok(false)
[INFO] [stdout] 3281 | |         }
[INFO] [stdout]      | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 3282 | 
[INFO] [stdout] 3283 |           return Ok(false);
[INFO] [stdout]      |           ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]     --> src/stripe.rs:3270:29
[INFO] [stdout]      |
[INFO] [stdout] 3270 |                         let request = reqwest::blocking::Client::new().post(url)
[INFO] [stdout]      |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:177:13
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:598:13
[INFO] [stdout]     |
[INFO] [stdout] 598 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1091:13
[INFO] [stdout]      |
[INFO] [stdout] 1091 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1117:13
[INFO] [stdout]      |
[INFO] [stdout] 1117 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1601:13
[INFO] [stdout]      |
[INFO] [stdout] 1601 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2013:13
[INFO] [stdout]      |
[INFO] [stdout] 2013 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2233:13
[INFO] [stdout]      |
[INFO] [stdout] 2233 |         let mut form = self.to_multipart_form();
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2264:13
[INFO] [stdout]      |
[INFO] [stdout] 2264 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2543:13
[INFO] [stdout]      |
[INFO] [stdout] 2543 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2975:13
[INFO] [stdout]      |
[INFO] [stdout] 2975 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3215:13
[INFO] [stdout]      |
[INFO] [stdout] 3215 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3286:13
[INFO] [stdout]      |
[INFO] [stdout] 3286 |         let mut url = format!("https://api.stripe.com/v1/payment_methods/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3424:13
[INFO] [stdout]      |
[INFO] [stdout] 3424 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3434:13
[INFO] [stdout]      |
[INFO] [stdout] 3434 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3639:13
[INFO] [stdout]      |
[INFO] [stdout] 3639 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3673:13
[INFO] [stdout]      |
[INFO] [stdout] 3673 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 18.01s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/payup-a6821d0e52cd5119)
[INFO] running `Command { std: "docker" "inspect" "5ae080d4eff28e5d763d59d9664264ffbedc5c951df8a3bd1d7ffaf421e13652", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ae080d4eff28e5d763d59d9664264ffbedc5c951df8a3bd1d7ffaf421e13652", kill_on_drop: false }`
[INFO] [stdout] 5ae080d4eff28e5d763d59d9664264ffbedc5c951df8a3bd1d7ffaf421e13652
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 22af00db536461824d5ef7c141c4503543546849860a1370030bff470782ca09
[INFO] running `Command { std: "docker" "start" "-a" "22af00db536461824d5ef7c141c4503543546849860a1370030bff470782ca09", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `serde_json::json`
[INFO] [stderr]  --> src/stripe.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use serde_json::json;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::convert::TryInto`
[INFO] [stderr]  --> src/stripe.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::convert::TryInto;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around pattern
[INFO] [stderr]     --> src/stripe.rs:3729:21
[INFO] [stderr]      |
[INFO] [stderr] 3729 |                 for (item) in price_items{
[INFO] [stderr]      |                     ^    ^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 3729 -                 for (item) in price_items{
[INFO] [stderr] 3729 +                 for item in price_items{
[INFO] [stderr]      | 
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/stripe.rs:49:13
[INFO] [stderr]    |
[INFO] [stderr] 49 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:123:13
[INFO] [stderr]     |
[INFO] [stderr] 123 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:448:13
[INFO] [stderr]     |
[INFO] [stderr] 448 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:868:13
[INFO] [stderr]     |
[INFO] [stderr] 868 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:894:13
[INFO] [stderr]     |
[INFO] [stderr] 894 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:1493:13
[INFO] [stderr]      |
[INFO] [stderr] 1493 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:1958:13
[INFO] [stderr]      |
[INFO] [stderr] 1958 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2142:13
[INFO] [stderr]      |
[INFO] [stderr] 2142 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2199:13
[INFO] [stderr]      |
[INFO] [stderr] 2199 |         let mut form = self.to_multipart_form_async().await;
[INFO] [stderr]      |             ----^^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2440:13
[INFO] [stderr]      |
[INFO] [stderr] 2440 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2869:13
[INFO] [stderr]      |
[INFO] [stderr] 2869 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3191:13
[INFO] [stderr]      |
[INFO] [stderr] 3191 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3381:13
[INFO] [stderr]      |
[INFO] [stderr] 3381 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3390:13
[INFO] [stderr]      |
[INFO] [stderr] 3390 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]     --> src/stripe.rs:3283:9
[INFO] [stderr]      |
[INFO] [stderr] 3258 | /         match &self.id{
[INFO] [stderr] 3259 | |             Some(id) => {
[INFO] [stderr] 3260 | |
[INFO] [stderr] 3261 | |                 match &customer.id{
[INFO] [stderr] ...    |
[INFO] [stderr] 3280 | |             None => return Ok(false)
[INFO] [stderr] 3281 | |         }
[INFO] [stderr]      | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stderr] 3282 | 
[INFO] [stderr] 3283 |           return Ok(false);
[INFO] [stderr]      |           ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `request`
[INFO] [stderr]     --> src/stripe.rs:3270:29
[INFO] [stderr]      |
[INFO] [stderr] 3270 |                         let request = reqwest::blocking::Client::new().post(url)
[INFO] [stderr]      |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/stripe.rs:71:13
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:177:13
[INFO] [stderr]     |
[INFO] [stderr] 177 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:598:13
[INFO] [stderr]     |
[INFO] [stderr] 598 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:1091:13
[INFO] [stderr]      |
[INFO] [stderr] 1091 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:1117:13
[INFO] [stderr]      |
[INFO] [stderr] 1117 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:1601:13
[INFO] [stderr]      |
[INFO] [stderr] 1601 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2013:13
[INFO] [stderr]      |
[INFO] [stderr] 2013 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2233:13
[INFO] [stderr]      |
[INFO] [stderr] 2233 |         let mut form = self.to_multipart_form();
[INFO] [stderr]      |             ----^^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2264:13
[INFO] [stderr]      |
[INFO] [stderr] 2264 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2543:13
[INFO] [stderr]      |
[INFO] [stderr] 2543 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2975:13
[INFO] [stderr]      |
[INFO] [stderr] 2975 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3215:13
[INFO] [stderr]      |
[INFO] [stderr] 3215 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3286:13
[INFO] [stderr]      |
[INFO] [stderr] 3286 |         let mut url = format!("https://api.stripe.com/v1/payment_methods/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3424:13
[INFO] [stderr]      |
[INFO] [stderr] 3424 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3434:13
[INFO] [stderr]      |
[INFO] [stderr] 3434 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3639:13
[INFO] [stderr]      |
[INFO] [stderr] 3639 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3673:13
[INFO] [stderr]      |
[INFO] [stderr] 3673 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: `payup` (lib) generated 36 warnings
[INFO] [stderr] warning: `payup` (lib test) generated 36 warnings (36 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/payup-a6821d0e52cd5119)
[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 payup
[INFO] [stderr] warning: unnecessary parentheses around pattern
[INFO] [stderr]     --> /opt/rustwide/workdir/src/stripe.rs:3729:21
[INFO] [stderr]      |
[INFO] [stderr] 3729 |                 for (item) in price_items{
[INFO] [stderr]      |                     ^    ^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 3729 -                 for (item) in price_items{
[INFO] [stderr] 3729 +                 for item in price_items{
[INFO] [stderr]      | 
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 73 tests
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::async_list (line 137) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::list (line 191) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::new (line 352) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Balance::async_get (line 41) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::get (line 169) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_get (line 440) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::get (line 590) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::async_get (line 115) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_post (line 488) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::post (line 638) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_update (line 516) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Balance::get (line 63) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_capture (line 402) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_list (line 462) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::list (line 612) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::capture (line 552) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::post (line 1233) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::update (line 1272) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_post (line 1004) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_list (line 940) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_payment_methods (line 973) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::payment_methods (line 1203) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::list (line 1163) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::invoices (line 1132) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_update (line 1043) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_invoices (line 909) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::get (line 1109) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_update (line 1533) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::update (line 1642) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::list (line 1615) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::close (line 1566) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_close (line 1456) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::delete (line 1083) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_get (line 886) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_list (line 1507) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::update (line 666) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_delete (line 860) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::async_post (line 2182) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_get (line 1485) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::async_list (line 1972) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::async_list (line 2156) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::list (line 2278) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::get (line 1593) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::post (line 2216) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::list (line 2027) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::async_get (line 1950) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::get (line 2256) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_list (line 2454) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_update (line 2504) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_post (line 2480) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::list (line 2557) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::async_get (line 2134) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::update (line 2607) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_get (line 2432) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::post (line 2583) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::get (line 2005) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::get (line 2535) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_get (line 2861) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::list (line 2991) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::post (line 3017) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::update (line 3041) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_update (line 2935) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_list (line 2885) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_post (line 2911) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Subscription::get (line 3662) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::get (line 2967) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Mandate::get (line 3207) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Mandate::async_get (line 3183) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::new (line 821) has been running for over 60 seconds
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::new (line 1427) has been running for over 60 seconds
[INFO] [stdout] test src/stripe.rs - stripe::File::new (line 2103) has been running for over 60 seconds
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::new (line 2404) has been running for over 60 seconds
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::new (line 2796) has been running for over 60 seconds
[INFO] [stdout] test src/stripe.rs - stripe::Customer::new (line 821) ... ok
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::new (line 1427) ... ok
[INFO] [stdout] test src/stripe.rs - stripe::File::new (line 2103) ... ok
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::new (line 2404) ... ok
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::new (line 2796) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/stripe.rs - stripe::BalanceTransaction::async_list (line 137) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:139:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:139:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:142:79
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_137_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let balance_transactions = payup::stripe::BalanceTransaction::async_list(auth).await;
[INFO] [stdout]   |                                                                               ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::BalanceTransaction::list (line 191) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:193:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:193:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:196:79
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_191_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let balance_transactions = payup::stripe::BalanceTransaction::async_list(auth).await;
[INFO] [stdout]   |                                                                               ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::new (line 352) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:354:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | charge.amount = Some(100);
[INFO] [stdout]   |                      ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      expected struct `String`, found integer
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Balance::async_get (line 41) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:43:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:43:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:46:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_41_0() {
[INFO] [stdout]   |                                         -------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let balance = payup::stripe::Balance::async_get(auth).await;
[INFO] [stdout]   |                                                      ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::BalanceTransaction::get (line 169) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:171:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:171:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:174:79
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_169_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let balance_transaction = payup::stripe::BalanceTransaction::get(auth, "txn_").await;
[INFO] [stdout]   |                                                                               ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:174:72
[INFO] [stdout]   |
[INFO] [stdout] 8 | let balance_transaction = payup::stripe::BalanceTransaction::get(auth, "txn_").await;
[INFO] [stdout]   |                                                                        ^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                                        |
[INFO] [stdout]   |                                                                        expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<BalanceTransaction, reqwest::error::Error>` is not a future
[INFO] [stdout]  --> src/stripe.rs:174:79
[INFO] [stdout]   |
[INFO] [stdout] 8 | let balance_transaction = payup::stripe::BalanceTransaction::get(auth, "txn_").await;
[INFO] [stdout]   |                           ----------------------------------------------------^^^^^^ `Result<BalanceTransaction, reqwest::error::Error>` is not a future
[INFO] [stdout]   |                           |
[INFO] [stdout]   |                           this call returns `Result<BalanceTransaction, reqwest::error::Error>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Future` is not implemented for `Result<BalanceTransaction, reqwest::error::Error>`
[INFO] [stdout]   = note: Result<BalanceTransaction, reqwest::error::Error> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]   = note: required because of the requirements on the impl of `IntoFuture` for `Result<BalanceTransaction, reqwest::error::Error>`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]   |
[INFO] [stdout] 8 - let balance_transaction = payup::stripe::BalanceTransaction::get(auth, "txn_").await;
[INFO] [stdout] 8 + let balance_transaction = payup::stripe::BalanceTransaction::get(auth, "txn_");
[INFO] [stdout]   | 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::async_get (line 440) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:442:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:442:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:445:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_440_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let charge = payup::stripe::Charge::async_get(auth, "ch_").await?;
[INFO] [stdout]   |                                                           ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:445:53
[INFO] [stdout]   |
[INFO] [stdout] 8 | let charge = payup::stripe::Charge::async_get(auth, "ch_").await?;
[INFO] [stdout]   |                                                     ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                     |
[INFO] [stdout]   |                                                     expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:445:65
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_440_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let charge = payup::stripe::Charge::async_get(auth, "ch_").await?;
[INFO] [stdout]   | |                                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_440_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::get (line 590) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:592:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:592:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:595:47
[INFO] [stdout]   |
[INFO] [stdout] 8 | let charge = payup::stripe::Charge::get(auth, "ch_");
[INFO] [stdout]   |                                               ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                               |
[INFO] [stdout]   |                                               expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::BalanceTransaction::async_get (line 115) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:117:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:117:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:120:85
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_115_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let balance_transaction = payup::stripe::BalanceTransaction::async_get(auth, "txn_").await;
[INFO] [stdout]   |                                                                                     ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:120:78
[INFO] [stdout]   |
[INFO] [stdout] 8 | let balance_transaction = payup::stripe::BalanceTransaction::async_get(auth, "txn_").await;
[INFO] [stdout]   |                                                                              ^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                                              |
[INFO] [stdout]   |                                                                              expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::async_post (line 488) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:490:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:490:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:500:41
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_488_0() {
[INFO] [stdout]    |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | charge = charge.async_post(auth.clone()).await?;
[INFO] [stdout]    |                                         ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:493:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | charge.amount = Some(100);
[INFO] [stdout]   |                      ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      expected struct `String`, found integer
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:500:47
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_488_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | charge = charge.async_post(auth.clone()).await?;
[INFO] [stdout]    | |                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 16 | | } _doctest_main_src_stripe_rs_488_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::post (line 638) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:640:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:640:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:643:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | charge.amount = Some(100);
[INFO] [stdout]   |                      ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      expected struct `String`, found integer
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:650:35
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_638_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | charge = charge.post(auth.clone())?;
[INFO] [stdout]    | |                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 16 | | } _doctest_main_src_stripe_rs_638_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::async_update (line 516) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:518:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:518:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:528:41
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_516_0() {
[INFO] [stdout]    |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | charge = charge.async_post(auth.clone()).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/stripe.rs:531:43
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_516_0() {
[INFO] [stdout]    |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | charge = charge.async_update(auth.clone()).await?;
[INFO] [stdout]    |                                           ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:521:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | charge.amount = Some(100);
[INFO] [stdout]   |                      ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      expected struct `String`, found integer
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:528:47
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_516_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | charge = charge.async_post(auth.clone()).await?;
[INFO] [stdout]    | |                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | | charge = charge.async_update(auth.clone()).await?;
[INFO] [stdout] 19 | | } _doctest_main_src_stripe_rs_516_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:531:49
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_516_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | | charge = charge.async_update(auth.clone()).await?;
[INFO] [stdout]    | |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 19 | | } _doctest_main_src_stripe_rs_516_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Balance::get (line 63) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:65:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:65:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:68:48
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_63_0() {
[INFO] [stdout]   |                                         -------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let balance = payup::stripe::Balance::get(auth).await;
[INFO] [stdout]   |                                                ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<Balance, reqwest::error::Error>` is not a future
[INFO] [stdout]  --> src/stripe.rs:68:48
[INFO] [stdout]   |
[INFO] [stdout] 8 | let balance = payup::stripe::Balance::get(auth).await;
[INFO] [stdout]   |               ---------------------------------^^^^^^ `Result<Balance, reqwest::error::Error>` is not a future
[INFO] [stdout]   |               |
[INFO] [stdout]   |               this call returns `Result<Balance, reqwest::error::Error>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Future` is not implemented for `Result<Balance, reqwest::error::Error>`
[INFO] [stdout]   = note: Result<Balance, reqwest::error::Error> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]   = note: required because of the requirements on the impl of `IntoFuture` for `Result<Balance, reqwest::error::Error>`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]   |
[INFO] [stdout] 8 - let balance = payup::stripe::Balance::get(auth).await;
[INFO] [stdout] 8 + let balance = payup::stripe::Balance::get(auth);
[INFO] [stdout]   | 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::async_capture (line 402) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:404:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:404:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:414:41
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_402_0() {
[INFO] [stdout]    |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | charge = charge.async_post(auth.clone()).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/stripe.rs:417:76
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_402_0() {
[INFO] [stdout]    |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | let captured_charge = payup::stripe::Charge::async_capture(charge, "cust_").await?;
[INFO] [stdout]    |                                                                            ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:407:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | charge.amount = Some(100);
[INFO] [stdout]   |                      ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      expected struct `String`, found integer
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:414:47
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_402_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | charge = charge.async_post(auth.clone()).await?;
[INFO] [stdout]    | |                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | | let captured_charge = payup::stripe::Charge::async_capture(charge, "cust_").await?;
[INFO] [stdout] 19 | | } _doctest_main_src_stripe_rs_402_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/stripe.rs:417:60
[INFO] [stdout]    |
[INFO] [stdout] 18 | let captured_charge = payup::stripe::Charge::async_capture(charge, "cust_").await?;
[INFO] [stdout]    |                                                            ^^^^^^
[INFO] [stdout]    |                                                            |
[INFO] [stdout]    |                                                            expected `&Charge`, found struct `Charge`
[INFO] [stdout]    |                                                            help: consider borrowing here: `&charge`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/stripe.rs:417:68
[INFO] [stdout]    |
[INFO] [stdout] 18 | let captured_charge = payup::stripe::Charge::async_capture(charge, "cust_").await?;
[INFO] [stdout]    |                                                                    ^^^^^^^ expected struct `Auth`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:417:82
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_402_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | | let captured_charge = payup::stripe::Charge::async_capture(charge, "cust_").await?;
[INFO] [stdout]    | |                                                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 19 | | } _doctest_main_src_stripe_rs_402_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::async_list (line 462) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:464:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:464:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:467:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_462_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let charges = payup::stripe::Charge::async_list(auth).await?;
[INFO] [stdout]   |                                                      ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:467:60
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_462_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let charges = payup::stripe::Charge::async_list(auth).await?;
[INFO] [stdout]   | |                                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_462_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::list (line 612) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:614:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:614:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:617:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_612_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let charges = payup::stripe::Charge::list(auth)?;
[INFO] [stdout]   | |                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_612_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::capture (line 552) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:554:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:554:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:557:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | charge.amount = Some(100);
[INFO] [stdout]   |                      ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      expected struct `String`, found integer
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/stripe.rs:564:10
[INFO] [stdout]    |
[INFO] [stdout] 7  | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout]    |                  ---------------------------- expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 15 | charge = charge.post(auth.clone());
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Charge`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Charge`
[INFO] [stdout]                 found enum `Result<Charge, reqwest::error::Error>`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/stripe.rs:567:54
[INFO] [stdout]    |
[INFO] [stdout] 18 | let captured_charge = payup::stripe::Charge::capture(charge, "cust_");
[INFO] [stdout]    |                                                      ^^^^^^
[INFO] [stdout]    |                                                      |
[INFO] [stdout]    |                                                      expected `&Charge`, found struct `Charge`
[INFO] [stdout]    |                                                      help: consider borrowing here: `&charge`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/stripe.rs:567:62
[INFO] [stdout]    |
[INFO] [stdout] 18 | let captured_charge = payup::stripe::Charge::capture(charge, "cust_");
[INFO] [stdout]    |                                                              ^^^^^^^ expected struct `Auth`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::post (line 1233) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1235:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1235:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::update (line 1272) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1274:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1274:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cust` in this scope
[INFO] [stdout]   --> src/stripe.rs:1285:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | customer = cust.async_post(auth)?;
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cust` in this scope
[INFO] [stdout]   --> src/stripe.rs:1291:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | customer = cust.update(auth)?;
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:1285:33
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1272_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | // Build a customer object
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | | customer = cust.async_post(auth)?;
[INFO] [stdout]    | |                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | customer = cust.update(auth)?;
[INFO] [stdout] 23 | | } _doctest_main_src_stripe_rs_1272_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:1291:29
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1272_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | // Build a customer object
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | customer = cust.update(auth)?;
[INFO] [stdout]    | |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 23 | | } _doctest_main_src_stripe_rs_1272_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::async_post (line 1004) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1006:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1006:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:1017:37
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1004_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 | let customer = cust.async_post(auth).await?;
[INFO] [stdout]    |                                     ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:1017:43
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1004_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | // Build a customer object
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | | let customer = cust.async_post(auth).await?;
[INFO] [stdout]    | |                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 17 | | } _doctest_main_src_stripe_rs_1004_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::async_list (line 940) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:942:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:942:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:945:58
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_940_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let customers = payup::stripe::Customer::async_list(auth).await?;
[INFO] [stdout]   |                                                          ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:945:64
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_940_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let customers = payup::stripe::Customer::async_list(auth).await?;
[INFO] [stdout]   | |                                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_940_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::async_payment_methods (line 973) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:975:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:975:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:977:120
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_973_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let customers_payment_methods = payup::stripe::Customer::async_payment_methods(auth, format!("cust_"), format!("card")).await?;
[INFO] [stdout]   |                                                                                                                        ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:977:126
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_973_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | let customers_payment_methods = payup::stripe::Customer::async_payment_methods(auth, format!("cust_"), format!("card")).await?;
[INFO] [stdout]   | |                                                                                                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | } _doctest_main_src_stripe_rs_973_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::payment_methods (line 1203) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1205:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1205:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1207:114
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1203_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | let customers_payment_methods = payup::stripe::Customer::payment_methods(auth, format!("cust_"), format!("card"))?;
[INFO] [stdout]   | |                                                                                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | } _doctest_main_src_stripe_rs_1203_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::list (line 1163) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1165:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1165:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1168:60
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1163_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let customers = payup::stripe::Customer::list(auth.clone())?;
[INFO] [stdout]   | |                                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_1163_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::invoices (line 1132) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1134:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1134:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1136:83
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1132_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | let customers_invoices = payup::stripe::Customer::invoices(auth, format!("cust_"))?;
[INFO] [stdout]   | |                                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | } _doctest_main_src_stripe_rs_1132_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::async_update (line 1043) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1045:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1045:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cust` in this scope
[INFO] [stdout]   --> src/stripe.rs:1056:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | customer = cust.async_post(auth).await?;
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cust` in this scope
[INFO] [stdout]   --> src/stripe.rs:1062:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | customer = cust.async_update(auth).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/stripe.rs:1056:33
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1043_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 | customer = cust.async_post(auth).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/stripe.rs:1062:35
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1043_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 22 | customer = cust.async_update(auth).await?;
[INFO] [stdout]    |                                   ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:1056:39
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1043_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | // Build a customer object
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | | customer = cust.async_post(auth).await?;
[INFO] [stdout]    | |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | customer = cust.async_update(auth).await?;
[INFO] [stdout] 23 | | } _doctest_main_src_stripe_rs_1043_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:1062:41
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1043_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | // Build a customer object
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | customer = cust.async_update(auth).await?;
[INFO] [stdout]    | |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 23 | | } _doctest_main_src_stripe_rs_1043_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::async_invoices (line 909) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:911:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:911:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:913:83
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_909_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let customers_invoices = payup::stripe::Customer::invoices(auth, format!("cust_")).await?;
[INFO] [stdout]   |                                                                                   ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<Vec<payup::stripe::response::Invoice>, reqwest::error::Error>` is not a future
[INFO] [stdout]  --> src/stripe.rs:913:83
[INFO] [stdout]   |
[INFO] [stdout] 7 | let customers_invoices = payup::stripe::Customer::invoices(auth, format!("cust_")).await?;
[INFO] [stdout]   |                          ---------------------------------------------------------^^^^^^ `Result<Vec<payup::stripe::response::Invoice>, reqwest::error::Error>` is not a future
[INFO] [stdout]   |                          |
[INFO] [stdout]   |                          this call returns `Result<Vec<payup::stripe::response::Invoice>, reqwest::error::Error>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Future` is not implemented for `Result<Vec<payup::stripe::response::Invoice>, reqwest::error::Error>`
[INFO] [stdout]   = note: Result<Vec<payup::stripe::response::Invoice>, reqwest::error::Error> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]   = note: required because of the requirements on the impl of `IntoFuture` for `Result<Vec<payup::stripe::response::Invoice>, reqwest::error::Error>`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]   |
[INFO] [stdout] 7 - let customers_invoices = payup::stripe::Customer::invoices(auth, format!("cust_")).await?;
[INFO] [stdout] 7 + let customers_invoices = payup::stripe::Customer::invoices(auth, format!("cust_"))?;
[INFO] [stdout]   | 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:913:89
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_909_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | let customers_invoices = payup::stripe::Customer::invoices(auth, format!("cust_")).await?;
[INFO] [stdout]   | |                                                                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | } _doctest_main_src_stripe_rs_909_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::get (line 1109) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1111:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1111:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:1114:51
[INFO] [stdout]   |
[INFO] [stdout] 8 | let customer = payup::stripe::Customer::get(auth, "cust_")?;
[INFO] [stdout]   |                                                   ^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                   |
[INFO] [stdout]   |                                                   expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1114:59
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1109_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let customer = payup::stripe::Customer::get(auth, "cust_")?;
[INFO] [stdout]   | |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_1109_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::async_update (line 1533) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1535:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1535:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:1550:45
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1533_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 20 | dispute = dispute.async_update(auth.clone()).await?;
[INFO] [stdout]    |                                             ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:1550:51
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1533_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | // Crate some evidence to update the dispute with
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | dispute = dispute.async_update(auth.clone()).await?;
[INFO] [stdout]    | |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 21 | | } _doctest_main_src_stripe_rs_1533_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::update (line 1642) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1644:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1644:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]   --> src/stripe.rs:1659:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | dispute = dispute.async_update(auth.clone())?;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future<Output = Result<Dispute, reqwest::error::Error>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `impl Future<Output = Result<Dispute, reqwest::error::Error>>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:1659:45
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1642_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | // Crate some evidence to update the dispute with
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | dispute = dispute.async_update(auth.clone())?;
[INFO] [stdout]    | |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 21 | | } _doctest_main_src_stripe_rs_1642_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::list (line 1615) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1617:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1617:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1620:49
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1615_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let charges = payup::stripe::Dispute::list(auth)?;
[INFO] [stdout]   | |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_1615_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::close (line 1566) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1568:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1568:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]   --> src/stripe.rs:1573:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | dispute = dispute.async_close(auth.clone())?;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future<Output = Result<Dispute, reqwest::error::Error>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `impl Future<Output = Result<Dispute, reqwest::error::Error>>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:1573:44
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1566_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut dispute = payup::stripe::Dispute::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | dispute = dispute.async_close(auth.clone())?;
[INFO] [stdout]    | |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 11 | | } _doctest_main_src_stripe_rs_1566_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::async_close (line 1456) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1458:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1458:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:1463:44
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1456_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | dispute = dispute.async_close(auth.clone()).await?;
[INFO] [stdout]    |                                            ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:1463:50
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1456_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut dispute = payup::stripe::Dispute::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | dispute = dispute.async_close(auth.clone()).await?;
[INFO] [stdout]    | |                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 11 | | } _doctest_main_src_stripe_rs_1456_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::delete (line 1083) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1085:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1085:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:1088:68
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1083_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let customer = payup::stripe::Customer::async_delete(auth, "cust_").await?;
[INFO] [stdout]   |                                                                    ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:1088:60
[INFO] [stdout]   |
[INFO] [stdout] 8 | let customer = payup::stripe::Customer::async_delete(auth, "cust_").await?;
[INFO] [stdout]   |                                                            ^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                            |
[INFO] [stdout]   |                                                            expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1088:74
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1083_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let customer = payup::stripe::Customer::async_delete(auth, "cust_").await?;
[INFO] [stdout]   | |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_1083_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::async_get (line 886) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:888:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:888:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:891:65
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_886_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let customer = payup::stripe::Customer::async_get(auth, "cust_").await?;
[INFO] [stdout]   |                                                                 ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:891:57
[INFO] [stdout]   |
[INFO] [stdout] 8 | let customer = payup::stripe::Customer::async_get(auth, "cust_").await?;
[INFO] [stdout]   |                                                         ^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                         |
[INFO] [stdout]   |                                                         expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:891:71
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_886_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let customer = payup::stripe::Customer::async_get(auth, "cust_").await?;
[INFO] [stdout]   | |                                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_886_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::async_list (line 1507) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1509:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1509:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:1512:56
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1507_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let disputes = payup::stripe::Dispute::async_list(auth).await?;
[INFO] [stdout]   |                                                        ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1512:62
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1507_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let disputes = payup::stripe::Dispute::async_list(auth).await?;
[INFO] [stdout]   | |                                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_1507_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::update (line 666) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:668:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:668:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:678:41
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_666_0() {
[INFO] [stdout]    |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | charge = charge.async_post(auth.clone()).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/stripe.rs:681:37
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_666_0() {
[INFO] [stdout]    |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | charge = charge.update(auth.clone()).await?;
[INFO] [stdout]    |                                     ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:671:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | charge.amount = Some(100);
[INFO] [stdout]   |                      ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      expected struct `String`, found integer
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:678:47
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_666_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | charge = charge.async_post(auth.clone()).await?;
[INFO] [stdout]    | |                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | | charge = charge.update(auth.clone()).await?;
[INFO] [stdout] 19 | | } _doctest_main_src_stripe_rs_666_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<Charge, reqwest::error::Error>` is not a future
[INFO] [stdout]   --> src/stripe.rs:681:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | charge = charge.update(auth.clone()).await?;
[INFO] [stdout]    |                                     ^^^^^^ `Result<Charge, reqwest::error::Error>` is not a future
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for `Result<Charge, reqwest::error::Error>`
[INFO] [stdout]    = note: Result<Charge, reqwest::error::Error> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]    = note: required because of the requirements on the impl of `IntoFuture` for `Result<Charge, reqwest::error::Error>`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 18 - charge = charge.update(auth.clone()).await?;
[INFO] [stdout] 18 + charge = charge.update(auth.clone())?;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:681:43
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_666_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | | charge = charge.update(auth.clone()).await?;
[INFO] [stdout]    | |                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 19 | | } _doctest_main_src_stripe_rs_666_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::async_delete (line 860) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:862:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:862:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:865:68
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_860_0() {
[INFO] [stdout]   |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let customer = payup::stripe::Customer::async_delete(auth, "cust_").await?;
[INFO] [stdout]   |                                                                    ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:865:60
[INFO] [stdout]   |
[INFO] [stdout] 8 | let customer = payup::stripe::Customer::async_delete(auth, "cust_").await?;
[INFO] [stdout]   |                                                            ^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                            |
[INFO] [stdout]   |                                                            expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:865:74
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_860_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let customer = payup::stripe::Customer::async_delete(auth, "cust_").await?;
[INFO] [stdout]   | |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_860_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::File::async_post (line 2182) stdout ----
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `bytes`
[INFO] [stdout]  --> src/stripe.rs:2187:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | ley bytes: Vec<u8> = Vec::new();
[INFO] [stdout]   |     ^^^^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2184:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2184:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::async_get (line 1485) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1487:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1487:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:1490:61
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1485_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let dispute = payup::stripe::Dispute::async_get(auth, "ch_").await?;
[INFO] [stdout]   |                                                             ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:1490:55
[INFO] [stdout]   |
[INFO] [stdout] 8 | let dispute = payup::stripe::Dispute::async_get(auth, "ch_").await?;
[INFO] [stdout]   |                                                       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                       |
[INFO] [stdout]   |                                                       expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1490:67
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1485_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let dispute = payup::stripe::Dispute::async_get(auth, "ch_").await?;
[INFO] [stdout]   | |                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_1485_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Event::async_list (line 1972) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1974:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1974:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:1977:52
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1972_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let events = payup::stripe::Event::async_list(auth).await?;
[INFO] [stdout]   |                                                    ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1977:58
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1972_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let events = payup::stripe::Event::async_list(auth).await?;
[INFO] [stdout]   | |                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_1972_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::File::async_list (line 2156) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2158:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2158:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:2161:56
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2156_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let disputes = payup::stripe::Dispute::async_list(auth).await?;
[INFO] [stdout]   |                                                        ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2161:62
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2156_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let disputes = payup::stripe::Dispute::async_list(auth).await?;
[INFO] [stdout]   | |                                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2156_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::File::list (line 2278) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2280:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2280:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2283:49
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2278_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let charges = payup::stripe::Dispute::list(auth)?;
[INFO] [stdout]   | |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2278_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::get (line 1593) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1595:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1595:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:1598:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout]   |                                                 ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                 |
[INFO] [stdout]   |                                                 expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1598:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1593_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout]   | |                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_1593_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::File::post (line 2216) stdout ----
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `bytes`
[INFO] [stdout]  --> src/stripe.rs:2221:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | ley bytes: Vec<u8> = Vec::new();
[INFO] [stdout]   |     ^^^^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2218:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2218:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Event::list (line 2027) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2029:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2029:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2032:46
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2027_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let events = payup::stripe::Event::list(auth)?;
[INFO] [stdout]   | |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2027_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Event::async_get (line 1950) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:1952:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:1952:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:1955:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1950_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let event = payup::stripe::Event::async_get(auth, "ch_").await?;
[INFO] [stdout]   |                                                         ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:1955:51
[INFO] [stdout]   |
[INFO] [stdout] 8 | let event = payup::stripe::Event::async_get(auth, "ch_").await?;
[INFO] [stdout]   |                                                   ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                   |
[INFO] [stdout]   |                                                   expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:1955:63
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1950_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let event = payup::stripe::Event::async_get(auth, "ch_").await?;
[INFO] [stdout]   | |                                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_1950_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::File::get (line 2256) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2258:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2258:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:2261:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout]   |                                                 ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                 |
[INFO] [stdout]   |                                                 expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2261:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2256_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout]   | |                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2256_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::async_list (line 2454) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2456:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2456:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:2459:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2454_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let file_links = payup::stripe::FileLink::async_list(auth).await?;
[INFO] [stdout]   |                                                           ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2459:65
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2454_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let file_links = payup::stripe::FileLink::async_list(auth).await?;
[INFO] [stdout]   | |                                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2454_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::async_update (line 2504) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2506:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2506:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:2511:47
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2504_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | file_link = file_link.async_post(auth.clone()).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/stripe.rs:2514:49
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2504_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 | file_link = file_link.async_update(auth.clone()).await?;
[INFO] [stdout]    |                                                 ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:2511:53
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2504_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut file_link = payup::stripe::FileLink::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | file_link = file_link.async_post(auth.clone()).await?;
[INFO] [stdout]    | |                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | | file_link = file_link.async_update(auth.clone()).await?;
[INFO] [stdout] 14 | | } _doctest_main_src_stripe_rs_2504_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:2514:55
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2504_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut file_link = payup::stripe::FileLink::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | | file_link = file_link.async_update(auth.clone()).await?;
[INFO] [stdout]    | |                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 14 | | } _doctest_main_src_stripe_rs_2504_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::async_post (line 2480) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2482:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2482:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:2488:47
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2480_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | file_link = file_link.async_post(auth.clone()).await?;
[INFO] [stdout]    |                                               ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:2488:53
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2480_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut file_link = payup::stripe::FileLink::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | file_link = file_link.async_post(auth.clone()).await?;
[INFO] [stdout]    | |                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 12 | | } _doctest_main_src_stripe_rs_2480_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::list (line 2557) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2559:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2559:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2562:53
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2557_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let file_links = payup::stripe::FileLink::list(auth)?;
[INFO] [stdout]   | |                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2557_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::File::async_get (line 2134) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2136:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2136:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:2139:55
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2134_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let file = payup::stripe::File::async_get(auth, "ch_").await?;
[INFO] [stdout]   |                                                       ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:2139:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | let file = payup::stripe::File::async_get(auth, "ch_").await?;
[INFO] [stdout]   |                                                 ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                 |
[INFO] [stdout]   |                                                 expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2139:61
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2134_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let file = payup::stripe::File::async_get(auth, "ch_").await?;
[INFO] [stdout]   | |                                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2134_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::update (line 2607) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2609:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2609:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:2614:41
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2607_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut file_link = payup::stripe::FileLink::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | file_link = file_link.post(auth.clone())?;
[INFO] [stdout]    | |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | | file_link = file_link.update(auth.clone())?;
[INFO] [stdout] 14 | | } _doctest_main_src_stripe_rs_2607_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:2617:43
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2607_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut file_link = payup::stripe::FileLink::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | | file_link = file_link.update(auth.clone())?;
[INFO] [stdout]    | |                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 14 | | } _doctest_main_src_stripe_rs_2607_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::async_get (line 2432) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2434:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2434:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:2437:61
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2432_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let file = payup::stripe::FileLink::async_get(auth, "link_").await?;
[INFO] [stdout]   |                                                             ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:2437:53
[INFO] [stdout]   |
[INFO] [stdout] 8 | let file = payup::stripe::FileLink::async_get(auth, "link_").await?;
[INFO] [stdout]   |                                                     ^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                     |
[INFO] [stdout]   |                                                     expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2437:67
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2432_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let file = payup::stripe::FileLink::async_get(auth, "link_").await?;
[INFO] [stdout]   | |                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2432_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::post (line 2583) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2585:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2585:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]   --> src/stripe.rs:2591:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | file_link = file_link.async_post(auth.clone())?;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future<Output = Result<FileLink, reqwest::error::Error>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `impl Future<Output = Result<FileLink, reqwest::error::Error>>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:2591:47
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2583_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut file_link = payup::stripe::FileLink::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | file_link = file_link.async_post(auth.clone())?;
[INFO] [stdout]    | |                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 12 | | } _doctest_main_src_stripe_rs_2583_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Event::get (line 2005) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2007:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2007:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:2010:45
[INFO] [stdout]   |
[INFO] [stdout] 8 | let event = payup::stripe::Event::get(auth, "ch_")?;
[INFO] [stdout]   |                                             ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                             |
[INFO] [stdout]   |                                             expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2010:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2005_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let event = payup::stripe::Event::get(auth, "ch_")?;
[INFO] [stdout]   | |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2005_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::get (line 2535) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2537:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2537:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:2540:52
[INFO] [stdout]   |
[INFO] [stdout] 8 | let file_link = payup::stripe::FileLink::get(auth, "ch_");
[INFO] [stdout]   |                                                    ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                    |
[INFO] [stdout]   |                                                    expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::async_get (line 2861) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2863:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2863:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:2866:61
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2861_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let invoice = payup::stripe::Invoice::async_get(auth, "in_").await?;
[INFO] [stdout]   |                                                             ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:2866:55
[INFO] [stdout]   |
[INFO] [stdout] 8 | let invoice = payup::stripe::Invoice::async_get(auth, "in_").await?;
[INFO] [stdout]   |                                                       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                       |
[INFO] [stdout]   |                                                       expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2866:67
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2861_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let invoice = payup::stripe::Invoice::async_get(auth, "in_").await?;
[INFO] [stdout]   | |                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2861_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::list (line 2991) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2993:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2993:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied
[INFO] [stdout]     --> src/stripe.rs:2996:16
[INFO] [stdout]      |
[INFO] [stdout] 8    | let invoices = payup::stripe::Invoice::list(auth)?;
[INFO] [stdout]      |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- supplied 1 argument
[INFO] [stdout]      |                |
[INFO] [stdout]      |                expected 3 arguments
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> /opt/rustwide/workdir/src/stripe.rs:2998:12
[INFO] [stdout]      |
[INFO] [stdout] 2998 |     pub fn list(creds: Auth, status: Option<String>, customer: Option<String>) -> Result<Vec<Self>, reqwest::Error>{
[INFO] [stdout]      |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2996:50
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2991_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let invoices = payup::stripe::Invoice::list(auth)?;
[INFO] [stdout]   | |                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2991_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::post (line 3017) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:3019:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:3019:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:3025:29
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3017_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut invoice = payup::stripe::Invoice::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | invoice = invoice.post(auth)?;
[INFO] [stdout]    | |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 12 | | } _doctest_main_src_stripe_rs_3017_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::update (line 3041) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:3043:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:3043:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:3049:29
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3041_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut invoice = payup::stripe::Invoice::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | invoice = invoice.post(auth)?;
[INFO] [stdout]    | |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | invoice = invoice.update(auth)?;
[INFO] [stdout] 15 | | } _doctest_main_src_stripe_rs_3041_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:3052:31
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3041_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut invoice = payup::stripe::Invoice::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | invoice = invoice.update(auth)?;
[INFO] [stdout]    | |                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 15 | | } _doctest_main_src_stripe_rs_3041_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::async_update (line 2935) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2937:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2937:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:2943:35
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2935_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | invoice = invoice.async_post(auth).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/stripe.rs:2946:37
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2935_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | invoice = invoice.async_update(auth).await?;
[INFO] [stdout]    |                                     ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:2943:41
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2935_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut invoice = payup::stripe::Invoice::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | invoice = invoice.async_post(auth).await?;
[INFO] [stdout]    | |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | invoice = invoice.async_update(auth).await?;
[INFO] [stdout] 15 | | } _doctest_main_src_stripe_rs_2935_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:2946:43
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2935_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut invoice = payup::stripe::Invoice::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | invoice = invoice.async_update(auth).await?;
[INFO] [stdout]    | |                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 15 | | } _doctest_main_src_stripe_rs_2935_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::async_list (line 2885) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2887:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2887:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:2890:56
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2885_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let invoices = payup::stripe::Invoice::async_list(auth).await?;
[INFO] [stdout]   |                                                        ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied
[INFO] [stdout]     --> src/stripe.rs:2890:16
[INFO] [stdout]      |
[INFO] [stdout] 8    | let invoices = payup::stripe::Invoice::async_list(auth).await?;
[INFO] [stdout]      |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- supplied 1 argument
[INFO] [stdout]      |                |
[INFO] [stdout]      |                expected 3 arguments
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> /opt/rustwide/workdir/src/stripe.rs:2892:18
[INFO] [stdout]      |
[INFO] [stdout] 2892 |     pub async fn async_list(creds: Auth, status: Option<String>, customer: Option<String>) -> Result<Vec<Self>, reqwest::Error>{
[INFO] [stdout]      |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:2890:62
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2885_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch all customers from stripe
[INFO] [stdout] 8 | | let invoices = payup::stripe::Invoice::async_list(auth).await?;
[INFO] [stdout]   | |                                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_2885_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::async_post (line 2911) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2913:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2913:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:2919:35
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2911_0() {
[INFO] [stdout]    |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | invoice = invoice.async_post(auth).await?;
[INFO] [stdout]    |                                   ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:2919:41
[INFO] [stdout]    |
[INFO] [stdout] 4  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2911_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 5  | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | let mut invoice = payup::stripe::Invoice::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | invoice = invoice.async_post(auth).await?;
[INFO] [stdout]    | |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 12 | | } _doctest_main_src_stripe_rs_2911_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Subscription::get (line 3662) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/stripe.rs:3670:63
[INFO] [stdout]    |
[INFO] [stdout] 11 | let get_subscription = payup::stripe::Subscription::get(auth, "subscription_id");
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::get (line 2967) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2969:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:2969:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:2972:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | let invoice = payup::stripe::Invoice::get(auth, "in_");
[INFO] [stdout]   |                                                 ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                 |
[INFO] [stdout]   |                                                 expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Mandate::get (line 3207) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:3209:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:3209:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:3212:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mandate = payup::stripe::Mandate::get(auth, "mandate_")?;
[INFO] [stdout]   |                                                 ^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                 |
[INFO] [stdout]   |                                                 expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:3212:60
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3207_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let mandate = payup::stripe::Mandate::get(auth, "mandate_")?;
[INFO] [stdout]   | |                                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_3207_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Mandate::async_get (line 3183) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:3185:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]   |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret` in this scope
[INFO] [stdout]  --> src/stripe.rs:3185:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | let auth = payup::stripe::Auth::new(client, secret);
[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/stripe.rs:3188:63
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3183_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let file = payup::stripe::Mandate::async_get(auth, "mandate_").await?;
[INFO] [stdout]   |                                                               ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:3188:52
[INFO] [stdout]   |
[INFO] [stdout] 8 | let file = payup::stripe::Mandate::async_get(auth, "mandate_").await?;
[INFO] [stdout]   |                                                    ^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                                                    |
[INFO] [stdout]   |                                                    expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/stripe.rs:3188:69
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3183_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 5 | | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Fetch customer using id
[INFO] [stdout] 8 | | let file = payup::stripe::Mandate::async_get(auth, "mandate_").await?;
[INFO] [stdout]   | |                                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_stripe_rs_3183_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/stripe.rs - stripe::Balance::async_get (line 41)
[INFO] [stdout]     src/stripe.rs - stripe::Balance::get (line 63)
[INFO] [stdout]     src/stripe.rs - stripe::BalanceTransaction::async_get (line 115)
[INFO] [stdout]     src/stripe.rs - stripe::BalanceTransaction::async_list (line 137)
[INFO] [stdout]     src/stripe.rs - stripe::BalanceTransaction::get (line 169)
[INFO] [stdout]     src/stripe.rs - stripe::BalanceTransaction::list (line 191)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::async_capture (line 402)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::async_get (line 440)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::async_list (line 462)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::async_post (line 488)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::async_update (line 516)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::capture (line 552)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::get (line 590)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::list (line 612)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::new (line 352)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::post (line 638)
[INFO] [stdout]     src/stripe.rs - stripe::Charge::update (line 666)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::async_delete (line 860)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::async_get (line 886)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::async_invoices (line 909)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::async_list (line 940)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::async_payment_methods (line 973)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::async_post (line 1004)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::async_update (line 1043)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::delete (line 1083)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::get (line 1109)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::invoices (line 1132)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::list (line 1163)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::payment_methods (line 1203)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::post (line 1233)
[INFO] [stdout]     src/stripe.rs - stripe::Customer::update (line 1272)
[INFO] [stdout]     src/stripe.rs - stripe::Dispute::async_close (line 1456)
[INFO] [stdout]     src/stripe.rs - stripe::Dispute::async_get (line 1485)
[INFO] [stdout]     src/stripe.rs - stripe::Dispute::async_list (line 1507)
[INFO] [stdout]     src/stripe.rs - stripe::Dispute::async_update (line 1533)
[INFO] [stdout]     src/stripe.rs - stripe::Dispute::close (line 1566)
[INFO] [stdout]     src/stripe.rs - stripe::Dispute::get (line 1593)
[INFO] [stdout]     src/stripe.rs - stripe::Dispute::list (line 1615)
[INFO] [stdout]     src/stripe.rs - stripe::Dispute::update (line 1642)
[INFO] [stdout]     src/stripe.rs - stripe::Event::async_get (line 1950)
[INFO] [stdout]     src/stripe.rs - stripe::Event::async_list (line 1972)
[INFO] [stdout]     src/stripe.rs - stripe::Event::get (line 2005)
[INFO] [stdout]     src/stripe.rs - stripe::Event::list (line 2027)
[INFO] [stdout]     src/stripe.rs - stripe::File::async_get (line 2134)
[INFO] [stdout]     src/stripe.rs - stripe::File::async_list (line 2156)
[INFO] [stdout]     src/stripe.rs - stripe::File::async_post (line 2182)
[INFO] [stdout]     src/stripe.rs - stripe::File::get (line 2256)
[INFO] [stdout]     src/stripe.rs - stripe::File::list (line 2278)
[INFO] [stdout]     src/stripe.rs - stripe::File::post (line 2216)
[INFO] [stdout]     src/stripe.rs - stripe::FileLink::async_get (line 2432)
[INFO] [stdout]     src/stripe.rs - stripe::FileLink::async_list (line 2454)
[INFO] [stdout]     src/stripe.rs - stripe::FileLink::async_post (line 2480)
[INFO] [stdout]     src/stripe.rs - stripe::FileLink::async_update (line 2504)
[INFO] [stdout]     src/stripe.rs - stripe::FileLink::get (line 2535)
[INFO] [stdout]     src/stripe.rs - stripe::FileLink::list (line 2557)
[INFO] [stdout]     src/stripe.rs - stripe::FileLink::post (line 2583)
[INFO] [stdout]     src/stripe.rs - stripe::FileLink::update (line 2607)
[INFO] [stdout]     src/stripe.rs - stripe::Invoice::async_get (line 2861)
[INFO] [stdout]     src/stripe.rs - stripe::Invoice::async_list (line 2885)
[INFO] [stdout]     src/stripe.rs - stripe::Invoice::async_post (line 2911)
[INFO] [stdout]     src/stripe.rs - stripe::Invoice::async_update (line 2935)
[INFO] [stdout]     src/stripe.rs - stripe::Invoice::get (line 2967)
[INFO] [stdout]     src/stripe.rs - stripe::Invoice::list (line 2991)
[INFO] [stdout]     src/stripe.rs - stripe::Invoice::post (line 3017)
[INFO] [stdout]     src/stripe.rs - stripe::Invoice::update (line 3041)
[INFO] [stdout]     src/stripe.rs - stripe::Mandate::async_get (line 3183)
[INFO] [stdout]     src/stripe.rs - stripe::Mandate::get (line 3207)
[INFO] [stdout]     src/stripe.rs - stripe::Subscription::get (line 3662)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 68 failed; 0 ignored; 0 measured; 0 filtered out; finished in 196.52s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "22af00db536461824d5ef7c141c4503543546849860a1370030bff470782ca09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22af00db536461824d5ef7c141c4503543546849860a1370030bff470782ca09", kill_on_drop: false }`
[INFO] [stdout] 22af00db536461824d5ef7c141c4503543546849860a1370030bff470782ca09
