[INFO] fetching crate payup 0.1.45...
[INFO] testing payup-0.1.45 against 1.91.0 for beta-1.92-2
[INFO] extracting crate payup 0.1.45 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate payup 0.1.45 on toolchain 1.91.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.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.91.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 197 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.12.24)
[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.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded trust-dns-native-tls v0.20.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb1f243fca5a49ecbbfabcd4999402536f166b2130f9cc79e330d89a23444e2b
[INFO] running `Command { std: "docker" "start" "-a" "eb1f243fca5a49ecbbfabcd4999402536f166b2130f9cc79e330d89a23444e2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb1f243fca5a49ecbbfabcd4999402536f166b2130f9cc79e330d89a23444e2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb1f243fca5a49ecbbfabcd4999402536f166b2130f9cc79e330d89a23444e2b", kill_on_drop: false }`
[INFO] [stdout] eb1f243fca5a49ecbbfabcd4999402536f166b2130f9cc79e330d89a23444e2b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3656825373066b077d10d84257bd0b7935b499f0c20804fb3bb6831778bd327
[INFO] running `Command { std: "docker" "start" "-a" "f3656825373066b077d10d84257bd0b7935b499f0c20804fb3bb6831778bd327", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling trust-dns-proto v0.20.4
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling trust-dns-native-tls v0.20.4
[INFO] [stderr]    Compiling trust-dns-resolver v0.20.4
[INFO] [stderr]    Compiling hyper v0.14.32
[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 31.85s
[INFO] running `Command { std: "docker" "inspect" "f3656825373066b077d10d84257bd0b7935b499f0c20804fb3bb6831778bd327", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3656825373066b077d10d84257bd0b7935b499f0c20804fb3bb6831778bd327", kill_on_drop: false }`
[INFO] [stdout] f3656825373066b077d10d84257bd0b7935b499f0c20804fb3bb6831778bd327
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 80d7c01959acfa0b697054aa7f476ba058e5902e5389acd39a1f323f9e2cd91a
[INFO] running `Command { std: "docker" "start" "-a" "80d7c01959acfa0b697054aa7f476ba058e5902e5389acd39a1f323f9e2cd91a", 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] [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] [stderr]    Compiling payup v0.1.45 (/opt/rustwide/workdir)
[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 5.36s
[INFO] running `Command { std: "docker" "inspect" "80d7c01959acfa0b697054aa7f476ba058e5902e5389acd39a1f323f9e2cd91a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80d7c01959acfa0b697054aa7f476ba058e5902e5389acd39a1f323f9e2cd91a", kill_on_drop: false }`
[INFO] [stdout] 80d7c01959acfa0b697054aa7f476ba058e5902e5389acd39a1f323f9e2cd91a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 01f3204ab2ac98ecd5fdc4a00c22e1b2030c84931da2ebffefedfa38004ff572
[INFO] running `Command { std: "docker" "start" "-a" "01f3204ab2ac98ecd5fdc4a00c22e1b2030c84931da2ebffefedfa38004ff572", 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 34 suggestions)
[INFO] [stderr] warning: `payup` (lib test) generated 37 warnings (37 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/payup-7f336036f6382bfd)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests payup
[INFO] [stderr] warning: unnecessary parentheses around pattern
[INFO] [stderr]     --> 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::BalanceTransaction::async_list (line 137) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_list (line 462) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::list (line 612) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Balance::async_get (line 41) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::async_get (line 115) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::update (line 666) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_get (line 440) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_post (line 488) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_delete (line 860) ... 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::Customer::async_get (line 886) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_update (line 1043) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_invoices (line 909) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_post (line 1004) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::capture (line 552) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::list (line 191) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::get (line 590) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::get (line 1109) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::list (line 1163) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_payment_methods (line 973) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Balance::get (line 63) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::new (line 352) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::delete (line 1083) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_close (line 1456) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::post (line 1233) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::get (line 169) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::invoices (line 1132) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::update (line 1272) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::close (line 1566) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_get (line 1485) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::payment_methods (line 1203) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_list (line 1507) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_list (line 940) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::get (line 1593) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::update (line 1642) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::async_get (line 1950) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_update (line 1533) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_capture (line 402) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::list (line 2027) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::async_post (line 2182) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::get (line 2256) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::async_get (line 2134) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::post (line 2216) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::list (line 2278) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::async_list (line 2156) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_post (line 2480) ... 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::FileLink::async_update (line 2504) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_get (line 2432) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::get (line 2005) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::post (line 2583) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::update (line 2607) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::list (line 2557) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_update (line 2935) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::get (line 2535) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_list (line 2885) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::list (line 2991) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_list (line 2454) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::post (line 3017) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Mandate::get (line 3207) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_get (line 2861) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::update (line 3041) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_post (line 2911) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::get (line 2967) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Subscription::get (line 3662) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::new (line 2796) ... ok
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::new (line 2404) ... ok
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::new (line 1427) ... ok
[INFO] [stdout] test src/stripe.rs - stripe::Customer::new (line 821) ... ok
[INFO] [stdout] test src/stripe.rs - stripe::Mandate::async_get (line 3183) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::new (line 2103) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/stripe.rs - stripe::BalanceTransaction::async_list (line 137) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:140:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_137_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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_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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_462_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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::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] 6 | 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] 6 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_612_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let charges = payup::stripe::Charge::list(auth)?;
[INFO] [stdout] 10+     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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_41_0() {
[INFO] [stdout]   |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let balance = payup::stripe::Balance::async_get(auth).await;
[INFO] [stdout]   |                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::BalanceTransaction::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_115_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]   9 | 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]    --> /opt/rustwide/workdir/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]   9 | 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::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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_666_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_666_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 | 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] 9 | 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] 9 | 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/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/option.rs:602:5
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_440_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]   9 | 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]    --> /opt/rustwide/workdir/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]   9 | 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::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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_488_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 | 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] 9 | 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] 9 | 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/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/option.rs:602:5
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_860_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]   9 | 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]    --> /opt/rustwide/workdir/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]   9 | 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::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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_516_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_516_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 | 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] 9 | 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] 9 | 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/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/option.rs:602:5
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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] 6 | 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] 6 | 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] 9 | 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] 9 | 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/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/option.rs:602:5
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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]  4 | 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] 16 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_638_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 16 | charge = charge.post(auth.clone())?;
[INFO] [stdout] 17 +     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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_886_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]   9 | 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]    --> /opt/rustwide/workdir/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]   9 | 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::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] 6 | 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] 6 | 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] 17 | 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] 23 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1043_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1043_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 23 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_909_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | 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_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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1004_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 | 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::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] 6 | 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] 6 | 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] 9 | 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] 9 | 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/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/option.rs:602:5
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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]  8 | let mut charge = payup::stripe::Charge::new();
[INFO] [stdout]    |                  ---------------------------- expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 16 | 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] 16 | 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]  19 | 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]    --> /opt/rustwide/workdir/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]  19 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_191_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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::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] 6 | 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] 6 | 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]   9 | 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]    --> /opt/rustwide/workdir/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]   9 | 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::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] 6 | 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] 6 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1109_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let customer = payup::stripe::Customer::get(auth, "cust_")?;
[INFO] [stdout] 10+     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::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] 6 | 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] 6 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1163_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let customers = payup::stripe::Customer::list(auth.clone())?;
[INFO] [stdout] 10+     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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_973_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_63_0() {
[INFO] [stdout]   |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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::Charge::new (line 352) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/stripe.rs:355:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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] 6 | 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/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/option.rs:602:5
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1083_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]   9 | 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]    --> /opt/rustwide/workdir/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]   9 | 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::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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1456_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | 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::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] 6 | 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] 6 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_169_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]   9 | 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]    --> /opt/rustwide/workdir/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]   9 | 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::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] 6 | 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] 6 | 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1132_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 8 | let customers_invoices = payup::stripe::Customer::invoices(auth, format!("cust_"))?;
[INFO] [stdout] 9 +     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] 6 | 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] 6 | 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] [stdout]    |
[INFO] [stdout] 17 | 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] 23 | 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::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] 6 | 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] 6 | 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] 11 | dispute = dispute.async_close(auth.clone())?;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future<Output = Result<Dispute, reqwest::error::Error>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `impl Future<Output = Result<Dispute, reqwest::error::Error>>`
[INFO] [stdout] 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1566_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | 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]  4 | 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] 11 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1485_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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::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] 6 | 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] 6 | 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1203_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 8 | let customers_payment_methods = payup::stripe::Customer::payment_methods(auth, format!("cust_"), format!("card"))?;
[INFO] [stdout] 9 +     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_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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1507_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_940_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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::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] 6 | 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] 6 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1593_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout] 10+     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::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] 6 | 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] 6 | 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] 21 | dispute = dispute.async_update(auth.clone())?;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future<Output = Result<Dispute, reqwest::error::Error>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `impl Future<Output = Result<Dispute, reqwest::error::Error>>`
[INFO] [stdout] 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1642_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 21 | 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]  4 | 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] 21 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1950_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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::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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1533_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 21 | 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::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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_402_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_402_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 | 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] 9 | 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] 9 | 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/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/option.rs:602:5
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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]  19 | 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]    --> /opt/rustwide/workdir/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]  19 | 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::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] 6 | 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] 6 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2027_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let events = payup::stripe::Event::list(auth)?;
[INFO] [stdout] 10+     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::async_post (line 2182) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]  --> src/stripe.rs:2184:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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::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] 6 | 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] 6 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2256_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let dispute = payup::stripe::Dispute::get(auth, "ch_")?;
[INFO] [stdout] 10+     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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2134_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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::File::post (line 2216) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]  --> src/stripe.rs:2218:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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::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] 6 | 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] 6 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2278_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let charges = payup::stripe::Dispute::list(auth)?;
[INFO] [stdout] 10+     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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2156_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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::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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2480_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | 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::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] 6 | 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] 6 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1615_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let charges = payup::stripe::Dispute::list(auth)?;
[INFO] [stdout] 10+     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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_1972_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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::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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2504_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2504_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2432_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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::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] 6 | 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] 6 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2005_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let event = payup::stripe::Event::get(auth, "ch_")?;
[INFO] [stdout] 10+     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::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] 6 | 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] 6 | 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] 12 | file_link = file_link.async_post(auth.clone())?;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future<Output = Result<FileLink, reqwest::error::Error>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `impl Future<Output = Result<FileLink, reqwest::error::Error>>`
[INFO] [stdout] 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2583_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | 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]  4 | 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] 12 | 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::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] 6 | 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] 6 | 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]  4 | 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] 11 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2607_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 14 | file_link = file_link.update(auth.clone())?;
[INFO] [stdout] 15 +     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]  4 | 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] 14 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2607_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 14 | file_link = file_link.update(auth.clone())?;
[INFO] [stdout] 15 +     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::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] 6 | 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] 6 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2557_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let file_links = payup::stripe::FileLink::list(auth)?;
[INFO] [stdout] 10+     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::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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2935_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2935_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | 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::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] 6 | 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] 6 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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_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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2885_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]    9 | 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]     --> /opt/rustwide/workdir/src/stripe.rs:2892:18
[INFO] [stdout]      |
[INFO] [stdout] 2892 |     pub async fn async_list(creds: Auth, status: Option<String>, customer: Option<String>) -> Result<Vec<Self>, reqwest::Error>{
[INFO] [stdout]      |                  ^^^^^^^^^^
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]      |
[INFO] [stdout]    9 | 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::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] 6 | 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] 6 | 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]    9 | 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]     --> /opt/rustwide/workdir/src/stripe.rs:2998:12
[INFO] [stdout]      |
[INFO] [stdout] 2998 |     pub fn list(creds: Auth, status: Option<String>, customer: Option<String>) -> Result<Vec<Self>, reqwest::Error>{
[INFO] [stdout]      |            ^^^^
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]      |
[INFO] [stdout]    9 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2991_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let invoices = payup::stripe::Invoice::list(auth)?;
[INFO] [stdout] 10+     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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2454_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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::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] 6 | 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] 6 | 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]  4 | 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] 12 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3017_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 12 | invoice = invoice.post(auth)?;
[INFO] [stdout] 13 +     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::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] 6 | 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] 6 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3207_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 9 | let mandate = payup::stripe::Mandate::get(auth, "mandate_")?;
[INFO] [stdout] 10+     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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2861_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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::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] 6 | 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] 6 | 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]  4 | 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] 12 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3041_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 15 | invoice = invoice.update(auth)?;
[INFO] [stdout] 16 +     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]  4 | 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] 15 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3041_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | // Create the Authentication refererence
[INFO] [stdout] ...
[INFO] [stdout] 15 | invoice = invoice.update(auth)?;
[INFO] [stdout] 16 +     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::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] 6 | 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] 6 | 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]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_2911_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | 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::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] 6 | 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] 6 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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::Subscription::get (line 3662) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/stripe.rs:3671:63
[INFO] [stdout]      |
[INFO] [stdout]   12 | 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]     --> /opt/rustwide/workdir/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]   12 | 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::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] 6 | 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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stripe_rs_3183_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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]    9 | 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]     --> /opt/rustwide/workdir/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]    9 | 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] 
[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] [stderr] error: doctest failed, to rerun pass `--doc`
[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 3.19s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "01f3204ab2ac98ecd5fdc4a00c22e1b2030c84931da2ebffefedfa38004ff572", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01f3204ab2ac98ecd5fdc4a00c22e1b2030c84931da2ebffefedfa38004ff572", kill_on_drop: false }`
[INFO] [stdout] 01f3204ab2ac98ecd5fdc4a00c22e1b2030c84931da2ebffefedfa38004ff572
