[INFO] fetching crate lemonsqueezy 0.1.1...
[INFO] testing lemonsqueezy-0.1.1 against 1.75.0 for beta-1.76-1
[INFO] extracting crate lemonsqueezy 0.1.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate lemonsqueezy 0.1.1 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lemonsqueezy 0.1.1
[INFO] finished tweaking crates.io crate lemonsqueezy 0.1.1
[INFO] tweaked toml for crates.io crate lemonsqueezy 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6fffdbf3e6cfe998a4a22a241b1de1dc666057be3e0ea0d3dd4f84e58720a69d
[INFO] running `Command { std: "docker" "start" "-a" "6fffdbf3e6cfe998a4a22a241b1de1dc666057be3e0ea0d3dd4f84e58720a69d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6fffdbf3e6cfe998a4a22a241b1de1dc666057be3e0ea0d3dd4f84e58720a69d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fffdbf3e6cfe998a4a22a241b1de1dc666057be3e0ea0d3dd4f84e58720a69d", kill_on_drop: false }`
[INFO] [stdout] 6fffdbf3e6cfe998a4a22a241b1de1dc666057be3e0ea0d3dd4f84e58720a69d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 07cfc5415bac2db3d651c5c3894c86a2c184d2662508c9215e52bd82252a0aeb
[INFO] running `Command { std: "docker" "start" "-a" "07cfc5415bac2db3d651c5c3894c86a2c184d2662508c9215e52bd82252a0aeb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling openssl v0.10.62
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling h2 v0.3.22
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.23
[INFO] [stderr]    Compiling lemonsqueezy v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.91s
[INFO] running `Command { std: "docker" "inspect" "07cfc5415bac2db3d651c5c3894c86a2c184d2662508c9215e52bd82252a0aeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07cfc5415bac2db3d651c5c3894c86a2c184d2662508c9215e52bd82252a0aeb", kill_on_drop: false }`
[INFO] [stdout] 07cfc5415bac2db3d651c5c3894c86a2c184d2662508c9215e52bd82252a0aeb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99157dc5c9c2217351200f4edefcbd1aaff8fd9a5c002163b19f75bf49606dc4
[INFO] running `Command { std: "docker" "start" "-a" "99157dc5c9c2217351200f4edefcbd1aaff8fd9a5c002163b19f75bf49606dc4", kill_on_drop: false }`
[INFO] [stderr]    Compiling lemonsqueezy v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.91s
[INFO] running `Command { std: "docker" "inspect" "99157dc5c9c2217351200f4edefcbd1aaff8fd9a5c002163b19f75bf49606dc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99157dc5c9c2217351200f4edefcbd1aaff8fd9a5c002163b19f75bf49606dc4", kill_on_drop: false }`
[INFO] [stdout] 99157dc5c9c2217351200f4edefcbd1aaff8fd9a5c002163b19f75bf49606dc4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 27daeda64d9b5c15709cf4d44d38c0a064411ee20f74e5f0e74e9781763d4d36
[INFO] running `Command { std: "docker" "start" "-a" "27daeda64d9b5c15709cf4d44d38c0a064411ee20f74e5f0e74e9781763d4d36", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lemonsqueezy-d2afc1e6fa674775)
[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 lemonsqueezy
[INFO] [stdout] 
[INFO] [stdout] running 50 tests
[INFO] [stdout] test src/lib.rs - LemonSqueezy::patch (line 151) ... FAILED
[INFO] [stdout] test src/modules/checkout.rs - modules::checkout::Checkout::get_all (line 55) ... FAILED
[INFO] [stdout] test src/lib.rs - LemonSqueezy::delete (line 118) ... FAILED
[INFO] [stdout] test src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::get_all (line 66) ... FAILED
[INFO] [stdout] test src/lib.rs - LemonSqueezy::get (line 49) ... FAILED
[INFO] [stdout] test src/modules/customer.rs - modules::customer::Customer::retrieve (line 49) ... FAILED
[INFO] [stdout] test src/modules/checkout.rs - modules::checkout::Checkout::create (line 90) ... FAILED
[INFO] [stdout] test src/lib.rs - LemonSqueezy::post (line 83) ... FAILED
[INFO] [stdout] test src/modules/discount.rs - modules::discount::Discount::get_all (line 106) ... FAILED
[INFO] [stdout] test src/modules/customer.rs - modules::customer::Customer::get_all (line 77) ... FAILED
[INFO] [stdout] test src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::get_all (line 71) ... FAILED
[INFO] [stdout] test src/modules/discount.rs - modules::discount::Discount::delete (line 140) ... FAILED
[INFO] [stdout] test src/modules/license_keys.rs - modules::license_keys::LicenseKey::get_all (line 78) ... FAILED
[INFO] [stdout] test src/modules/files.rs - modules::files::Files::get_all (line 73) ... FAILED
[INFO] [stdout] test src/modules/discount.rs - modules::discount::Discount::retrieve (line 80) ... FAILED
[INFO] [stdout] test src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::retrieve (line 41) ... FAILED
[INFO] [stdout] test src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::retrieve (line 36) ... FAILED
[INFO] [stdout] test src/modules/discount.rs - modules::discount::Discount::create (line 166) ... FAILED
[INFO] [stdout] test src/modules/order_items.rs - modules::order_items::OrderItem::retrieve (line 47) ... FAILED
[INFO] [stdout] test src/modules/files.rs - modules::files::Files::retrieve (line 45) ... FAILED
[INFO] [stdout] test src/modules/checkout.rs - modules::checkout::Checkout::retrieve (line 29) ... FAILED
[INFO] [stdout] test src/modules/products.rs - modules::products::Product::retrieve (line 48) ... FAILED
[INFO] [stdout] test src/modules/orders.rs - modules::orders::Order::get_all (line 106) ... FAILED
[INFO] [stdout] test src/modules/license_keys.rs - modules::license_keys::LicenseKey::retrieve (line 52) ... FAILED
[INFO] [stdout] test src/modules/orders.rs - modules::orders::Order::retrieve (line 81) ... FAILED
[INFO] [stdout] test src/modules/store.rs - modules::store::Store::get_all (line 75) ... FAILED
[INFO] [stdout] test src/modules/store.rs - modules::store::Store::retrieve (line 50) ... FAILED
[INFO] [stdout] test src/modules/order_items.rs - modules::order_items::OrderItem::get_all (line 72) ... FAILED
[INFO] [stdout] test src/modules/products.rs - modules::products::Product::get_all (line 73) ... FAILED
[INFO] [stdout] test src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::retrieve (line 71) ... FAILED
[INFO] [stdout] test src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::get_all (line 102) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::get_all (line 86) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::retrieve (line 57) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::current_usage (line 184) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::create (line 140) ... FAILED
[INFO] [stdout] test src/modules/variants.rs - modules::variants::Variant::retrieve (line 57) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::retrieve (line 93) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::update (line 155) ... FAILED
[INFO] [stdout] test src/modules/usage_records.rs - modules::usage_records::UsageRecords::create (line 143) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::get_all (line 124) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::cancel (line 226) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::update (line 195) ... FAILED
[INFO] [stdout] test src/modules/usage_records.rs - modules::usage_records::UsageRecords::get_all (line 104) ... FAILED
[INFO] [stdout] test src/modules/usage_records.rs - modules::usage_records::UsageRecords::retrieve (line 77) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::delete (line 69) ... FAILED
[INFO] [stdout] test src/modules/variants.rs - modules::variants::Variant::get_all (line 82) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::retrieve (line 42) ... FAILED
[INFO] [stdout] test src/modules/user.rs - modules::user::User::retrieve (line 34) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::get_all (line 92) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::update (line 172) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - LemonSqueezy::patch (line 151) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:156:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_151_0() {
[INFO] [stdout]   |                                         ------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | api.patch::<serde_json::Value>("/v1/subscriptions/:id").await.unwrap();
[INFO] [stdout]   |                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:155:11
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new();
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^-- an argument of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(key: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new(/* std::string::String */);
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `reqwest::async_impl::body::Body: From<Value>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 8   | api.patch::<serde_json::Value>("/v1/subscriptions/:id").await.unwrap();
[INFO] [stdout]     |     -----   ^^^^^^^^^^^^^^^^^ the trait `From<Value>` is not implemented for `reqwest::async_impl::body::Body`
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <reqwest::async_impl::body::Body as From<hyper::body::body::Body>>
[INFO] [stdout]               <reqwest::async_impl::body::Body as From<bytes::bytes::Bytes>>
[INFO] [stdout]               <reqwest::async_impl::body::Body as From<reqwest::async_impl::response::Response>>
[INFO] [stdout]               <reqwest::async_impl::body::Body as From<Vec<u8>>>
[INFO] [stdout]               <reqwest::async_impl::body::Body as From<std::string::String>>
[INFO] [stdout]               <reqwest::async_impl::body::Body as From<&'static str>>
[INFO] [stdout]               <reqwest::async_impl::body::Body as From<&'static [u8]>>
[INFO] [stdout]     = note: required for `Value` to implement `Into<reqwest::async_impl::body::Body>`
[INFO] [stdout] note: required by a bound in `LemonSqueezy::patch`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:157:27
[INFO] [stdout]     |
[INFO] [stdout] 157 |     pub async fn patch<T: Into<reqwest::Body>>(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ required by this bound in `LemonSqueezy::patch`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/lib.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 8   | api.patch::<serde_json::Value>("/v1/subscriptions/:id").await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------- an argument of type `Value` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:157:18
[INFO] [stdout]     |
[INFO] [stdout] 157 |     pub async fn patch<T: Into<reqwest::Body>>(
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 8   | api.patch::<serde_json::Value>("/v1/subscriptions/:id", /* Value */).await.unwrap();
[INFO] [stdout]     |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/checkout.rs - modules::checkout::Checkout::get_all (line 55) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/checkout.rs:58:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout = Checkout::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/checkout.rs:59:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_checkout_rs_55_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let checkout = checkout.get_all(None).await;
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - LemonSqueezy::delete (line 118) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:123:52
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_118_0() {
[INFO] [stdout]   |                                         ------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | api.delete::<serde_json::Value>("/v1/discounts/1").await.unwrap();
[INFO] [stdout]   |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:122:11
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new();
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^-- an argument of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(key: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new(/* std::string::String */);
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::get_all (line 66) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/license_key_instances.rs:70:56
[INFO] [stdout]   |
[INFO] [stdout] 7 | let license_key_instances = LicenseKeyInstances::build(lemonsqueezy);
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/license_key_instances.rs:71:65
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_key_instances_rs_66_0() {
[INFO] [stdout]   |                                         ------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let license_key_instances = license_key_instances.get_all(None).await.unwrap();
[INFO] [stdout]   |                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - LemonSqueezy::get (line 49) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:54:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_49_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | api.get::<serde_json::Value>("/v1/users/me").await.unwrap();
[INFO] [stdout]   |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:53:11
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new();
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^-- an argument of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(key: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new(/* std::string::String */);
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/customer.rs - modules::customer::Customer::retrieve (line 49) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/customer.rs:52:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let customer = Customer::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/customer.rs:53:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_customer_rs_49_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let store = customer.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/checkout.rs - modules::checkout::Checkout::create (line 90) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/checkout.rs:95:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | let checkout = Checkout::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/modules/checkout.rs:100:4
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_checkout_rs_90_0() {
[INFO] [stdout]    |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 | }).await;
[INFO] [stdout]    |    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `lemonsqueezy::checkout::CreateCheckout` has no field named `store_id`
[INFO] [stdout]   --> src/modules/checkout.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     store_id: 1,
[INFO] [stdout]    |     ^^^^^^^^ `lemonsqueezy::checkout::CreateCheckout` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `type`, `attributes`, `relationships`
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `lemonsqueezy::checkout::CreateCheckout` has no field named `customer_id`
[INFO] [stdout]   --> src/modules/checkout.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     customer_id: 1,
[INFO] [stdout]    |     ^^^^^^^^^^^ `lemonsqueezy::checkout::CreateCheckout` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `type`, `attributes`, `relationships`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0560, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - LemonSqueezy::post (line 83) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:88:52
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_83_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | api.post::<serde_json::Value>("/v1/usage-records").await.unwrap();
[INFO] [stdout]   |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:87:11
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new();
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^-- an argument of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(key: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new(/* std::string::String */);
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: method takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | api.post::<serde_json::Value>("/v1/usage-records").await.unwrap();
[INFO] [stdout]    |     ^^^^   ----------------- supplied 1 generic argument
[INFO] [stdout]    |     |
[INFO] [stdout]    |     expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here, with 2 generic parameters: `V`, `T`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:89:18
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub async fn post<V: for<'de> serde::Deserialize<'de>, T: serde::ser::Serialize>(
[INFO] [stdout]    |                  ^^^^ -                                    -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 8  | api.post::<serde_json::Value, T>("/v1/usage-records").await.unwrap();
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/lib.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | api.post::<serde_json::Value>("/v1/usage-records").await.unwrap();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- an argument is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:89:18
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub async fn post<V: for<'de> serde::Deserialize<'de>, T: serde::ser::Serialize>(
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 8  | api.post::<serde_json::Value>("/v1/usage-records", /* body */).await.unwrap();
[INFO] [stdout]    |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount.rs - modules::discount::Discount::get_all (line 106) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount.rs:109:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount = Discount::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/discount.rs:110:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_rs_106_0() {
[INFO] [stdout]   |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let discount = discount.get_all(None).await;
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/customer.rs - modules::customer::Customer::get_all (line 77) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/customer.rs:80:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let customer = Customer::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/customer.rs:81:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_customer_rs_77_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let customer = customer.get_all().await.unwrap();
[INFO] [stdout]   |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/modules/customer.rs:81:25
[INFO] [stdout]    |
[INFO] [stdout] 7  | let customer = customer.get_all().await.unwrap();
[INFO] [stdout]    |                         ^^^^^^^-- an argument of type `Option<CustomerFilters>` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/modules/customer.rs:84:18
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub async fn get_all(
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 7  | let customer = customer.get_all(/* Option<CustomerFilters> */).await.unwrap();
[INFO] [stdout]    |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::get_all (line 71) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount_redemptions.rs:74:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount_redemptions = DiscountRedemptions::build(lemonsqueezy);
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/discount_redemptions.rs:75:63
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_redemptions_rs_71_0() {
[INFO] [stdout]   |                                         ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let discount_redemptions = discount_redemptions.get_all(None).await;
[INFO] [stdout]   |                                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount.rs - modules::discount::Discount::delete (line 140) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount.rs:143:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount = Discount::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/discount.rs:144:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_rs_140_0() {
[INFO] [stdout]   |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let discount = discount.delete(1).await;
[INFO] [stdout]   |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/license_keys.rs - modules::license_keys::LicenseKey::get_all (line 78) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/license_keys.rs:81:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | let license_keys = LicenseKey::build(lemonsqueezy);
[INFO] [stdout]   |                                      ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/license_keys.rs:82:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_keys_rs_78_0() {
[INFO] [stdout]   |                                         ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let license_key = license_keys.get_all(None).await;
[INFO] [stdout]   |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/files.rs - modules::files::Files::get_all (line 73) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/files.rs:76:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let files = Files::build(lemonsqueezy);
[INFO] [stdout]   |                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/files.rs:77:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_files_rs_73_0() {
[INFO] [stdout]   |                                         --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let file = files.get_all(None).await.unwrap();
[INFO] [stdout]   |                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount.rs - modules::discount::Discount::retrieve (line 80) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount.rs:83:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount = Discount::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/discount.rs:84:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_rs_80_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let discount = discount.retrieve(1).await;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::retrieve (line 41) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount_redemptions.rs:44:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount_redemptions = DiscountRedemptions::build(lemonsqueezy);
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/discount_redemptions.rs:45:60
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_redemptions_rs_41_0() {
[INFO] [stdout]   |                                         ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let discount_redemption = discount_redemptions.retrieve(1).await;
[INFO] [stdout]   |                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::retrieve (line 36) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/license_key_instances.rs:40:56
[INFO] [stdout]   |
[INFO] [stdout] 7 | let license_key_instances = LicenseKeyInstances::build(lemonsqueezy);
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/license_key_instances.rs:41:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_key_instances_rs_36_0() {
[INFO] [stdout]   |                                         ------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let license_key_instance = license_key_instances.retrieve(1).await;
[INFO] [stdout]   |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount.rs - modules::discount::Discount::create (line 166) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount.rs:169:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount = Discount::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/modules/discount.rs:184:38
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_rs_166_0() {
[INFO] [stdout]    |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 21 | let discount = discount.create(data).await;
[INFO] [stdout]    |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/modules/discount.rs:180:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |      store: 1,
[INFO] [stdout]    |             ^ expected `Data<CreateDiscountRelationshipsStore>`, found integer
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Data<CreateDiscountRelationshipsStore>`
[INFO] [stdout]                 found type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/order_items.rs - modules::order_items::OrderItem::retrieve (line 47) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/order_items.rs:50:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | let order_items = OrderItem::build(lemonsqueezy);
[INFO] [stdout]   |                                    ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/order_items.rs:51:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_order_items_rs_47_0() {
[INFO] [stdout]   |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let order_items = order_items.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/files.rs - modules::files::Files::retrieve (line 45) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::files::File`
[INFO] [stdout]  --> src/modules/files.rs:47:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::files::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `File` in `modules::files`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::files::Files;
[INFO] [stdout]   |                          ~~~~~
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ~~~~~~~~~~~~~
[INFO] [stdout] 5 | use tokio::fs::File;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/files.rs:48:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | let files = File::build(lemonsqueezy);
[INFO] [stdout]   |                         ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/files.rs:49:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_files_rs_45_0() {
[INFO] [stdout]   |                                         --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let file = files.retrieve(123).await.unwrap();
[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: E0423, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/checkout.rs - modules::checkout::Checkout::retrieve (line 29) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/checkout.rs:32:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout = Checkout::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/checkout.rs:33:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_checkout_rs_29_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let checkout = checkout.retrieve(1).await;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/modules/checkout.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 7  | let checkout = checkout.retrieve(1).await;
[INFO] [stdout]    |                         -------- ^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                         |        |
[INFO] [stdout]    |                         |        expected `String`, found integer
[INFO] [stdout]    |                         arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/modules/checkout.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub async fn retrieve(
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/products.rs - modules::products::Product::retrieve (line 48) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::product`
[INFO] [stdout]  --> src/modules/products.rs:50:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::product::Product;
[INFO] [stdout]   |                   ^^^^^^^ could not find `product` in `lemonsqueezy`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/products.rs:51:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | let products = Product::build(lemonsqueezy);
[INFO] [stdout]   |                               ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/products.rs:52:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_products_rs_48_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let product = products.retrieve(123).await.unwrap();
[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: E0423, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/orders.rs - modules::orders::Order::get_all (line 106) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/orders.rs:109:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | let orders = Order::build(lemonsqueezy);
[INFO] [stdout]   |                           ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/orders.rs:110:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_orders_rs_106_0() {
[INFO] [stdout]   |                                         ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let orders = orders.get_all(None).await.unwrap();
[INFO] [stdout]   |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/license_keys.rs - modules::license_keys::LicenseKey::retrieve (line 52) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/license_keys.rs:55:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | let license_keys = LicenseKey::build(lemonsqueezy);
[INFO] [stdout]   |                                      ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/license_keys.rs:56:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_keys_rs_52_0() {
[INFO] [stdout]   |                                         ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let license_key = license_keys.retrieve(1).await;
[INFO] [stdout]   |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/orders.rs - modules::orders::Order::retrieve (line 81) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/orders.rs:84:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | let orders = Order::build(lemonsqueezy);
[INFO] [stdout]   |                           ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/orders.rs:85:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_orders_rs_81_0() {
[INFO] [stdout]   |                                         ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let orders = orders.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/store.rs - modules::store::Store::get_all (line 75) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/store.rs:78:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::build(lemonsqueezy);
[INFO] [stdout]   |                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/store.rs:79:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_store_rs_75_0() {
[INFO] [stdout]   |                                         --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let store = store.get_all().await.unwrap();
[INFO] [stdout]   |                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/store.rs - modules::store::Store::retrieve (line 50) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/store.rs:53:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::build(lemonsqueezy);
[INFO] [stdout]   |                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/store.rs:54:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_store_rs_50_0() {
[INFO] [stdout]   |                                         --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let store = store.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/order_items.rs - modules::order_items::OrderItem::get_all (line 72) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/order_items.rs:75:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | let order_items = OrderItem::build(lemonsqueezy);
[INFO] [stdout]   |                                    ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/order_items.rs:76:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_order_items_rs_72_0() {
[INFO] [stdout]   |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let order_items = order_items.get_all(None).await.unwrap();
[INFO] [stdout]   |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/products.rs - modules::products::Product::get_all (line 73) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::product`
[INFO] [stdout]  --> src/modules/products.rs:75:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::product::Product;
[INFO] [stdout]   |                   ^^^^^^^ could not find `product` in `lemonsqueezy`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/products.rs:76:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | let products = Product::build(lemonsqueezy);
[INFO] [stdout]   |                               ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/products.rs:77:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_products_rs_73_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let product = products.get_all(None).await.unwrap();
[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: E0423, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::retrieve (line 71) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_invoice.rs:74:48
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscriptions = SubscriptionInvoice::build(lemonsqueezy);
[INFO] [stdout]   |                                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscription_invoice.rs:75:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_invoice_rs_71_0() {
[INFO] [stdout]   |                                         ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions = subscriptions.retrieve(1).await;
[INFO] [stdout]   |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::get_all (line 102) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubscriptionInvoiceFilter`
[INFO] [stdout]  --> src/modules/subscription_invoice.rs:106:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | let mut filters = SubscriptionInvoiceFilter::default();
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SubscriptionInvoiceFilter`
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 7 | let mut filters = SubscriptionInvoice::default();
[INFO] [stdout]   |                   ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lemonsqueezy::subscription_invoice::SubscriptionInvoiceFilter;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_invoice.rs:108:55
[INFO] [stdout]   |
[INFO] [stdout] 9 | let subscription_invoice = SubscriptionInvoice::build(lemonsqueezy);
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/modules/subscription_invoice.rs:109:72
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_invoice_rs_102_0() {
[INFO] [stdout]    |                                         ------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let subscription_invoice = subscription_invoice.get_all(Some(filters)).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: E0423, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::get_all (line 86) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_items.rs:89:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscription_items = SubscriptionItems::build(lemonsqueezy);
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscription_items.rs:90:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_items_rs_86_0() {
[INFO] [stdout]   |                                         ---------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscription_items = subscription_items.get_all(None).await.unwrap();
[INFO] [stdout]   |                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::retrieve (line 57) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_items.rs:60:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscription_items = SubscriptionItems::build(lemonsqueezy);
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscription_items.rs:61:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_items_rs_57_0() {
[INFO] [stdout]   |                                         ---------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions_item = subscription_items.retrieve(1).await;
[INFO] [stdout]   |                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::current_usage (line 184) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_items.rs:187:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscription_items = SubscriptionItems::build(lemonsqueezy);
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscription_items.rs:188:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_items_rs_184_0() {
[INFO] [stdout]   |                                         ----------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscription_items = subscription_items.current_usage(1).await.unwrap();
[INFO] [stdout]   |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/webhook.rs - modules::webhook::Webhook::create (line 140) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/webhook.rs:145:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | let webhook = Webhook::build(lemonsqueezy);
[INFO] [stdout]   |                              ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/modules/webhook.rs:149:4
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_140_0() {
[INFO] [stdout]    |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | }).await;
[INFO] [stdout]    |    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `lemonsqueezy::webhook::CreateWebhook` has no field named `store_id`
[INFO] [stdout]   --> src/modules/webhook.rs:147:4
[INFO] [stdout]    |
[INFO] [stdout] 10 |    store_id: 1,
[INFO] [stdout]    |    ^^^^^^^^ `lemonsqueezy::webhook::CreateWebhook` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `type`, `attributes`, `relationships`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0560, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/variants.rs - modules::variants::Variant::retrieve (line 57) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::variant`
[INFO] [stdout]  --> src/modules/variants.rs:59:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::variant::Variant;
[INFO] [stdout]   |                   ^^^^^^^ could not find `variant` in `lemonsqueezy`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/variants.rs:60:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | let variants = Variant::build(lemonsqueezy);
[INFO] [stdout]   |                               ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/variants.rs:61:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_variants_rs_57_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let variant = variants.retrieve(123).await.unwrap();
[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: E0423, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::retrieve (line 93) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscriptions.rs:96:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscriptions = Subscriptions::build(lemonsqueezy);
[INFO] [stdout]   |                                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscriptions.rs:97:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscriptions_rs_93_0() {
[INFO] [stdout]   |                                         ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions = subscriptions.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::update (line 155) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_items.rs:158:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscription_items = SubscriptionItems::build(lemonsqueezy);
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]  --> src/modules/subscription_items.rs:159:52
[INFO] [stdout]   |
[INFO] [stdout] 7 | let subscription_items = subscription_items.update(data).await.unwrap();
[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/modules/subscription_items.rs:159:58
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_items_rs_155_0() {
[INFO] [stdout]   |                                         ----------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscription_items = subscription_items.update(data).await.unwrap();
[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: E0423, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/usage_records.rs - modules::usage_records::UsageRecords::create (line 143) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/usage_records.rs:146:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let usage_records = UsageRecords::build(lemonsqueezy);
[INFO] [stdout]   |                                         ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `usage_record_data` in this scope
[INFO] [stdout]  --> src/modules/usage_records.rs:147:41
[INFO] [stdout]   |
[INFO] [stdout] 7 | let usage_record = usage_records.create(usage_record_data).await;
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `usage_records`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/usage_records.rs:147:60
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_usage_records_rs_143_0() {
[INFO] [stdout]   |                                         ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let usage_record = usage_records.create(usage_record_data).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: E0423, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::get_all (line 124) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscriptions.rs:127:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscriptions = Subscriptions::build(lemonsqueezy);
[INFO] [stdout]   |                                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscriptions.rs:128:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscriptions_rs_124_0() {
[INFO] [stdout]   |                                         ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions = subscriptions.get_all(None).await.unwrap();
[INFO] [stdout]   |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::cancel (line 226) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscriptions.rs:229:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscriptions = Subscriptions::build(lemonsqueezy);
[INFO] [stdout]   |                                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscriptions.rs:230:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscriptions_rs_226_0() {
[INFO] [stdout]   |                                         ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions = subscriptions.cancel(123).await.unwrap();
[INFO] [stdout]   |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::update (line 195) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscriptions.rs:198:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscriptions = Subscriptions::build(lemonsqueezy);
[INFO] [stdout]   |                                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]  --> src/modules/subscriptions.rs:199:42
[INFO] [stdout]   |
[INFO] [stdout] 7 | let subscriptions = subscriptions.update(data).await.unwrap();
[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/modules/subscriptions.rs:199:48
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscriptions_rs_195_0() {
[INFO] [stdout]   |                                         ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions = subscriptions.update(data).await.unwrap();
[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: E0423, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/usage_records.rs - modules::usage_records::UsageRecords::get_all (line 104) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/usage_records.rs:107:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let usage_records = UsageRecords::build(lemonsqueezy);
[INFO] [stdout]   |                                         ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/usage_records.rs:108:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_usage_records_rs_104_0() {
[INFO] [stdout]   |                                         ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let usage_records = usage_records.get_all(None).await;
[INFO] [stdout]   |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/usage_records.rs - modules::usage_records::UsageRecords::retrieve (line 77) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/usage_records.rs:80:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let usage_records = UsageRecords::build(lemonsqueezy);
[INFO] [stdout]   |                                         ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/usage_records.rs:81:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_usage_records_rs_77_0() {
[INFO] [stdout]   |                                         ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let usage_record = usage_records.retrieve(1).await;
[INFO] [stdout]   |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/webhook.rs - modules::webhook::Webhook::delete (line 69) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/webhook.rs:73:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | let webhook = Webhook::build(lemonsqueezy);
[INFO] [stdout]   |                              ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/webhook.rs:74:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_69_0() {
[INFO] [stdout]   |                                         ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let webhook = webhook.delete(1).await;
[INFO] [stdout]   |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/variants.rs - modules::variants::Variant::get_all (line 82) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::variant`
[INFO] [stdout]  --> src/modules/variants.rs:84:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::variant::Variant;
[INFO] [stdout]   |                   ^^^^^^^ could not find `variant` in `lemonsqueezy`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/variants.rs:85:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | let variants = Variant::build(lemonsqueezy);
[INFO] [stdout]   |                               ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/variants.rs:86:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_variants_rs_82_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let variant = variants.get_all(None).await.unwrap();
[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: E0423, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/webhook.rs - modules::webhook::Webhook::retrieve (line 42) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/webhook.rs:46:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | let webhook = Webhook::build(lemonsqueezy);
[INFO] [stdout]   |                              ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/webhook.rs:47:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_42_0() {
[INFO] [stdout]   |                                         ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let webhook = webhook.retrieve(1).await;
[INFO] [stdout]   |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/user.rs - modules::user::User::retrieve (line 34) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/user.rs:37:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | let user = User::build(lemonsqueezy);
[INFO] [stdout]   |                        ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/user.rs:38:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_user_rs_34_0() {
[INFO] [stdout]   |                                         -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let user = user.retrieve().await.unwrap();
[INFO] [stdout]   |                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/webhook.rs - modules::webhook::Webhook::get_all (line 92) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/webhook.rs:96:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | let webhook = Webhook::build(lemonsqueezy);
[INFO] [stdout]   |                              ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/webhook.rs:97:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_92_0() {
[INFO] [stdout]   |                                         ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let webhook = webhook.get_all(None).await;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/webhook.rs - modules::webhook::Webhook::update (line 172) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/webhook.rs:176:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | let webhook = Webhook::build(lemonsqueezy);
[INFO] [stdout]   |                              ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]  --> src/modules/webhook.rs:177:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | let webhook = webhook.update(data).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/modules/webhook.rs:177:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_172_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let webhook = webhook.update(data).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: E0423, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - LemonSqueezy::delete (line 118)
[INFO] [stdout]     src/lib.rs - LemonSqueezy::get (line 49)
[INFO] [stdout]     src/lib.rs - LemonSqueezy::patch (line 151)
[INFO] [stdout]     src/lib.rs - LemonSqueezy::post (line 83)
[INFO] [stdout]     src/modules/checkout.rs - modules::checkout::Checkout::create (line 90)
[INFO] [stdout]     src/modules/checkout.rs - modules::checkout::Checkout::get_all (line 55)
[INFO] [stdout]     src/modules/checkout.rs - modules::checkout::Checkout::retrieve (line 29)
[INFO] [stdout]     src/modules/customer.rs - modules::customer::Customer::get_all (line 77)
[INFO] [stdout]     src/modules/customer.rs - modules::customer::Customer::retrieve (line 49)
[INFO] [stdout]     src/modules/discount.rs - modules::discount::Discount::create (line 166)
[INFO] [stdout]     src/modules/discount.rs - modules::discount::Discount::delete (line 140)
[INFO] [stdout]     src/modules/discount.rs - modules::discount::Discount::get_all (line 106)
[INFO] [stdout]     src/modules/discount.rs - modules::discount::Discount::retrieve (line 80)
[INFO] [stdout]     src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::get_all (line 71)
[INFO] [stdout]     src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::retrieve (line 41)
[INFO] [stdout]     src/modules/files.rs - modules::files::Files::get_all (line 73)
[INFO] [stdout]     src/modules/files.rs - modules::files::Files::retrieve (line 45)
[INFO] [stdout]     src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::get_all (line 66)
[INFO] [stdout]     src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::retrieve (line 36)
[INFO] [stdout]     src/modules/license_keys.rs - modules::license_keys::LicenseKey::get_all (line 78)
[INFO] [stdout]     src/modules/license_keys.rs - modules::license_keys::LicenseKey::retrieve (line 52)
[INFO] [stdout]     src/modules/order_items.rs - modules::order_items::OrderItem::get_all (line 72)
[INFO] [stdout]     src/modules/order_items.rs - modules::order_items::OrderItem::retrieve (line 47)
[INFO] [stdout]     src/modules/orders.rs - modules::orders::Order::get_all (line 106)
[INFO] [stdout]     src/modules/orders.rs - modules::orders::Order::retrieve (line 81)
[INFO] [stdout]     src/modules/products.rs - modules::products::Product::get_all (line 73)
[INFO] [stdout]     src/modules/products.rs - modules::products::Product::retrieve (line 48)
[INFO] [stdout]     src/modules/store.rs - modules::store::Store::get_all (line 75)
[INFO] [stdout]     src/modules/store.rs - modules::store::Store::retrieve (line 50)
[INFO] [stdout]     src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::get_all (line 102)
[INFO] [stdout]     src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::retrieve (line 71)
[INFO] [stdout]     src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::current_usage (line 184)
[INFO] [stdout]     src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::get_all (line 86)
[INFO] [stdout]     src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::retrieve (line 57)
[INFO] [stdout]     src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::update (line 155)
[INFO] [stdout]     src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::cancel (line 226)
[INFO] [stdout]     src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::get_all (line 124)
[INFO] [stdout]     src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::retrieve (line 93)
[INFO] [stdout]     src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::update (line 195)
[INFO] [stdout]     src/modules/usage_records.rs - modules::usage_records::UsageRecords::create (line 143)
[INFO] [stdout]     src/modules/usage_records.rs - modules::usage_records::UsageRecords::get_all (line 104)
[INFO] [stdout]     src/modules/usage_records.rs - modules::usage_records::UsageRecords::retrieve (line 77)
[INFO] [stdout]     src/modules/user.rs - modules::user::User::retrieve (line 34)
[INFO] [stdout]     src/modules/variants.rs - modules::variants::Variant::get_all (line 82)
[INFO] [stdout]     src/modules/variants.rs - modules::variants::Variant::retrieve (line 57)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::create (line 140)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::delete (line 69)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::get_all (line 92)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::retrieve (line 42)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::update (line 172)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 50 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "27daeda64d9b5c15709cf4d44d38c0a064411ee20f74e5f0e74e9781763d4d36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27daeda64d9b5c15709cf4d44d38c0a064411ee20f74e5f0e74e9781763d4d36", kill_on_drop: false }`
[INFO] [stdout] 27daeda64d9b5c15709cf4d44d38c0a064411ee20f74e5f0e74e9781763d4d36
