[INFO] fetching crate payup 0.1.45...
[INFO] testing payup-0.1.45 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate payup 0.1.45 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate payup 0.1.45 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate payup 0.1.45
[INFO] finished tweaking crates.io crate payup 0.1.45
[INFO] tweaked toml for crates.io crate payup 0.1.45 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 167 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding enum-as-inner v0.3.4 (latest: v0.6.0)
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding h2 v0.3.26 (latest: v0.4.5)
[INFO] [stderr]       Adding heck v0.4.1 (latest: v0.5.0)
[INFO] [stderr]       Adding hostname v0.3.1 (latest: v0.4.0)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding hyper-tls v0.5.0 (latest: v0.6.0)
[INFO] [stderr]       Adding idna v0.2.3 (latest: v0.5.0)
[INFO] [stderr]       Adding ipconfig v0.2.2 (latest: v0.3.2)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding parking_lot v0.11.2 (latest: v0.12.3)
[INFO] [stderr]       Adding parking_lot_core v0.8.6 (latest: v0.9.10)
[INFO] [stderr]       Adding quick-error v1.2.3 (latest: v2.0.1)
[INFO] [stderr]       Adding redox_syscall v0.2.16 (latest: v0.5.1)
[INFO] [stderr]       Adding reqwest v0.11.27 (latest: v0.12.4)
[INFO] [stderr]       Adding rustls-pemfile v1.0.4 (latest: v2.1.2)
[INFO] [stderr]       Adding socket2 v0.3.19 (latest: v0.5.7)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding sync_wrapper v0.1.2 (latest: v1.0.1)
[INFO] [stderr]       Adding system-configuration v0.5.1 (latest: v0.6.0)
[INFO] [stderr]       Adding system-configuration-sys v0.5.0 (latest: v0.6.0)
[INFO] [stderr]       Adding trust-dns-native-tls v0.20.4 (latest: v0.21.1)
[INFO] [stderr]       Adding trust-dns-proto v0.20.4 (latest: v0.23.2)
[INFO] [stderr]       Adding trust-dns-resolver v0.20.4 (latest: v0.23.2)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding widestring v0.4.3 (latest: v1.1.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding winreg v0.6.2 (latest: v0.52.0)
[INFO] [stderr]       Adding winreg v0.50.0 (latest: v0.52.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded trust-dns-native-tls v0.20.4
[INFO] [stderr]   Downloaded trust-dns-resolver v0.20.4
[INFO] [stderr]   Downloaded trust-dns-proto v0.20.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b453ed2537c579fd0428d30438099497bb2cf40fffa47459aef1265f6f60e548
[INFO] running `Command { std: "docker" "start" "-a" "b453ed2537c579fd0428d30438099497bb2cf40fffa47459aef1265f6f60e548", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b453ed2537c579fd0428d30438099497bb2cf40fffa47459aef1265f6f60e548", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b453ed2537c579fd0428d30438099497bb2cf40fffa47459aef1265f6f60e548", kill_on_drop: false }`
[INFO] [stdout] b453ed2537c579fd0428d30438099497bb2cf40fffa47459aef1265f6f60e548
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d175fbc779aa56fdd32d185882b29c59e3c456bb9bcfc5499706a825392dcaff
[INFO] running `Command { std: "docker" "start" "-a" "d175fbc779aa56fdd32d185882b29c59e3c456bb9bcfc5499706a825392dcaff", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling trust-dns-proto v0.20.4
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[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.28
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/stripe.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]     --> src/stripe.rs:3729:21
[INFO] [stdout]      |
[INFO] [stdout] 3729 |                 for (item) in price_items{
[INFO] [stdout]      |                     ^    ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3729 -                 for (item) in price_items{
[INFO] [stdout] 3729 +                 for item in price_items{
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:448:13
[INFO] [stdout]     |
[INFO] [stdout] 448 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:868:13
[INFO] [stdout]     |
[INFO] [stdout] 868 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:894:13
[INFO] [stdout]     |
[INFO] [stdout] 894 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1493:13
[INFO] [stdout]      |
[INFO] [stdout] 1493 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1958:13
[INFO] [stdout]      |
[INFO] [stdout] 1958 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2142:13
[INFO] [stdout]      |
[INFO] [stdout] 2142 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2199:13
[INFO] [stdout]      |
[INFO] [stdout] 2199 |         let mut form = self.to_multipart_form_async().await;
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2440:13
[INFO] [stdout]      |
[INFO] [stdout] 2440 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2869:13
[INFO] [stdout]      |
[INFO] [stdout] 2869 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3191:13
[INFO] [stdout]      |
[INFO] [stdout] 3191 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3381:13
[INFO] [stdout]      |
[INFO] [stdout] 3381 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3390:13
[INFO] [stdout]      |
[INFO] [stdout] 3390 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]     --> src/stripe.rs:3283:9
[INFO] [stdout]      |
[INFO] [stdout] 3258 | /         match &self.id{
[INFO] [stdout] 3259 | |             Some(id) => {
[INFO] [stdout] 3260 | |
[INFO] [stdout] 3261 | |                 match &customer.id{
[INFO] [stdout] ...    |
[INFO] [stdout] 3280 | |             None => return Ok(false)
[INFO] [stdout] 3281 | |         }
[INFO] [stdout]      | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 3282 |
[INFO] [stdout] 3283 |           return Ok(false);
[INFO] [stdout]      |           ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:177:13
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:598:13
[INFO] [stdout]     |
[INFO] [stdout] 598 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1091:13
[INFO] [stdout]      |
[INFO] [stdout] 1091 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1117:13
[INFO] [stdout]      |
[INFO] [stdout] 1117 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1601:13
[INFO] [stdout]      |
[INFO] [stdout] 1601 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2013:13
[INFO] [stdout]      |
[INFO] [stdout] 2013 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2233:13
[INFO] [stdout]      |
[INFO] [stdout] 2233 |         let mut form = self.to_multipart_form();
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2264:13
[INFO] [stdout]      |
[INFO] [stdout] 2264 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2543:13
[INFO] [stdout]      |
[INFO] [stdout] 2543 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2975:13
[INFO] [stdout]      |
[INFO] [stdout] 2975 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3215:13
[INFO] [stdout]      |
[INFO] [stdout] 3215 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]     --> src/stripe.rs:3270:29
[INFO] [stdout]      |
[INFO] [stdout] 3270 |                         let request = reqwest::blocking::Client::new().post(url)
[INFO] [stdout]      |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3286:13
[INFO] [stdout]      |
[INFO] [stdout] 3286 |         let mut url = format!("https://api.stripe.com/v1/payment_methods/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3424:13
[INFO] [stdout]      |
[INFO] [stdout] 3424 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3434:13
[INFO] [stdout]      |
[INFO] [stdout] 3434 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3639:13
[INFO] [stdout]      |
[INFO] [stdout] 3639 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3673:13
[INFO] [stdout]      |
[INFO] [stdout] 3673 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.49s
[INFO] running `Command { std: "docker" "inspect" "d175fbc779aa56fdd32d185882b29c59e3c456bb9bcfc5499706a825392dcaff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d175fbc779aa56fdd32d185882b29c59e3c456bb9bcfc5499706a825392dcaff", kill_on_drop: false }`
[INFO] [stdout] d175fbc779aa56fdd32d185882b29c59e3c456bb9bcfc5499706a825392dcaff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9761d582204000fc860ef0e5076ed0a4682ba2cd7ceb5b2c6e2080bd72070fdf
[INFO] running `Command { std: "docker" "start" "-a" "9761d582204000fc860ef0e5076ed0a4682ba2cd7ceb5b2c6e2080bd72070fdf", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/stripe.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/stripe.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]     --> src/stripe.rs:3729:21
[INFO] [stdout]      |
[INFO] [stdout] 3729 |                 for (item) in price_items{
[INFO] [stdout]      |                     ^    ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3729 -                 for (item) in price_items{
[INFO] [stdout] 3729 +                 for item in price_items{
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:448:13
[INFO] [stdout]     |
[INFO] [stdout] 448 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:868:13
[INFO] [stdout]     |
[INFO] [stdout] 868 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:894:13
[INFO] [stdout]     |
[INFO] [stdout] 894 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1493:13
[INFO] [stdout]      |
[INFO] [stdout] 1493 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1958:13
[INFO] [stdout]      |
[INFO] [stdout] 1958 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2142:13
[INFO] [stdout]      |
[INFO] [stdout] 2142 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2199:13
[INFO] [stdout]      |
[INFO] [stdout] 2199 |         let mut form = self.to_multipart_form_async().await;
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2440:13
[INFO] [stdout]      |
[INFO] [stdout] 2440 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2869:13
[INFO] [stdout]      |
[INFO] [stdout] 2869 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3191:13
[INFO] [stdout]      |
[INFO] [stdout] 3191 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3381:13
[INFO] [stdout]      |
[INFO] [stdout] 3381 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3390:13
[INFO] [stdout]      |
[INFO] [stdout] 3390 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]     --> src/stripe.rs:3283:9
[INFO] [stdout]      |
[INFO] [stdout] 3258 | /         match &self.id{
[INFO] [stdout] 3259 | |             Some(id) => {
[INFO] [stdout] 3260 | |
[INFO] [stdout] 3261 | |                 match &customer.id{
[INFO] [stdout] ...    |
[INFO] [stdout] 3280 | |             None => return Ok(false)
[INFO] [stdout] 3281 | |         }
[INFO] [stdout]      | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 3282 |
[INFO] [stdout] 3283 |           return Ok(false);
[INFO] [stdout]      |           ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:177:13
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:598:13
[INFO] [stdout]     |
[INFO] [stdout] 598 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1091:13
[INFO] [stdout]      |
[INFO] [stdout] 1091 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1117:13
[INFO] [stdout]      |
[INFO] [stdout] 1117 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1601:13
[INFO] [stdout]      |
[INFO] [stdout] 1601 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2013:13
[INFO] [stdout]      |
[INFO] [stdout] 2013 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2233:13
[INFO] [stdout]      |
[INFO] [stdout] 2233 |         let mut form = self.to_multipart_form();
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2264:13
[INFO] [stdout]      |
[INFO] [stdout] 2264 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2543:13
[INFO] [stdout]      |
[INFO] [stdout] 2543 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2975:13
[INFO] [stdout]      |
[INFO] [stdout] 2975 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3215:13
[INFO] [stdout]      |
[INFO] [stdout] 3215 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]     --> src/stripe.rs:3270:29
[INFO] [stdout]      |
[INFO] [stdout] 3270 |                         let request = reqwest::blocking::Client::new().post(url)
[INFO] [stdout]      |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs: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] [stderr]    Compiling payup v0.1.45 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3639:13
[INFO] [stdout]      |
[INFO] [stdout] 3639 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3673:13
[INFO] [stdout]      |
[INFO] [stdout] 3673 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/stripe.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/stripe.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]     --> src/stripe.rs:3729:21
[INFO] [stdout]      |
[INFO] [stdout] 3729 |                 for (item) in price_items{
[INFO] [stdout]      |                     ^    ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3729 -                 for (item) in price_items{
[INFO] [stdout] 3729 +                 for item in price_items{
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:448:13
[INFO] [stdout]     |
[INFO] [stdout] 448 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:868:13
[INFO] [stdout]     |
[INFO] [stdout] 868 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:894:13
[INFO] [stdout]     |
[INFO] [stdout] 894 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1493:13
[INFO] [stdout]      |
[INFO] [stdout] 1493 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1958:13
[INFO] [stdout]      |
[INFO] [stdout] 1958 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2142:13
[INFO] [stdout]      |
[INFO] [stdout] 2142 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2199:13
[INFO] [stdout]      |
[INFO] [stdout] 2199 |         let mut form = self.to_multipart_form_async().await;
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2440:13
[INFO] [stdout]      |
[INFO] [stdout] 2440 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2869:13
[INFO] [stdout]      |
[INFO] [stdout] 2869 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3191:13
[INFO] [stdout]      |
[INFO] [stdout] 3191 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3381:13
[INFO] [stdout]      |
[INFO] [stdout] 3381 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3390:13
[INFO] [stdout]      |
[INFO] [stdout] 3390 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]     --> src/stripe.rs:3283:9
[INFO] [stdout]      |
[INFO] [stdout] 3258 | /         match &self.id{
[INFO] [stdout] 3259 | |             Some(id) => {
[INFO] [stdout] 3260 | |
[INFO] [stdout] 3261 | |                 match &customer.id{
[INFO] [stdout] ...    |
[INFO] [stdout] 3280 | |             None => return Ok(false)
[INFO] [stdout] 3281 | |         }
[INFO] [stdout]      | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 3282 |
[INFO] [stdout] 3283 |           return Ok(false);
[INFO] [stdout]      |           ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stripe.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:177:13
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stripe.rs:598:13
[INFO] [stdout]     |
[INFO] [stdout] 598 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1091:13
[INFO] [stdout]      |
[INFO] [stdout] 1091 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1117:13
[INFO] [stdout]      |
[INFO] [stdout] 1117 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:1601:13
[INFO] [stdout]      |
[INFO] [stdout] 1601 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2013:13
[INFO] [stdout]      |
[INFO] [stdout] 2013 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2233:13
[INFO] [stdout]      |
[INFO] [stdout] 2233 |         let mut form = self.to_multipart_form();
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2264:13
[INFO] [stdout]      |
[INFO] [stdout] 2264 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2543:13
[INFO] [stdout]      |
[INFO] [stdout] 2543 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:2975:13
[INFO] [stdout]      |
[INFO] [stdout] 2975 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3215:13
[INFO] [stdout]      |
[INFO] [stdout] 3215 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]     --> src/stripe.rs:3270:29
[INFO] [stdout]      |
[INFO] [stdout] 3270 |                         let request = reqwest::blocking::Client::new().post(url)
[INFO] [stdout]      |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3286:13
[INFO] [stdout]      |
[INFO] [stdout] 3286 |         let mut url = format!("https://api.stripe.com/v1/payment_methods/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3424:13
[INFO] [stdout]      |
[INFO] [stdout] 3424 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3434:13
[INFO] [stdout]      |
[INFO] [stdout] 3434 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3639:13
[INFO] [stdout]      |
[INFO] [stdout] 3639 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/stripe.rs:3673:13
[INFO] [stdout]      |
[INFO] [stdout] 3673 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.94s
[INFO] running `Command { std: "docker" "inspect" "9761d582204000fc860ef0e5076ed0a4682ba2cd7ceb5b2c6e2080bd72070fdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9761d582204000fc860ef0e5076ed0a4682ba2cd7ceb5b2c6e2080bd72070fdf", kill_on_drop: false }`
[INFO] [stdout] 9761d582204000fc860ef0e5076ed0a4682ba2cd7ceb5b2c6e2080bd72070fdf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1cd7c8f77da3bc3b79ea589ffc4f400f998c01d09f0497d86ebd4b846d6232ba
[INFO] running `Command { std: "docker" "start" "-a" "1cd7c8f77da3bc3b79ea589ffc4f400f998c01d09f0497d86ebd4b846d6232ba", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `serde_json::json`
[INFO] [stderr]  --> src/stripe.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use serde_json::json;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::convert::TryInto`
[INFO] [stderr]  --> src/stripe.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::convert::TryInto;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around pattern
[INFO] [stderr]     --> src/stripe.rs:3729:21
[INFO] [stderr]      |
[INFO] [stderr] 3729 |                 for (item) in price_items{
[INFO] [stderr]      |                     ^    ^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 3729 -                 for (item) in price_items{
[INFO] [stderr] 3729 +                 for item in price_items{
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/stripe.rs:49:13
[INFO] [stderr]    |
[INFO] [stderr] 49 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:123:13
[INFO] [stderr]     |
[INFO] [stderr] 123 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:448:13
[INFO] [stderr]     |
[INFO] [stderr] 448 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:868:13
[INFO] [stderr]     |
[INFO] [stderr] 868 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:894:13
[INFO] [stderr]     |
[INFO] [stderr] 894 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:1493:13
[INFO] [stderr]      |
[INFO] [stderr] 1493 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:1958:13
[INFO] [stderr]      |
[INFO] [stderr] 1958 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2142:13
[INFO] [stderr]      |
[INFO] [stderr] 2142 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2199:13
[INFO] [stderr]      |
[INFO] [stderr] 2199 |         let mut form = self.to_multipart_form_async().await;
[INFO] [stderr]      |             ----^^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2440:13
[INFO] [stderr]      |
[INFO] [stderr] 2440 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2869:13
[INFO] [stderr]      |
[INFO] [stderr] 2869 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3191:13
[INFO] [stderr]      |
[INFO] [stderr] 3191 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3381:13
[INFO] [stderr]      |
[INFO] [stderr] 3381 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3390:13
[INFO] [stderr]      |
[INFO] [stderr] 3390 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]     --> src/stripe.rs:3283:9
[INFO] [stderr]      |
[INFO] [stderr] 3258 | /         match &self.id{
[INFO] [stderr] 3259 | |             Some(id) => {
[INFO] [stderr] 3260 | |
[INFO] [stderr] 3261 | |                 match &customer.id{
[INFO] [stderr] ...    |
[INFO] [stderr] 3280 | |             None => return Ok(false)
[INFO] [stderr] 3281 | |         }
[INFO] [stderr]      | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stderr] 3282 |
[INFO] [stderr] 3283 |           return Ok(false);
[INFO] [stderr]      |           ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/stripe.rs:71:13
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let mut url = format!("https://api.stripe.com/v1/balance");
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:177:13
[INFO] [stderr]     |
[INFO] [stderr] 177 |         let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/stripe.rs:598:13
[INFO] [stderr]     |
[INFO] [stderr] 598 |         let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone());
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:1091:13
[INFO] [stderr]      |
[INFO] [stderr] 1091 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:1117:13
[INFO] [stderr]      |
[INFO] [stderr] 1117 |         let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:1601:13
[INFO] [stderr]      |
[INFO] [stderr] 1601 |         let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2013:13
[INFO] [stderr]      |
[INFO] [stderr] 2013 |         let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2233:13
[INFO] [stderr]      |
[INFO] [stderr] 2233 |         let mut form = self.to_multipart_form();
[INFO] [stderr]      |             ----^^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2264:13
[INFO] [stderr]      |
[INFO] [stderr] 2264 |         let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2543:13
[INFO] [stderr]      |
[INFO] [stderr] 2543 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:2975:13
[INFO] [stderr]      |
[INFO] [stderr] 2975 |         let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3215:13
[INFO] [stderr]      |
[INFO] [stderr] 3215 |         let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `request`
[INFO] [stderr]     --> src/stripe.rs:3270:29
[INFO] [stderr]      |
[INFO] [stderr] 3270 |                         let request = reqwest::blocking::Client::new().post(url)
[INFO] [stderr]      |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3286:13
[INFO] [stderr]      |
[INFO] [stderr] 3286 |         let mut url = format!("https://api.stripe.com/v1/payment_methods/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3424:13
[INFO] [stderr]      |
[INFO] [stderr] 3424 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3434:13
[INFO] [stderr]      |
[INFO] [stderr] 3434 |         let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3639:13
[INFO] [stderr]      |
[INFO] [stderr] 3639 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/stripe.rs:3673:13
[INFO] [stderr]      |
[INFO] [stderr] 3673 |         let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone());
[INFO] [stderr]      |             ----^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: `payup` (lib) generated 36 warnings (run `cargo fix --lib -p payup` to apply 34 suggestions)
[INFO] [stderr] warning: `payup` (lib test) generated 36 warnings (36 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/payup-233167b46b510479)
[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)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 3729 -                 for (item) in price_items{
[INFO] [stderr] 3729 +                 for item in price_items{
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 73 tests
[INFO] [stdout] test src/stripe.rs - stripe::Balance::get (line 63) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_list (line 462) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::list (line 191) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::list (line 612) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::async_get (line 115) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Balance::async_get (line 41) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_post (line 488) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::async_list (line 137) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::new (line 352) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_capture (line 402) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::get (line 590) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_update (line 516) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::BalanceTransaction::get (line 169) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_payment_methods (line 973) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::post (line 638) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::async_get (line 440) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::capture (line 552) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Charge::update (line 666) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_delete (line 860) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_post (line 1004) ... 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::list (line 1163) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_invoices (line 909) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::get (line 1109) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::invoices (line 1132) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::async_list (line 940) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::payment_methods (line 1203) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::post (line 1233) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::delete (line 1083) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_update (line 1533) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_close (line 1456) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_list (line 1507) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::close (line 1566) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::update (line 1642) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::async_get (line 1485) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::async_list (line 1972) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Customer::update (line 1272) ... 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::async_list (line 2156) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::async_get (line 1950) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::async_get (line 2134) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Event::get (line 2005) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::get (line 2256) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::post (line 2216) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::list (line 1615) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::File::list (line 2278) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_post (line 2480) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Dispute::get (line 1593) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_update (line 2504) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_list (line 2454) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_list (line 2885) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_get (line 2861) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::async_get (line 2432) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::list (line 2557) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::update (line 2607) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_post (line 2911) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::post (line 2583) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::FileLink::get (line 2535) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::post (line 3017) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::list (line 2991) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::get (line 2967) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::update (line 3041) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::async_update (line 2935) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Mandate::get (line 3207) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Subscription::get (line 3662) ... FAILED
[INFO] [stdout] test src/stripe.rs - stripe::Mandate::async_get (line 3183) ... FAILED
[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::FileLink::new (line 2404) ... ok
[INFO] [stdout] test src/stripe.rs - stripe::Invoice::new (line 2796) ... ok
[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::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] 5 | 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::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] 5 | 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::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] 5 | 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::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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::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] 5 | 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]     |                           --------------------------------------------       ^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |                           |                                                  |
[INFO] [stdout]     |                           |                                                  expected `String`, found `&str`
[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] 
[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::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] 5 | 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::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] 5  | 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]   |                 ---- ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                 |    |
[INFO] [stdout]   |                 |    expected `String`, found integer
[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/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/option.rs:579:5
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::BalanceTransaction::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] 5 | 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::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]   |                 ---- ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                 |    |
[INFO] [stdout]   |                 |    expected `String`, found integer
[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/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/option.rs:579:5
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::async_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] 5  | 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] 5  | 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]   |                 ---- ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                 |    |
[INFO] [stdout]   |                 |    expected `String`, found integer
[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/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/option.rs:579:5
[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::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]     |              --------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |              |                                |
[INFO] [stdout]     |              |                                expected `String`, found `&str`
[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] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::async_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] 5  | 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] 5  | 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]   |                 ---- ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                 |    |
[INFO] [stdout]   |                 |    expected `String`, found integer
[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/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/option.rs:579:5
[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::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] 5 | 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]     |                           --------------------------------------       ^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |                           |                                            |
[INFO] [stdout]     |                           |                                            expected `String`, found `&str`
[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] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::async_payment_methods (line 973) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:976:37
[INFO] [stdout]   |
[INFO] [stdout] 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] 5 | 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::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]   |                 ---- ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                 |    |
[INFO] [stdout]   |                 |    expected `String`, found integer
[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/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/option.rs:579:5
[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] 5  | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::async_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] 5 | 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]     |              --------------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |              |                                      |
[INFO] [stdout]     |              |                                      expected `String`, found `&str`
[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] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Charge::capture (line 552) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:555:37
[INFO] [stdout]   |
[INFO] [stdout] 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]   |                 ---- ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                 |    |
[INFO] [stdout]   |                 |    expected `String`, found integer
[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/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/option.rs:579:5
[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::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] 5  | 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] 5  | 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]   |                 ---- ^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |                 |    |
[INFO] [stdout]   |                 |    expected `String`, found integer
[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/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/option.rs:579:5
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::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] 5 | 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]     |                -------------------------------------       ^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |                |                                           |
[INFO] [stdout]     |                |                                           expected `String`, found `&str`
[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] 
[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_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] 5  | 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::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] 5 | 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]     |                ----------------------------------       ^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |                |                                        |
[INFO] [stdout]     |                |                                        expected `String`, found `&str`
[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] 
[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] 5  | 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] 5  | 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::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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::async_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] 5 | 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::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]      |                ----------------------------       ^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |                |                                  |
[INFO] [stdout]      |                |                                  expected `String`, found `&str`
[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] 
[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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::async_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] 5 | 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::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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Customer::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::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] 5 | 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]     |                -------------------------------------       ^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |                |                                           |
[INFO] [stdout]     |                |                                           expected `String`, found `&str`
[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] 
[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] 5  | 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::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] 5  | 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::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] 5 | 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::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] 
[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] 5  | 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]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::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] 
[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] 5  | 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]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::async_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] 5 | 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]      |               ---------------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |               |                                       |
[INFO] [stdout]      |               |                                       expected `String`, found `&str`
[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] 
[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::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] 5 | 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::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::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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::File::async_post (line 2182) stdout ----
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `bytes`
[INFO] [stdout]  --> src/stripe.rs:2188:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | ley bytes: Vec<u8> = Vec::new();
[INFO] [stdout]   |     ^^^^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2185: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:2185: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 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::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] 5 | 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::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] 5 | 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]      |             -------------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |             |                                     |
[INFO] [stdout]      |             |                                     expected `String`, found `&str`
[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] 
[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::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] 5 | 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]      |            ------------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |            |                                    |
[INFO] [stdout]      |            |                                    expected `String`, found `&str`
[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] 
[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]      |             -------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |             |                               |
[INFO] [stdout]      |             |                               expected `String`, found `&str`
[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] 
[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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::File::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]      |               ---------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |               |                                 |
[INFO] [stdout]      |               |                                 expected `String`, found `&str`
[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] 
[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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::File::post (line 2216) stdout ----
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `bytes`
[INFO] [stdout]  --> src/stripe.rs:2222:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | ley bytes: Vec<u8> = Vec::new();
[INFO] [stdout]   |     ^^^^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2219: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:2219: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 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Dispute::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] 5 | 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] [stderr] error: doctest failed, to rerun pass `--doc`
[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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::File::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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::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] 5  | 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::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]      |               ---------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |               |                                 |
[INFO] [stdout]      |               |                                 expected `String`, found `&str`
[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] 
[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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::async_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] 5  | 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] 5  | 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_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] 5 | 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::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] 5 | 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::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] 5 | 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]      |               ---------------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |               |                                       |
[INFO] [stdout]      |               |                                       expected `String`, found `&str`
[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] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::async_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] 5 | 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]      |            ----------------------------------       ^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |            |                                        |
[INFO] [stdout]      |            |                                        expected `String`, found `&str`
[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] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::FileLink::list (line 2557) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs:2560:37
[INFO] [stdout]   |
[INFO] [stdout] 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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::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] 5  | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:2618:43
[INFO] [stdout]    |
[INFO] [stdout] 5  | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::async_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] 5  | 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::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] 
[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] 5  | 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]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::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]      |                 ----------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |                 |                                  |
[INFO] [stdout]      |                 |                                  expected `String`, found `&str`
[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] 
[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::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] 5  | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::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]      |               ---------------------------       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |               |                                 |
[INFO] [stdout]      |               |                                 expected `String`, found `&str`
[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] 
[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::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] 5  | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/stripe.rs:3053:31
[INFO] [stdout]    |
[INFO] [stdout] 5  | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::Invoice::async_update (line 2935) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/stripe.rs: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] 5  | 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] 5  | 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::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]      |               ---------------------------       ^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |               |                                 |
[INFO] [stdout]      |               |                                 expected `String`, found `&str`
[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] 
[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] 5 | 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: the trait `FromResidual<Result<Infallible, reqwest::error::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stripe.rs - stripe::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]      |                        --------------------------------       ^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |                        |                                      |
[INFO] [stdout]      |                        |                                      expected `String`, found `&str`
[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] 
[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] 5 | 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]      |            ---------------------------------       ^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]      |            |                                       |
[INFO] [stdout]      |            |                                       expected `String`, found `&str`
[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] 
[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] [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 2.65s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1cd7c8f77da3bc3b79ea589ffc4f400f998c01d09f0497d86ebd4b846d6232ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cd7c8f77da3bc3b79ea589ffc4f400f998c01d09f0497d86ebd4b846d6232ba", kill_on_drop: false }`
[INFO] [stdout] 1cd7c8f77da3bc3b79ea589ffc4f400f998c01d09f0497d86ebd4b846d6232ba
