[INFO] fetching crate payup 0.1.45...
[INFO] testing payup-0.1.45 against 1.95.0 for beta-1.96-2
[INFO] extracting crate payup 0.1.45 into /workspace/builds/worker-5-tc1/source
[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-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate payup 0.1.45 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 207 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.2)
[INFO] [stderr]       Adding trust-dns-resolver v0.20.4 (available: v0.23.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.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] [stderr]   Downloaded enum-as-inner v0.3.4
[INFO] [stderr]   Downloaded resolv-conf v0.7.6
[INFO] [stderr]   Downloaded widestring v0.4.3
[INFO] [stderr]   Downloaded trust-dns-resolver v0.20.4
[INFO] [stderr]   Downloaded trust-dns-proto v0.20.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6bee8d528b1910aa50eed80eabf51f6aa964cae09f782e82228920aaf62640e
[INFO] running `Command { std: "docker" "start" "-a" "e6bee8d528b1910aa50eed80eabf51f6aa964cae09f782e82228920aaf62640e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6bee8d528b1910aa50eed80eabf51f6aa964cae09f782e82228920aaf62640e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6bee8d528b1910aa50eed80eabf51f6aa964cae09f782e82228920aaf62640e", kill_on_drop: false }`
[INFO] [stdout] e6bee8d528b1910aa50eed80eabf51f6aa964cae09f782e82228920aaf62640e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3388b404178714bca17fabd0b33e8d352dc89eaf20e9079232c16cff7ade3d0a
[INFO] running `Command { std: "docker" "start" "-a" "3388b404178714bca17fabd0b33e8d352dc89eaf20e9079232c16cff7ade3d0a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling openssl v0.10.78
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling data-encoding v2.11.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling resolv-conf v0.7.6
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling openssl-sys v0.9.114
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling trust-dns-proto v0.20.4
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling trust-dns-native-tls v0.20.4
[INFO] [stderr]    Compiling trust-dns-resolver v0.20.4
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: unreachable pattern
[INFO] [stdout]    --> src/stripe.rs:280:22
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub amount: Option<String>,
[INFO] [stdout]     |         ------ matches all the relevant values
[INFO] [stdout] 280 |     #[serde(rename = "amount")]
[INFO] [stdout]     |                      ^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[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: 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)]` (part of `#[warn(unused)]`) on by default
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.59s
[INFO] running `Command { std: "docker" "inspect" "3388b404178714bca17fabd0b33e8d352dc89eaf20e9079232c16cff7ade3d0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3388b404178714bca17fabd0b33e8d352dc89eaf20e9079232c16cff7ade3d0a", kill_on_drop: false }`
[INFO] [stdout] 3388b404178714bca17fabd0b33e8d352dc89eaf20e9079232c16cff7ade3d0a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4ba059d3e31d3309984634e477a223a89539aaa9f52634e7626d5545eda0f66a
[INFO] running `Command { std: "docker" "start" "-a" "4ba059d3e31d3309984634e477a223a89539aaa9f52634e7626d5545eda0f66a", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr]    Compiling payup v0.1.45 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) 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: unreachable pattern
[INFO] [stdout]    --> src/stripe.rs:280:22
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub amount: Option<String>,
[INFO] [stdout]     |         ------ matches all the relevant values
[INFO] [stdout] 280 |     #[serde(rename = "amount")]
[INFO] [stdout]     |                      ^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[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: 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)]` (part of `#[warn(unused)]`) on by default
[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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: unreachable pattern
[INFO] [stdout]    --> src/stripe.rs:280:22
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub amount: Option<String>,
[INFO] [stdout]     |         ------ matches all the relevant values
[INFO] [stdout] 280 |     #[serde(rename = "amount")]
[INFO] [stdout]     |                      ^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[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: 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)]` (part of `#[warn(unused)]`) on by default
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.82s
[INFO] running `Command { std: "docker" "inspect" "4ba059d3e31d3309984634e477a223a89539aaa9f52634e7626d5545eda0f66a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ba059d3e31d3309984634e477a223a89539aaa9f52634e7626d5545eda0f66a", kill_on_drop: false }`
[INFO] [stdout] 4ba059d3e31d3309984634e477a223a89539aaa9f52634e7626d5545eda0f66a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 163a6979c528f7dbca55bd59f0874984b33bd98ab99746d5243669870f446b06
[INFO] running `Command { std: "docker" "start" "-a" "163a6979c528f7dbca55bd59f0874984b33bd98ab99746d5243669870f446b06", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: unreachable pattern
[INFO] [stderr]    --> src/stripe.rs:280:22
[INFO] [stderr]     |
[INFO] [stderr] 279 |     pub amount: Option<String>,
[INFO] [stderr]     |         ------ matches all the relevant values
[INFO] [stderr] 280 |     #[serde(rename = "amount")]
[INFO] [stderr]     |                      ^^^^^^^^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[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: 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)]` (part of `#[warn(unused)]`) on by default
[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 37 warnings (run `cargo fix --lib -p payup` to apply 35 suggestions)
[INFO] [stderr] warning: `payup` (lib test) generated 37 warnings (37 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/payup-90599e98a5551491)
[INFO] [stderr]    Doc-tests payup
[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] 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)]` (part of `#[warn(unused)]`) 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::Balance::get (line 63) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::list (line 191) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::async_list (line 137) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_post (line 488) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::capture (line 552) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_update (line 516) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::post (line 638) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::list (line 612) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::new (line 352) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_list (line 462) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Balance::async_get (line 41) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_invoices (line 909) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_get (line 886) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_get (line 440) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::get (line 169) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_list (line 940) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_post (line 1004) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_update (line 1043) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::async_get (line 115) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::invoices (line 1132) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_get (line 1485) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_payment_methods (line 973) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::get (line 590) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_capture (line 402) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::update (line 666) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::post (line 1233) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_delete (line 860) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::list (line 1163) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::update (line 1272) ... 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::Dispute::get (line 1593) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::get (line 1109) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_list (line 1507) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::close (line 1566) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::async_post (line 2182) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::payment_methods (line 1203) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::post (line 2216) ... 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::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::Dispute::async_update (line 1533) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::list (line 2027) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_get (line 2432) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_update (line 2504) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::async_get (line 1950) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::get (line 2005) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_post (line 2480) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::async_get (line 2134) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_get (line 2861) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::list (line 2557) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::list (line 2278) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::post (line 2583) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::new (line 821) ... ok
[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::FileLink::async_list (line 2454) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::get (line 2535) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_post (line 2911) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::get (line 2256) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::update (line 2607) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::list (line 2991) ... 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::async_get (line 3183) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Mandate::get (line 3207) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::post (line 3017) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::new (line 1427) ... ok
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::update (line 3041) ... FAILED
[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::Balance::get (line 63) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/stripe.rs:66:37
[INFO] [stdout]    |
[INFO] [stdout] 66 | 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:66:45
[INFO] [stdout]    |
[INFO] [stdout] 66 | 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:69:49
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_63_0() {
[INFO] [stdout]    |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 69 | let balance = payup::stripe::Balance::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::list (line 191) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:194:37
[INFO] [stdout]     |
[INFO] [stdout] 194 | 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:194:45
[INFO] [stdout]     |
[INFO] [stdout] 194 | 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:197:80
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_191_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 197 | 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::async_list (line 137) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:140:37
[INFO] [stdout]     |
[INFO] [stdout] 140 | 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:140:45
[INFO] [stdout]     |
[INFO] [stdout] 140 | 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:143:80
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_137_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 143 | 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::async_post (line 488) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:491:37
[INFO] [stdout]     |
[INFO] [stdout] 491 | 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:491:45
[INFO] [stdout]     |
[INFO] [stdout] 491 | 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:501:42
[INFO] [stdout]     |
[INFO] [stdout] 489 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_488_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 501 | 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:494:22
[INFO] [stdout]     |
[INFO] [stdout] 494 | charge.amount = Some(100);
[INFO] [stdout]     |                 ---- ^^^ expected `String`, found integer
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `{integer}` due to the type of the argument passed
[INFO] [stdout]    --> src/stripe.rs:494:17
[INFO] [stdout]     |
[INFO] [stdout] 494 | charge.amount = Some(100);
[INFO] [stdout]     |                 ^^^^^---^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/option.rs:608:4
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 494 | charge.amount = Some(100.to_string());
[INFO] [stdout]     |                         ++++++++++++
[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::capture (line 552) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:555:37
[INFO] [stdout]     |
[INFO] [stdout] 555 | 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:555:45
[INFO] [stdout]     |
[INFO] [stdout] 555 | 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:558:22
[INFO] [stdout]     |
[INFO] [stdout] 558 | charge.amount = Some(100);
[INFO] [stdout]     |                 ---- ^^^ expected `String`, found integer
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `{integer}` due to the type of the argument passed
[INFO] [stdout]    --> src/stripe.rs:558:17
[INFO] [stdout]     |
[INFO] [stdout] 558 | charge.amount = Some(100);
[INFO] [stdout]     |                 ^^^^^---^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/option.rs:608:4
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 558 | charge.amount = Some(100.to_string());
[INFO] [stdout]     |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/stripe.rs:565:10
[INFO] [stdout]     |
[INFO] [stdout] 557 | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout]     |                  ---------------------------- expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 565 | charge = charge.post(auth.clone());
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Charge`, found `Result<Charge, Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Charge`
[INFO] [stdout]                  found enum `Result<Charge, reqwest::error::Error>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<Charge, reqwest::error::Error>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 565 | charge = charge.post(auth.clone()).expect("REASON");
[INFO] [stdout]     |                                   +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/stripe.rs:568:23
[INFO] [stdout]     |
[INFO] [stdout] 568 | let captured_charge = payup::stripe::Charge::capture(charge, "cust_");
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------  ------- expected `Auth`, found `&str`
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      expected `&Charge`, found `Charge`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/stripe.rs:569:12
[INFO] [stdout]     |
[INFO] [stdout] 569 |     pub fn capture(&self, creds: Auth) ->  Result<Self, reqwest::Error>{
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 568 | let captured_charge = payup::stripe::Charge::capture(&charge, "cust_");
[INFO] [stdout]     |                                                      +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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::Charge::async_update (line 516) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:519:37
[INFO] [stdout]     |
[INFO] [stdout] 519 | 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:519:45
[INFO] [stdout]     |
[INFO] [stdout] 519 | 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:529:42
[INFO] [stdout]     |
[INFO] [stdout] 517 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_516_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 529 | 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:532:44
[INFO] [stdout]     |
[INFO] [stdout] 517 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_516_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 532 | 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:522:22
[INFO] [stdout]     |
[INFO] [stdout] 522 | charge.amount = Some(100);
[INFO] [stdout]     |                 ---- ^^^ expected `String`, found integer
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `{integer}` due to the type of the argument passed
[INFO] [stdout]    --> src/stripe.rs:522:17
[INFO] [stdout]     |
[INFO] [stdout] 522 | charge.amount = Some(100);
[INFO] [stdout]     |                 ^^^^^---^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/option.rs:608:4
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 522 | charge.amount = Some(100.to_string());
[INFO] [stdout]     |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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::post (line 638) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:641:37
[INFO] [stdout]     |
[INFO] [stdout] 641 | 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:641:45
[INFO] [stdout]     |
[INFO] [stdout] 641 | 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:644:22
[INFO] [stdout]     |
[INFO] [stdout] 644 | charge.amount = Some(100);
[INFO] [stdout]     |                 ---- ^^^ expected `String`, found integer
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `{integer}` due to the type of the argument passed
[INFO] [stdout]    --> src/stripe.rs:644:17
[INFO] [stdout]     |
[INFO] [stdout] 644 | charge.amount = Some(100);
[INFO] [stdout]     |                 ^^^^^---^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/option.rs:608:4
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 644 | charge.amount = Some(100.to_string());
[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:651:35
[INFO] [stdout]     |
[INFO] [stdout] 639 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_638_0() {
[INFO] [stdout]     |                                      -------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 651 | charge = charge.post(auth.clone())?;
[INFO] [stdout]     |                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 639 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_638_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 640 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 651 | charge = charge.post(auth.clone())?;
[INFO] [stdout] 652 +     Ok(())
[INFO] [stdout]     |
[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::list (line 612) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:615:37
[INFO] [stdout]     |
[INFO] [stdout] 615 | 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:615:45
[INFO] [stdout]     |
[INFO] [stdout] 615 | 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:618:48
[INFO] [stdout]     |
[INFO] [stdout] 613 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_612_0() {
[INFO] [stdout]     |                                      -------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 618 | let charges = payup::stripe::Charge::list(auth)?;
[INFO] [stdout]     |                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 613 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_612_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 614 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 618 | let charges = payup::stripe::Charge::list(auth)?;
[INFO] [stdout] 619 +     Ok(())
[INFO] [stdout]     |
[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::new (line 352) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/stripe.rs:355:22
[INFO] [stdout]     |
[INFO] [stdout] 355 | charge.amount = Some(100);
[INFO] [stdout]     |                 ---- ^^^ expected `String`, found integer
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `{integer}` due to the type of the argument passed
[INFO] [stdout]    --> src/stripe.rs:355:17
[INFO] [stdout]     |
[INFO] [stdout] 355 | charge.amount = Some(100);
[INFO] [stdout]     |                 ^^^^^---^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/option.rs:608:4
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 355 | charge.amount = Some(100.to_string());
[INFO] [stdout]     |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 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::Charge::async_list (line 462) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:465:37
[INFO] [stdout]     |
[INFO] [stdout] 465 | 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:465:45
[INFO] [stdout]     |
[INFO] [stdout] 465 | 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:468:55
[INFO] [stdout]     |
[INFO] [stdout] 463 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_462_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 468 | let charges = payup::stripe::Charge::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::Balance::async_get (line 41) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/stripe.rs:44:37
[INFO] [stdout]    |
[INFO] [stdout] 44 | 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:44:45
[INFO] [stdout]    |
[INFO] [stdout] 44 | 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:47:55
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_41_0() {
[INFO] [stdout]    |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 47 | 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::Customer::async_invoices (line 909) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:912:37
[INFO] [stdout]     |
[INFO] [stdout] 912 | 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:912:45
[INFO] [stdout]     |
[INFO] [stdout] 912 | 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:914:84
[INFO] [stdout]     |
[INFO] [stdout] 910 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_909_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 914 | 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: 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::Customer::async_get (line 886) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:889:37
[INFO] [stdout]     |
[INFO] [stdout] 889 | 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:889:45
[INFO] [stdout]     |
[INFO] [stdout] 889 | 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:892:66
[INFO] [stdout]     |
[INFO] [stdout] 887 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_886_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 892 | 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:892:57
[INFO] [stdout]     |
[INFO] [stdout] 892 | let customer = payup::stripe::Customer::async_get(auth, "cust_").await?;
[INFO] [stdout]     |                ----------------------------------       ^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/stripe.rs:893:18
[INFO] [stdout]     |
[INFO] [stdout] 893 |     pub async fn async_get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 892 | let customer = payup::stripe::Customer::async_get(auth, "cust_".to_string()).await?;
[INFO] [stdout]     |                                                                ++++++++++++
[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_get (line 440) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:443:37
[INFO] [stdout]     |
[INFO] [stdout] 443 | 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:443:45
[INFO] [stdout]     |
[INFO] [stdout] 443 | 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:446:60
[INFO] [stdout]     |
[INFO] [stdout] 441 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_440_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 446 | 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:446:53
[INFO] [stdout]     |
[INFO] [stdout] 446 | let charge = payup::stripe::Charge::async_get(auth, "ch_").await?;
[INFO] [stdout]     |              --------------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/stripe.rs:447:18
[INFO] [stdout]     |
[INFO] [stdout] 447 |     pub async fn async_get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 446 | let charge = payup::stripe::Charge::async_get(auth, "ch_".to_string()).await?;
[INFO] [stdout]     |                                                          ++++++++++++
[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::BalanceTransaction::get (line 169) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:172:37
[INFO] [stdout]     |
[INFO] [stdout] 172 | 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:172:45
[INFO] [stdout]     |
[INFO] [stdout] 172 | 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:175:80
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_169_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 175 | 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:175:72
[INFO] [stdout]     |
[INFO] [stdout] 175 | let balance_transaction = payup::stripe::BalanceTransaction::get(auth, "txn_").await;
[INFO] [stdout]     |                           --------------------------------------       ^^^^^^ expected `String`, found `&str`
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/stripe.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 176 |     pub fn get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 175 | let balance_transaction = payup::stripe::BalanceTransaction::get(auth, "txn_".to_string()).await;
[INFO] [stdout]     |                                                                              ++++++++++++
[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::Customer::async_list (line 940) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:943:37
[INFO] [stdout]     |
[INFO] [stdout] 943 | 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:943:45
[INFO] [stdout]     |
[INFO] [stdout] 943 | 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:946:59
[INFO] [stdout]     |
[INFO] [stdout] 941 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_940_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 946 | let customers = payup::stripe::Customer::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::Customer::async_post (line 1004) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1007:37
[INFO] [stdout]      |
[INFO] [stdout] 1007 | 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:1007:45
[INFO] [stdout]      |
[INFO] [stdout] 1007 | 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:1018:38
[INFO] [stdout]      |
[INFO] [stdout] 1005 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1004_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1018 | let customer = cust.async_post(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::Customer::async_update (line 1043) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1046:37
[INFO] [stdout]      |
[INFO] [stdout] 1046 | 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:1046:45
[INFO] [stdout]      |
[INFO] [stdout] 1046 | 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:1057:12
[INFO] [stdout]      |
[INFO] [stdout] 1057 | 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:1063:12
[INFO] [stdout]      |
[INFO] [stdout] 1063 | 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:1057:34
[INFO] [stdout]      |
[INFO] [stdout] 1044 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1043_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1057 | 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:1063:36
[INFO] [stdout]      |
[INFO] [stdout] 1044 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1043_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1063 | customer = cust.async_update(auth).await?;
[INFO] [stdout]      |                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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::async_get (line 115) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:118:37
[INFO] [stdout]     |
[INFO] [stdout] 118 | 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:118:45
[INFO] [stdout]     |
[INFO] [stdout] 118 | 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:121:86
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_115_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 121 | 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:121:78
[INFO] [stdout]     |
[INFO] [stdout] 121 | let balance_transaction = payup::stripe::BalanceTransaction::async_get(auth, "txn_").await;
[INFO] [stdout]     |                           --------------------------------------------       ^^^^^^ expected `String`, found `&str`
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/stripe.rs:122:18
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub async fn async_get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 121 | let balance_transaction = payup::stripe::BalanceTransaction::async_get(auth, "txn_".to_string()).await;
[INFO] [stdout]     |                                                                                    ++++++++++++
[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::Customer::invoices (line 1132) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1135:37
[INFO] [stdout]      |
[INFO] [stdout] 1135 | 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:1135:45
[INFO] [stdout]      |
[INFO] [stdout] 1135 | 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:1137:83
[INFO] [stdout]      |
[INFO] [stdout] 1133 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1132_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 1137 | let customers_invoices = payup::stripe::Customer::invoices(auth, format!("cust_"))?;
[INFO] [stdout]      |                                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 1133 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1132_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 1134 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 1137 | let customers_invoices = payup::stripe::Customer::invoices(auth, format!("cust_"))?;
[INFO] [stdout] 1138 +     Ok(())
[INFO] [stdout]      |
[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::async_get (line 1485) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1488:37
[INFO] [stdout]      |
[INFO] [stdout] 1488 | 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:1488:45
[INFO] [stdout]      |
[INFO] [stdout] 1488 | 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:1491:62
[INFO] [stdout]      |
[INFO] [stdout] 1486 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1485_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1491 | 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:1491:55
[INFO] [stdout]      |
[INFO] [stdout] 1491 | let dispute = payup::stripe::Dispute::async_get(auth, "ch_").await?;
[INFO] [stdout]      |               ---------------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |               |
[INFO] [stdout]      |               arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:1492:18
[INFO] [stdout]      |
[INFO] [stdout] 1492 |     pub async fn async_get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 1491 | let dispute = payup::stripe::Dispute::async_get(auth, "ch_".to_string()).await?;
[INFO] [stdout]      |                                                            ++++++++++++
[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::Customer::async_payment_methods (line 973) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:976:37
[INFO] [stdout]     |
[INFO] [stdout] 976 | 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:976:45
[INFO] [stdout]     |
[INFO] [stdout] 976 | 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:978:121
[INFO] [stdout]     |
[INFO] [stdout] 974 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_973_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 978 | 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: 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::get (line 590) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:593:37
[INFO] [stdout]     |
[INFO] [stdout] 593 | 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:593:45
[INFO] [stdout]     |
[INFO] [stdout] 593 | 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:596:47
[INFO] [stdout]     |
[INFO] [stdout] 596 | let charge = payup::stripe::Charge::get(auth, "ch_");
[INFO] [stdout]     |              --------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/stripe.rs:597:12
[INFO] [stdout]     |
[INFO] [stdout] 597 |     pub fn get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 596 | let charge = payup::stripe::Charge::get(auth, "ch_".to_string());
[INFO] [stdout]     |                                                    ++++++++++++
[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::Charge::async_capture (line 402) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:405:37
[INFO] [stdout]     |
[INFO] [stdout] 405 | 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:405:45
[INFO] [stdout]     |
[INFO] [stdout] 405 | 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:415:42
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_402_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 415 | 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:418:77
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_402_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 418 | 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:408:22
[INFO] [stdout]     |
[INFO] [stdout] 408 | charge.amount = Some(100);
[INFO] [stdout]     |                 ---- ^^^ expected `String`, found integer
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `{integer}` due to the type of the argument passed
[INFO] [stdout]    --> src/stripe.rs:408:17
[INFO] [stdout]     |
[INFO] [stdout] 408 | charge.amount = Some(100);
[INFO] [stdout]     |                 ^^^^^---^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/option.rs:608:4
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 408 | charge.amount = Some(100.to_string());
[INFO] [stdout]     |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/stripe.rs:418:23
[INFO] [stdout]     |
[INFO] [stdout] 418 | let captured_charge = payup::stripe::Charge::async_capture(charge, "cust_").await?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------  ------- expected `Auth`, found `&str`
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            expected `&Charge`, found `Charge`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/stripe.rs:419:18
[INFO] [stdout]     |
[INFO] [stdout] 419 |     pub async fn async_capture(&self, creds: Auth) ->  Result<Self, reqwest::Error>{
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 418 | let captured_charge = payup::stripe::Charge::async_capture(&charge, "cust_").await?;
[INFO] [stdout]     |                                                            +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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::update (line 666) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:669:37
[INFO] [stdout]     |
[INFO] [stdout] 669 | 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:669:45
[INFO] [stdout]     |
[INFO] [stdout] 669 | 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:679:42
[INFO] [stdout]     |
[INFO] [stdout] 667 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_666_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 679 | 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:682:38
[INFO] [stdout]     |
[INFO] [stdout] 667 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_666_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 682 | 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:672:22
[INFO] [stdout]     |
[INFO] [stdout] 672 | charge.amount = Some(100);
[INFO] [stdout]     |                 ---- ^^^ expected `String`, found integer
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `{integer}` due to the type of the argument passed
[INFO] [stdout]    --> src/stripe.rs:672:17
[INFO] [stdout]     |
[INFO] [stdout] 672 | charge.amount = Some(100);
[INFO] [stdout]     |                 ^^^^^---^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/option.rs:608:4
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 672 | charge.amount = Some(100.to_string());
[INFO] [stdout]     |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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::Customer::post (line 1233) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1236:37
[INFO] [stdout]      |
[INFO] [stdout] 1236 | 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:1236:45
[INFO] [stdout]      |
[INFO] [stdout] 1236 | 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::async_delete (line 860) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/stripe.rs:863:37
[INFO] [stdout]     |
[INFO] [stdout] 863 | 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:863:45
[INFO] [stdout]     |
[INFO] [stdout] 863 | 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:866:69
[INFO] [stdout]     |
[INFO] [stdout] 861 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_860_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 866 | 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:866:60
[INFO] [stdout]     |
[INFO] [stdout] 866 | let customer = payup::stripe::Customer::async_delete(auth, "cust_").await?;
[INFO] [stdout]     |                -------------------------------------       ^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/stripe.rs:867:18
[INFO] [stdout]     |
[INFO] [stdout] 867 |     pub async fn async_delete(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 866 | let customer = payup::stripe::Customer::async_delete(auth, "cust_".to_string()).await?;
[INFO] [stdout]     |                                                                   ++++++++++++
[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::Customer::list (line 1163) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1166:37
[INFO] [stdout]      |
[INFO] [stdout] 1166 | 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:1166:45
[INFO] [stdout]      |
[INFO] [stdout] 1166 | 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:1169:60
[INFO] [stdout]      |
[INFO] [stdout] 1164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1163_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 1169 | let customers = payup::stripe::Customer::list(auth.clone())?;
[INFO] [stdout]      |                                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 1164 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1163_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 1165 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 1169 | let customers = payup::stripe::Customer::list(auth.clone())?;
[INFO] [stdout] 1170 +     Ok(())
[INFO] [stdout]      |
[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::update (line 1272) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1275:37
[INFO] [stdout]      |
[INFO] [stdout] 1275 | 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:1275:45
[INFO] [stdout]      |
[INFO] [stdout] 1275 | 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:1286:12
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]      |
[INFO] [stdout] 1286 | 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:1292:12
[INFO] [stdout]      |
[INFO] [stdout] 1292 | customer = cust.update(auth)?;
[INFO] [stdout]      |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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_close (line 1456) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1459:37
[INFO] [stdout]      |
[INFO] [stdout] 1459 | 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:1459:45
[INFO] [stdout]      |
[INFO] [stdout] 1459 | 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:1464:45
[INFO] [stdout]      |
[INFO] [stdout] 1457 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1456_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1464 | dispute = dispute.async_close(auth.clone()).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::Customer::delete (line 1083) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1086:37
[INFO] [stdout]      |
[INFO] [stdout] 1086 | 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:1086:45
[INFO] [stdout]      |
[INFO] [stdout] 1086 | 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:1089:69
[INFO] [stdout]      |
[INFO] [stdout] 1084 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1083_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1089 | 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:1089:60
[INFO] [stdout]      |
[INFO] [stdout] 1089 | let customer = payup::stripe::Customer::async_delete(auth, "cust_").await?;
[INFO] [stdout]      |                -------------------------------------       ^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |                |
[INFO] [stdout]      |                arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:867:18
[INFO] [stdout]      |
[INFO] [stdout]  867 |     pub async fn async_delete(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 1089 | let customer = payup::stripe::Customer::async_delete(auth, "cust_".to_string()).await?;
[INFO] [stdout]      |                                                                   ++++++++++++
[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::Dispute::get (line 1593) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1596:37
[INFO] [stdout]      |
[INFO] [stdout] 1596 | 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:1596:45
[INFO] [stdout]      |
[INFO] [stdout] 1596 | 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:1599:49
[INFO] [stdout]      |
[INFO] [stdout] 1599 | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout]      |               ---------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |               |
[INFO] [stdout]      |               arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:1600:12
[INFO] [stdout]      |
[INFO] [stdout] 1600 |     pub fn get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 1599 | let dispute = payup::stripe::Dispute::get(auth, "ch_".to_string())?;
[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:1599:55
[INFO] [stdout]      |
[INFO] [stdout] 1594 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1593_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 1599 | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout]      |                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 1594 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1593_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 1595 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 1599 | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout] 1600 +     Ok(())
[INFO] [stdout]      |
[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::Customer::get (line 1109) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1112:37
[INFO] [stdout]      |
[INFO] [stdout] 1112 | 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:1112:45
[INFO] [stdout]      |
[INFO] [stdout] 1112 | 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:1115:51
[INFO] [stdout]      |
[INFO] [stdout] 1115 | let customer = payup::stripe::Customer::get(auth, "cust_")?;
[INFO] [stdout]      |                ----------------------------       ^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |                |
[INFO] [stdout]      |                arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:1116:12
[INFO] [stdout]      |
[INFO] [stdout] 1116 |     pub fn get(auth: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 1115 | let customer = payup::stripe::Customer::get(auth, "cust_".to_string())?;
[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:1115:59
[INFO] [stdout]      |
[INFO] [stdout] 1110 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1109_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 1115 | let customer = payup::stripe::Customer::get(auth, "cust_")?;
[INFO] [stdout]      |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 1110 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1109_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 1111 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 1115 | let customer = payup::stripe::Customer::get(auth, "cust_")?;
[INFO] [stdout] 1116 +     Ok(())
[INFO] [stdout]      |
[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_list (line 1507) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1510:37
[INFO] [stdout]      |
[INFO] [stdout] 1510 | 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:1510:45
[INFO] [stdout]      |
[INFO] [stdout] 1510 | 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:1513:57
[INFO] [stdout]      |
[INFO] [stdout] 1508 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1507_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1513 | let disputes = payup::stripe::Dispute::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::Dispute::close (line 1566) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1569:37
[INFO] [stdout]      |
[INFO] [stdout] 1569 | 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:1569:45
[INFO] [stdout]      |
[INFO] [stdout] 1569 | 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:1574:11
[INFO] [stdout]      |
[INFO] [stdout] 1574 | 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 nightly-only, unstable trait `Try` is not implemented for `impl Future<Output = Result<Dispute, reqwest::error::Error>>`
[INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function
[INFO] [stdout]     --> src/stripe.rs:1574:44
[INFO] [stdout]      |
[INFO] [stdout] 1567 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1566_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1574 | dispute = dispute.async_close(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:1574:44
[INFO] [stdout]      |
[INFO] [stdout] 1567 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1566_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 1574 | dispute = dispute.async_close(auth.clone())?;
[INFO] [stdout]      |                                            ^ cannot use the `?` operator in a function that returns `()`
[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::File::async_post (line 2182) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]     --> src/stripe.rs:2184:1
[INFO] [stdout]      |
[INFO] [stdout] 2184 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]      | ^^^
[INFO] [stdout]      | |
[INFO] [stdout]      | `let` cannot be used for global variables
[INFO] [stdout]      | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]      |
[INFO] [stdout]      = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[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:1206:37
[INFO] [stdout]      |
[INFO] [stdout] 1206 | 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:1206:45
[INFO] [stdout]      |
[INFO] [stdout] 1206 | 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:1208:114
[INFO] [stdout]      |
[INFO] [stdout] 1204 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1203_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 1208 | 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]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 1204 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1203_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 1205 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 1208 | let customers_payment_methods = payup::stripe::Customer::payment_methods(auth, format!("cust_"), format!("card"))?;
[INFO] [stdout] 1209 +     Ok(())
[INFO] [stdout]      |
[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::post (line 2216) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]     --> src/stripe.rs:2218:1
[INFO] [stdout]      |
[INFO] [stdout] 2218 | let auth = payup::stripe::Auth::new(client, secret);
[INFO] [stdout]      | ^^^
[INFO] [stdout]      | |
[INFO] [stdout]      | `let` cannot be used for global variables
[INFO] [stdout]      | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]      |
[INFO] [stdout]      = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[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:1645:37
[INFO] [stdout]      |
[INFO] [stdout] 1645 | 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:1645:45
[INFO] [stdout]      |
[INFO] [stdout] 1645 | 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:1660:11
[INFO] [stdout]      |
[INFO] [stdout] 1660 | 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 nightly-only, unstable trait `Try` is not implemented for `impl Future<Output = Result<Dispute, reqwest::error::Error>>`
[INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function
[INFO] [stdout]     --> src/stripe.rs:1660:45
[INFO] [stdout]      |
[INFO] [stdout] 1643 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1642_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1660 | dispute = dispute.async_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:1660:45
[INFO] [stdout]      |
[INFO] [stdout] 1643 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1642_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 1660 | dispute = dispute.async_update(auth.clone())?;
[INFO] [stdout]      |                                             ^ cannot use the `?` operator in a function that returns `()`
[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:1618:37
[INFO] [stdout]      |
[INFO] [stdout] 1618 | 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:1618:45
[INFO] [stdout]      |
[INFO] [stdout] 1618 | 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:1621:49
[INFO] [stdout]      |
[INFO] [stdout] 1616 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1615_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 1621 | let charges = payup::stripe::Dispute::list(auth)?;
[INFO] [stdout]      |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 1616 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1615_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 1617 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 1621 | let charges = payup::stripe::Dispute::list(auth)?;
[INFO] [stdout] 1622 +     Ok(())
[INFO] [stdout]      |
[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_list (line 1972) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1975:37
[INFO] [stdout]      |
[INFO] [stdout] 1975 | 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:1975:45
[INFO] [stdout]      |
[INFO] [stdout] 1975 | 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:1978:53
[INFO] [stdout]      |
[INFO] [stdout] 1973 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1972_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1978 | let events = payup::stripe::Event::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::File::async_list (line 2156) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2159:37
[INFO] [stdout]      |
[INFO] [stdout] 2159 | 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:2159:45
[INFO] [stdout]      |
[INFO] [stdout] 2159 | 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:2162:57
[INFO] [stdout]      |
[INFO] [stdout] 2157 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2156_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2162 | let disputes = payup::stripe::Dispute::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::Dispute::async_update (line 1533) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1536:37
[INFO] [stdout]      |
[INFO] [stdout] 1536 | 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:1536:45
[INFO] [stdout]      |
[INFO] [stdout] 1536 | 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:1551:46
[INFO] [stdout]      |
[INFO] [stdout] 1534 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1533_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1551 | dispute = dispute.async_update(auth.clone()).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::Event::list (line 2027) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2030:37
[INFO] [stdout]      |
[INFO] [stdout] 2030 | 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:2030:45
[INFO] [stdout]      |
[INFO] [stdout] 2030 | 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:2033:46
[INFO] [stdout]      |
[INFO] [stdout] 2028 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2027_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 2033 | let events = payup::stripe::Event::list(auth)?;
[INFO] [stdout]      |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 2028 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2027_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 2029 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 2033 | let events = payup::stripe::Event::list(auth)?;
[INFO] [stdout] 2034 +     Ok(())
[INFO] [stdout]      |
[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::FileLink::async_get (line 2432) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2435:37
[INFO] [stdout]      |
[INFO] [stdout] 2435 | 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:2435:45
[INFO] [stdout]      |
[INFO] [stdout] 2435 | 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:2438:62
[INFO] [stdout]      |
[INFO] [stdout] 2433 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2432_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2438 | 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:2438:53
[INFO] [stdout]      |
[INFO] [stdout] 2438 | let file = payup::stripe::FileLink::async_get(auth, "link_").await?;
[INFO] [stdout]      |            ----------------------------------       ^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |            |
[INFO] [stdout]      |            arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:2439:18
[INFO] [stdout]      |
[INFO] [stdout] 2439 |     pub async fn async_get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 2438 | let file = payup::stripe::FileLink::async_get(auth, "link_".to_string()).await?;
[INFO] [stdout]      |                                                            ++++++++++++
[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::FileLink::async_update (line 2504) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2507:37
[INFO] [stdout]      |
[INFO] [stdout] 2507 | 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:2507:45
[INFO] [stdout]      |
[INFO] [stdout] 2507 | 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:2512:48
[INFO] [stdout]      |
[INFO] [stdout] 2505 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2504_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2512 | 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:2515:50
[INFO] [stdout]      |
[INFO] [stdout] 2505 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2504_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2515 | file_link = file_link.async_update(auth.clone()).await?;
[INFO] [stdout]      |                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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::Event::async_get (line 1950) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:1953:37
[INFO] [stdout]      |
[INFO] [stdout] 1953 | 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:1953:45
[INFO] [stdout]      |
[INFO] [stdout] 1953 | 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:1956:58
[INFO] [stdout]      |
[INFO] [stdout] 1951 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1950_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1956 | 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:1956:51
[INFO] [stdout]      |
[INFO] [stdout] 1956 | let event = payup::stripe::Event::async_get(auth, "ch_").await?;
[INFO] [stdout]      |             -------------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |             |
[INFO] [stdout]      |             arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:1957:18
[INFO] [stdout]      |
[INFO] [stdout] 1957 |     pub async fn async_get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 1956 | let event = payup::stripe::Event::async_get(auth, "ch_".to_string()).await?;
[INFO] [stdout]      |                                                        ++++++++++++
[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::Event::get (line 2005) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2008:37
[INFO] [stdout]      |
[INFO] [stdout] 2008 | 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:2008:45
[INFO] [stdout]      |
[INFO] [stdout] 2008 | 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:2011:45
[INFO] [stdout]      |
[INFO] [stdout] 2011 | let event = payup::stripe::Event::get(auth, "ch_")?;
[INFO] [stdout]      |             -------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |             |
[INFO] [stdout]      |             arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:2012:12
[INFO] [stdout]      |
[INFO] [stdout] 2012 |     pub fn get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 2011 | let event = payup::stripe::Event::get(auth, "ch_".to_string())?;
[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:2011:51
[INFO] [stdout]      |
[INFO] [stdout] 2006 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2005_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 2011 | let event = payup::stripe::Event::get(auth, "ch_")?;
[INFO] [stdout]      |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 2006 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2005_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 2007 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 2011 | let event = payup::stripe::Event::get(auth, "ch_")?;
[INFO] [stdout] 2012 +     Ok(())
[INFO] [stdout]      |
[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_post (line 2480) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2483:37
[INFO] [stdout]      |
[INFO] [stdout] 2483 | 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:2483:45
[INFO] [stdout]      |
[INFO] [stdout] 2483 | 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:2489:48
[INFO] [stdout]      |
[INFO] [stdout] 2481 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2480_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2489 | file_link = file_link.async_post(auth.clone()).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::File::async_get (line 2134) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2137:37
[INFO] [stdout]      |
[INFO] [stdout] 2137 | 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:2137:45
[INFO] [stdout]      |
[INFO] [stdout] 2137 | 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:2140:56
[INFO] [stdout]      |
[INFO] [stdout] 2135 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2134_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2140 | 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:2140:49
[INFO] [stdout]      |
[INFO] [stdout] 2140 | let file = payup::stripe::File::async_get(auth, "ch_").await?;
[INFO] [stdout]      |            ------------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |            |
[INFO] [stdout]      |            arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:2141:18
[INFO] [stdout]      |
[INFO] [stdout] 2141 |     pub async fn async_get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 2140 | let file = payup::stripe::File::async_get(auth, "ch_".to_string()).await?;
[INFO] [stdout]      |                                                      ++++++++++++
[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::Invoice::async_get (line 2861) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2864:37
[INFO] [stdout]      |
[INFO] [stdout] 2864 | 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:2864:45
[INFO] [stdout]      |
[INFO] [stdout] 2864 | 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:2867:62
[INFO] [stdout]      |
[INFO] [stdout] 2862 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2861_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2867 | 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:2867:55
[INFO] [stdout]      |
[INFO] [stdout] 2867 | let invoice = payup::stripe::Invoice::async_get(auth, "in_").await?;
[INFO] [stdout]      |               ---------------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |               |
[INFO] [stdout]      |               arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:2868:18
[INFO] [stdout]      |
[INFO] [stdout] 2868 |     pub async fn async_get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 2867 | let invoice = payup::stripe::Invoice::async_get(auth, "in_".to_string()).await?;
[INFO] [stdout]      |                                                            ++++++++++++
[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::FileLink::list (line 2557) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2560:37
[INFO] [stdout]      |
[INFO] [stdout] 2560 | 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:2560:45
[INFO] [stdout]      |
[INFO] [stdout] 2560 | 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:2563:53
[INFO] [stdout]      |
[INFO] [stdout] 2558 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2557_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 2563 | let file_links = payup::stripe::FileLink::list(auth)?;
[INFO] [stdout]      |                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 2558 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2557_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 2559 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 2563 | let file_links = payup::stripe::FileLink::list(auth)?;
[INFO] [stdout] 2564 +     Ok(())
[INFO] [stdout]      |
[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::list (line 2278) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2281:37
[INFO] [stdout]      |
[INFO] [stdout] 2281 | 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:2281:45
[INFO] [stdout]      |
[INFO] [stdout] 2281 | 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:2284:49
[INFO] [stdout]      |
[INFO] [stdout] 2279 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2278_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 2284 | let charges = payup::stripe::Dispute::list(auth)?;
[INFO] [stdout]      |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 2279 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2278_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 2280 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 2284 | let charges = payup::stripe::Dispute::list(auth)?;
[INFO] [stdout] 2285 +     Ok(())
[INFO] [stdout]      |
[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::FileLink::post (line 2583) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2586:37
[INFO] [stdout]      |
[INFO] [stdout] 2586 | 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:2586:45
[INFO] [stdout]      |
[INFO] [stdout] 2586 | 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:2592:13
[INFO] [stdout]      |
[INFO] [stdout] 2592 | 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 nightly-only, unstable trait `Try` is not implemented for `impl Future<Output = Result<FileLink, reqwest::error::Error>>`
[INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function
[INFO] [stdout]     --> src/stripe.rs:2592:47
[INFO] [stdout]      |
[INFO] [stdout] 2584 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2583_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2592 | file_link = file_link.async_post(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:2592:47
[INFO] [stdout]      |
[INFO] [stdout] 2584 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2583_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 2592 | file_link = file_link.async_post(auth.clone())?;
[INFO] [stdout]      |                                               ^ cannot use the `?` operator in a function that returns `()`
[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:2938:37
[INFO] [stdout]      |
[INFO] [stdout] 2938 | 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:2938:45
[INFO] [stdout]      |
[INFO] [stdout] 2938 | 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:2944:36
[INFO] [stdout]      |
[INFO] [stdout] 2936 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2935_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2944 | 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:2947:38
[INFO] [stdout]      |
[INFO] [stdout] 2936 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2935_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2947 | invoice = invoice.async_update(auth).await?;
[INFO] [stdout]      |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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::Invoice::async_list (line 2885) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2888:37
[INFO] [stdout]      |
[INFO] [stdout] 2888 | 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:2888:45
[INFO] [stdout]      |
[INFO] [stdout] 2888 | 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:2891:57
[INFO] [stdout]      |
[INFO] [stdout] 2886 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2885_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2891 | 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:2891:16
[INFO] [stdout]      |
[INFO] [stdout] 2891 | let invoices = payup::stripe::Invoice::async_list(auth).await?;
[INFO] [stdout]      |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ two arguments of type `Option<String>` and `Option<String>` are missing
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> 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] help: provide the arguments
[INFO] [stdout]      |
[INFO] [stdout] 2891 | let invoices = payup::stripe::Invoice::async_list(auth, /* Option<String> */, /* Option<String> */).await?;
[INFO] [stdout]      |                                                       ++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, 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::FileLink::async_list (line 2454) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2457:37
[INFO] [stdout]      |
[INFO] [stdout] 2457 | 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:2457:45
[INFO] [stdout]      |
[INFO] [stdout] 2457 | 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:2460:60
[INFO] [stdout]      |
[INFO] [stdout] 2455 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2454_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2460 | let file_links = payup::stripe::FileLink::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::FileLink::get (line 2535) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2538:37
[INFO] [stdout]      |
[INFO] [stdout] 2538 | 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:2538:45
[INFO] [stdout]      |
[INFO] [stdout] 2538 | 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:2541:52
[INFO] [stdout]      |
[INFO] [stdout] 2541 | let file_link = payup::stripe::FileLink::get(auth, "ch_");
[INFO] [stdout]      |                 ----------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:2542:12
[INFO] [stdout]      |
[INFO] [stdout] 2542 |     pub fn get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 2541 | let file_link = payup::stripe::FileLink::get(auth, "ch_".to_string());
[INFO] [stdout]      |                                                         ++++++++++++
[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_post (line 2911) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2914:37
[INFO] [stdout]      |
[INFO] [stdout] 2914 | 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:2914:45
[INFO] [stdout]      |
[INFO] [stdout] 2914 | 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:2920:36
[INFO] [stdout]      |
[INFO] [stdout] 2912 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2911_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 2920 | invoice = invoice.async_post(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::File::get (line 2256) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2259:37
[INFO] [stdout]      |
[INFO] [stdout] 2259 | 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:2259:45
[INFO] [stdout]      |
[INFO] [stdout] 2259 | 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:2262:49
[INFO] [stdout]      |
[INFO] [stdout] 2262 | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout]      |               ---------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |               |
[INFO] [stdout]      |               arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:1600:12
[INFO] [stdout]      |
[INFO] [stdout] 1600 |     pub fn get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 2262 | let dispute = payup::stripe::Dispute::get(auth, "ch_".to_string())?;
[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:2262:55
[INFO] [stdout]      |
[INFO] [stdout] 2257 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2256_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 2262 | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout]      |                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 2257 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2256_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 2258 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 2262 | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout] 2263 +     Ok(())
[INFO] [stdout]      |
[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::update (line 2607) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2610:37
[INFO] [stdout]      |
[INFO] [stdout] 2610 | 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:2610:45
[INFO] [stdout]      |
[INFO] [stdout] 2610 | 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:2615:41
[INFO] [stdout]      |
[INFO] [stdout] 2608 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2607_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 2615 | file_link = file_link.post(auth.clone())?;
[INFO] [stdout]      |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 2608 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2607_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 2609 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 2618 | file_link = file_link.update(auth.clone())?;
[INFO] [stdout] 2619 +     Ok(())
[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:2618:43
[INFO] [stdout]      |
[INFO] [stdout] 2608 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2607_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 2618 | file_link = file_link.update(auth.clone())?;
[INFO] [stdout]      |                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 2608 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2607_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 2609 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 2618 | file_link = file_link.update(auth.clone())?;
[INFO] [stdout] 2619 +     Ok(())
[INFO] [stdout]      |
[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::list (line 2991) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:2994:37
[INFO] [stdout]      |
[INFO] [stdout] 2994 | 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:2994:45
[INFO] [stdout]      |
[INFO] [stdout] 2994 | 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:2997:16
[INFO] [stdout]      |
[INFO] [stdout] 2997 | let invoices = payup::stripe::Invoice::list(auth)?;
[INFO] [stdout]      |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ two arguments of type `Option<String>` and `Option<String>` are missing
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> 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] help: provide the arguments
[INFO] [stdout]      |
[INFO] [stdout] 2997 | let invoices = payup::stripe::Invoice::list(auth, /* Option<String> */, /* Option<String> */)?;
[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:2997:50
[INFO] [stdout]      |
[INFO] [stdout] 2992 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2991_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 2997 | let invoices = payup::stripe::Invoice::list(auth)?;
[INFO] [stdout]      |                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 2992 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2991_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 2993 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 2997 | let invoices = payup::stripe::Invoice::list(auth)?;
[INFO] [stdout] 2998 +     Ok(())
[INFO] [stdout]      |
[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::Subscription::get (line 3662) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/stripe.rs:3671:63
[INFO] [stdout]      |
[INFO] [stdout] 3671 | let get_subscription = payup::stripe::Subscription::get(auth, "subscription_id");
[INFO] [stdout]      |                        --------------------------------       ^^^^^^^^^^^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:3672:12
[INFO] [stdout]      |
[INFO] [stdout] 3672 |     pub fn get(creds: Auth, id: String) -> Result<crate::stripe::response::Subscription, reqwest::Error> {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 3671 | let get_subscription = payup::stripe::Subscription::get(auth, "subscription_id".to_string());
[INFO] [stdout]      |                                                                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 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:2970:37
[INFO] [stdout]      |
[INFO] [stdout] 2970 | 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:2970:45
[INFO] [stdout]      |
[INFO] [stdout] 2970 | 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:2973:49
[INFO] [stdout]      |
[INFO] [stdout] 2973 | let invoice = payup::stripe::Invoice::get(auth, "in_");
[INFO] [stdout]      |               ---------------------------       ^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |               |
[INFO] [stdout]      |               arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:2974:12
[INFO] [stdout]      |
[INFO] [stdout] 2974 |     pub fn get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 2973 | let invoice = payup::stripe::Invoice::get(auth, "in_".to_string());
[INFO] [stdout]      |                                                      ++++++++++++
[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::async_get (line 3183) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:3186:37
[INFO] [stdout]      |
[INFO] [stdout] 3186 | 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:3186:45
[INFO] [stdout]      |
[INFO] [stdout] 3186 | 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:3189:64
[INFO] [stdout]      |
[INFO] [stdout] 3184 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3183_0() {
[INFO] [stdout]      |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 3189 | 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:3189:52
[INFO] [stdout]      |
[INFO] [stdout] 3189 | let file = payup::stripe::Mandate::async_get(auth, "mandate_").await?;
[INFO] [stdout]      |            ---------------------------------       ^^^^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |            |
[INFO] [stdout]      |            arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:3190:18
[INFO] [stdout]      |
[INFO] [stdout] 3190 |     pub async fn async_get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 3189 | let file = payup::stripe::Mandate::async_get(auth, "mandate_".to_string()).await?;
[INFO] [stdout]      |                                                              ++++++++++++
[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::Mandate::get (line 3207) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:3210:37
[INFO] [stdout]      |
[INFO] [stdout] 3210 | 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:3210:45
[INFO] [stdout]      |
[INFO] [stdout] 3210 | 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:3213:49
[INFO] [stdout]      |
[INFO] [stdout] 3213 | let mandate = payup::stripe::Mandate::get(auth, "mandate_")?;
[INFO] [stdout]      |               ---------------------------       ^^^^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]      |               |
[INFO] [stdout]      |               arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/stripe.rs:3214:12
[INFO] [stdout]      |
[INFO] [stdout] 3214 |     pub fn get(creds: Auth, id: String) -> Result<Self, reqwest::Error> {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]      |
[INFO] [stdout] 3213 | let mandate = payup::stripe::Mandate::get(auth, "mandate_".to_string())?;
[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:3213:60
[INFO] [stdout]      |
[INFO] [stdout] 3208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3207_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 3213 | let mandate = payup::stripe::Mandate::get(auth, "mandate_")?;
[INFO] [stdout]      |                                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 3208 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3207_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 3209 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 3213 | let mandate = payup::stripe::Mandate::get(auth, "mandate_")?;
[INFO] [stdout] 3214 +     Ok(())
[INFO] [stdout]      |
[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::Invoice::post (line 3017) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]     --> src/stripe.rs:3020:37
[INFO] [stdout]      |
[INFO] [stdout] 3020 | 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:3020:45
[INFO] [stdout]      |
[INFO] [stdout] 3020 | 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:3026:29
[INFO] [stdout]      |
[INFO] [stdout] 3018 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3017_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 3026 | invoice = invoice.post(auth)?;
[INFO] [stdout]      |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 3018 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3017_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 3019 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 3026 | invoice = invoice.post(auth)?;
[INFO] [stdout] 3027 +     Ok(())
[INFO] [stdout]      |
[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:3044:37
[INFO] [stdout]      |
[INFO] [stdout] 3044 | 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:3044:45
[INFO] [stdout]      |
[INFO] [stdout] 3044 | 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:3050:29
[INFO] [stdout]      |
[INFO] [stdout] 3042 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3041_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 3050 | invoice = invoice.post(auth)?;
[INFO] [stdout]      |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 3042 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3041_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 3043 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 3053 | invoice = invoice.update(auth)?;
[INFO] [stdout] 3054 +     Ok(())
[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:3053:31
[INFO] [stdout]      |
[INFO] [stdout] 3042 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3041_0() {
[INFO] [stdout]      |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 3053 | invoice = invoice.update(auth)?;
[INFO] [stdout]      |                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 3042 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3041_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 3043 | // Create the Authentication refererence
[INFO] [stdout]  ...
[INFO] [stdout] 3053 | invoice = invoice.update(auth)?;
[INFO] [stdout] 3054 +     Ok(())
[INFO] [stdout]      |
[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] 
[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 4.83s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "163a6979c528f7dbca55bd59f0874984b33bd98ab99746d5243669870f446b06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "163a6979c528f7dbca55bd59f0874984b33bd98ab99746d5243669870f446b06", kill_on_drop: false }`
[INFO] [stdout] 163a6979c528f7dbca55bd59f0874984b33bd98ab99746d5243669870f446b06
