[INFO] fetching crate lemonsqueezy 0.1.3...
[INFO] testing lemonsqueezy-0.1.3 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate lemonsqueezy 0.1.3 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate lemonsqueezy 0.1.3
[INFO] finished tweaking crates.io crate lemonsqueezy 0.1.3
[INFO] tweaked toml for crates.io crate lemonsqueezy 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate lemonsqueezy 0.1.3 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lemonsqueezy 0.1.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.5.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 696b48a16f63addea184b8d43e281e007d58faa6e4a035fc0fb3f641b4181aa5
[INFO] running `Command { std: "docker" "start" "-a" "696b48a16f63addea184b8d43e281e007d58faa6e4a035fc0fb3f641b4181aa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "696b48a16f63addea184b8d43e281e007d58faa6e4a035fc0fb3f641b4181aa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "696b48a16f63addea184b8d43e281e007d58faa6e4a035fc0fb3f641b4181aa5", kill_on_drop: false }`
[INFO] [stdout] 696b48a16f63addea184b8d43e281e007d58faa6e4a035fc0fb3f641b4181aa5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc9d667a5f683125765fec5b36b967011d50ebeeb0ab7485a47b7e3bcf100b55
[INFO] running `Command { std: "docker" "start" "-a" "fc9d667a5f683125765fec5b36b967011d50ebeeb0ab7485a47b7e3bcf100b55", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling lemonsqueezy v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.52s
[INFO] running `Command { std: "docker" "inspect" "fc9d667a5f683125765fec5b36b967011d50ebeeb0ab7485a47b7e3bcf100b55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc9d667a5f683125765fec5b36b967011d50ebeeb0ab7485a47b7e3bcf100b55", kill_on_drop: false }`
[INFO] [stdout] fc9d667a5f683125765fec5b36b967011d50ebeeb0ab7485a47b7e3bcf100b55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 04edd41324007e064dd47eacdaa552c5fe0751a5899ba77fa1ab08fba0bc9700
[INFO] running `Command { std: "docker" "start" "-a" "04edd41324007e064dd47eacdaa552c5fe0751a5899ba77fa1ab08fba0bc9700", kill_on_drop: false }`
[INFO] [stderr]    Compiling lemonsqueezy v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.83s
[INFO] running `Command { std: "docker" "inspect" "04edd41324007e064dd47eacdaa552c5fe0751a5899ba77fa1ab08fba0bc9700", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04edd41324007e064dd47eacdaa552c5fe0751a5899ba77fa1ab08fba0bc9700", kill_on_drop: false }`
[INFO] [stdout] 04edd41324007e064dd47eacdaa552c5fe0751a5899ba77fa1ab08fba0bc9700
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ee4e2a4a05baf67a74428ae5640595492b16dfb5887d54909f6de828972accad
[INFO] running `Command { std: "docker" "start" "-a" "ee4e2a4a05baf67a74428ae5640595492b16dfb5887d54909f6de828972accad", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lemonsqueezy-d7020c64e5d03f21)
[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 51 tests
[INFO] [stdout] test src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::retrieve (line 41) ... FAILED
[INFO] [stdout] test src/lib.rs - LemonSqueezy::post (line 113) ... FAILED
[INFO] [stdout] test src/lib.rs - LemonSqueezy::get (line 49) ... FAILED
[INFO] [stdout] test src/lib.rs - LemonSqueezy::delete (line 148) ... FAILED
[INFO] [stdout] test src/lib.rs - LemonSqueezy::patch (line 181) ... FAILED
[INFO] [stdout] test src/modules/discount.rs - modules::discount::Discount::delete (line 140) ... 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::get_all (line 55) ... FAILED
[INFO] [stdout] test src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::get_all (line 66) ... FAILED
[INFO] [stdout] test src/modules/customer.rs - modules::customer::Customer::get_all (line 77) ... FAILED
[INFO] [stdout] test src/modules/discount.rs - modules::discount::Discount::create (line 166) ... FAILED
[INFO] [stdout] test src/modules/files.rs - modules::files::Files::get_all (line 73) ... FAILED
[INFO] [stdout] test src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::retrieve (line 36) ... FAILED
[INFO] [stdout] test src/modules/orders.rs - modules::orders::Order::get_all (line 106) ... FAILED
[INFO] [stdout] test src/modules/order_items.rs - modules::order_items::OrderItem::retrieve (line 47) ... FAILED
[INFO] [stdout] test src/modules/store.rs - modules::store::Store::get_all (line 75) ... FAILED
[INFO] [stdout] test src/modules/order_items.rs - modules::order_items::OrderItem::get_all (line 72) ... FAILED
[INFO] [stdout] test src/modules/checkout.rs - modules::checkout::Checkout::create (line 90) ... FAILED
[INFO] [stdout] test src/modules/license_keys.rs - modules::license_keys::LicenseKey::activate (line 112) ... FAILED
[INFO] [stdout] test src/modules/checkout.rs - modules::checkout::Checkout::retrieve (line 29) ... FAILED
[INFO] [stdout] test src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::get_all (line 71) ... FAILED
[INFO] [stdout] test src/modules/orders.rs - modules::orders::Order::retrieve (line 81) ... FAILED
[INFO] [stdout] test src/modules/products.rs - modules::products::Product::get_all (line 73) ... FAILED
[INFO] [stdout] test src/modules/files.rs - modules::files::Files::retrieve (line 45) ... FAILED
[INFO] [stdout] test src/modules/discount.rs - modules::discount::Discount::get_all (line 106) ... FAILED
[INFO] [stdout] test src/modules/license_keys.rs - modules::license_keys::LicenseKey::retrieve (line 211) ... FAILED
[INFO] [stdout] test src/modules/products.rs - modules::products::Product::retrieve (line 48) ... FAILED
[INFO] [stdout] test src/modules/store.rs - modules::store::Store::retrieve (line 50) ... FAILED
[INFO] [stdout] test src/modules/license_keys.rs - modules::license_keys::LicenseKey::get_all (line 237) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::update (line 155) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::cancel (line 226) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::get_all (line 86) ... FAILED
[INFO] [stdout] test src/modules/discount.rs - modules::discount::Discount::retrieve (line 80) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::get_all (line 124) ... FAILED
[INFO] [stdout] test src/modules/usage_records.rs - modules::usage_records::UsageRecords::create (line 143) ... FAILED
[INFO] [stdout] test src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::get_all (line 102) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::update (line 195) ... FAILED
[INFO] [stdout] test src/modules/variants.rs - modules::variants::Variant::get_all (line 82) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::retrieve (line 93) ... 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::create (line 219) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::retrieve (line 121) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::retrieve (line 57) ... FAILED
[INFO] [stdout] test src/modules/usage_records.rs - modules::usage_records::UsageRecords::get_all (line 104) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::get_all (line 171) ... 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::update (line 251) ... FAILED
[INFO] [stdout] test src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::retrieve (line 71) ... 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 148) ... FAILED
[INFO] [stdout] test src/modules/variants.rs - modules::variants::Variant::retrieve (line 57) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 44 | 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] 42 | 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] 45 | 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/lib.rs - LemonSqueezy::post (line 113) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:118:52
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_113_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 118 | 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:117:11
[INFO] [stdout]     |
[INFO] [stdout] 117 | let api = LemonSqueezy::new();
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^-- argument #1 of type `std::string::String` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> 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] 117 | 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:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 | 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]    --> src/lib.rs:119:18
[INFO] [stdout]     |
[INFO] [stdout] 119 |     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] 118 | 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:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 | api.post::<serde_json::Value>("/v1/usage-records").await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- argument #2 is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:119:18
[INFO] [stdout]     |
[INFO] [stdout] 119 |     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] 118 | 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/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] 50 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_49_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 54 | 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] 53 | let api = LemonSqueezy::new();
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^-- argument #1 of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> 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] 53 | 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/lib.rs - LemonSqueezy::delete (line 148) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:153:52
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_148_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 153 | 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:152:11
[INFO] [stdout]     |
[INFO] [stdout] 152 | let api = LemonSqueezy::new();
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^-- argument #1 of type `std::string::String` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> 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] 152 | 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/lib.rs - LemonSqueezy::patch (line 181) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:186:57
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_181_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 186 | 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:185:11
[INFO] [stdout]     |
[INFO] [stdout] 185 | let api = LemonSqueezy::new();
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^-- argument #1 of type `std::string::String` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> 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] 185 | 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:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 | 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` implements `From<&[u8]>`
[INFO] [stdout]               `reqwest::async_impl::body::Body` implements `From<&str>`
[INFO] [stdout]               `reqwest::async_impl::body::Body` implements `From<Vec<u8>>`
[INFO] [stdout]               `reqwest::async_impl::body::Body` implements `From<bytes::bytes::Bytes>`
[INFO] [stdout]               `reqwest::async_impl::body::Body` implements `From<hyper::body::body::Body>`
[INFO] [stdout]               `reqwest::async_impl::body::Body` implements `From<reqwest::async_impl::response::Response>`
[INFO] [stdout]               `reqwest::async_impl::body::Body` implements `From<std::string::String>`
[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]    --> src/lib.rs:187:27
[INFO] [stdout]     |
[INFO] [stdout] 187 |     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:186:5
[INFO] [stdout]     |
[INFO] [stdout] 186 | api.patch::<serde_json::Value>("/v1/subscriptions/:id").await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------- argument #2 of type `Value` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:187:18
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub async fn patch<T: Into<reqwest::Body>>(
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 186 | 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/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] 143 | 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] 141 | 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] 144 | 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/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] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]    |
[INFO] [stdout] 52 | 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] 50 | 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] 53 | 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::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] 58 | 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] 56 | 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] 59 | 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/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] 70 | 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] 67 | 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] 71 | 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/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] 80 | 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] 78 | 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] 81 | 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] 81 | let customer = customer.get_all().await.unwrap();
[INFO] [stdout]    |                         ^^^^^^^-- argument #1 of type `Option<CustomerFilters>` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> 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] 81 | 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.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] 169 | 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] 167 | 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] 184 | 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] 180 |      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/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] 76 | 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] 74 | 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] 77 | 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/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] 40 | 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] 37 | 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] 41 | 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/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] 109 | 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] 107 | 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] 110 | let orders = orders.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/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] 50 | 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] 48 | 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] 51 | 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/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] 78 | 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] 76 | 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] 79 | 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/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] 75 | 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] 73 | 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] 76 | 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/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] 95 | 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]  91 | 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] 100 | }).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] 97 |     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] 98 |     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/modules/license_keys.rs - modules::license_keys::LicenseKey::activate (line 112) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]    --> src/modules/license_keys.rs:115:38
[INFO] [stdout]     |
[INFO] [stdout] 115 | 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:116:97
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_keys_rs_112_0() {
[INFO] [stdout]     |                                      ---------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 116 | let activation_response = license_keys.activate("38b1460a-5104-4067-a91d-77b872934d51", "Test").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/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] 32 | 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] 30 | 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] 33 | 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] 33 | let checkout = checkout.retrieve(1).await;
[INFO] [stdout]    |                         -------- ^ expected `String`, found integer
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/modules/checkout.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub async fn retrieve(
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]    |
[INFO] [stdout] 33 | let checkout = checkout.retrieve(1.to_string()).await;
[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/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] 74 | 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] 72 | 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] 75 | 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/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] 84 | 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] 82 | 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] 85 | 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/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] 75 | 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] 76 | 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] 74 | 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] 77 | 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/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] 47 | 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] 47 | use lemonsqueezy::files::Files;
[INFO] [stdout]    |                              +
[INFO] [stdout] help: consider importing one of these structs instead
[INFO] [stdout]    |
[INFO] [stdout] 47 - use lemonsqueezy::files::File;
[INFO] [stdout] 47 + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 47 - use lemonsqueezy::files::File;
[INFO] [stdout] 47 + 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] 48 | 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] 46 | 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] 49 | 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/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] 109 | 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] 107 | 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] 110 | 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/license_keys.rs - modules::license_keys::LicenseKey::retrieve (line 211) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]    --> src/modules/license_keys.rs:214:38
[INFO] [stdout]     |
[INFO] [stdout] 214 | 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:215:44
[INFO] [stdout]     |
[INFO] [stdout] 212 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_keys_rs_211_0() {
[INFO] [stdout]     |                                      ---------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 215 | 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/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] 50 | 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] 51 | 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] 49 | 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] 52 | 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/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] 53 | 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] 51 | 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] 54 | 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/license_keys.rs - modules::license_keys::LicenseKey::get_all (line 237) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]    --> src/modules/license_keys.rs:240:38
[INFO] [stdout]     |
[INFO] [stdout] 240 | 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:241:46
[INFO] [stdout]     |
[INFO] [stdout] 238 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_keys_rs_237_0() {
[INFO] [stdout]     |                                      ---------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 241 | 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/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] 158 | 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] 159 | 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] 156 | 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] 159 | 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/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] 229 | 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] 227 | 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] 230 | 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/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] 89 | 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] 87 | 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] 90 | 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/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] 83 | 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] 81 | 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] 84 | 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/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] 127 | 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] 125 | 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] 128 | 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/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] 146 | 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] 147 | let usage_record = usage_records.create(usage_record_data).await;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 147 - let usage_record = usage_records.create(usage_record_data).await;
[INFO] [stdout] 147 + let usage_record = usage_records.create(usage_records).await;
[INFO] [stdout]     |
[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] 144 | 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] 147 | 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/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] 106 | 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] 106 - let mut filters = SubscriptionInvoiceFilter::default();
[INFO] [stdout] 106 + let mut filters = SubscriptionInvoice::default();
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 101 + 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] 108 | 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] 103 | 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] 109 | 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/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] 198 | 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] 199 | 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] 196 | 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] 199 | 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/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] 84 | 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] 85 | 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] 83 | 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] 86 | 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/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] 96 | 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] 94 | 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] 97 | 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/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] 37 | 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] 35 | 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] 38 | 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::create (line 219) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]    --> src/modules/webhook.rs:224:30
[INFO] [stdout]     |
[INFO] [stdout] 224 | 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:228:4
[INFO] [stdout]     |
[INFO] [stdout] 220 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_219_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 228 | }).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:226:4
[INFO] [stdout]     |
[INFO] [stdout] 226 |    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/webhook.rs - modules::webhook::Webhook::retrieve (line 121) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]    --> src/modules/webhook.rs:125:30
[INFO] [stdout]     |
[INFO] [stdout] 125 | 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:126:35
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_121_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 126 | 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/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] 60 | 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] 58 | 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] 61 | 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/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] 107 | 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] 105 | 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] 108 | 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/webhook.rs - modules::webhook::Webhook::get_all (line 171) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]    --> src/modules/webhook.rs:175:30
[INFO] [stdout]     |
[INFO] [stdout] 175 | 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:176:37
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_171_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 176 | 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/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] 187 | 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] 185 | 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] 188 | 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::update (line 251) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]    --> src/modules/webhook.rs:255:30
[INFO] [stdout]     |
[INFO] [stdout] 255 | 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:256:30
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:256:36
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_251_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 256 | 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] ---- 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] 74 | 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] 72 | 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] 75 | 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/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] 80 | 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] 78 | 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] 81 | 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 148) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]    --> src/modules/webhook.rs:152:30
[INFO] [stdout]     |
[INFO] [stdout] 152 | 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:153:33
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_148_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 153 | 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::retrieve (line 57) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::variant`
[INFO] [stdout]   --> src/modules/variants.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | 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] 60 | 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] 58 | 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] 61 | 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - LemonSqueezy::delete (line 148)
[INFO] [stdout]     src/lib.rs - LemonSqueezy::get (line 49)
[INFO] [stdout]     src/lib.rs - LemonSqueezy::patch (line 181)
[INFO] [stdout]     src/lib.rs - LemonSqueezy::post (line 113)
[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::activate (line 112)
[INFO] [stdout]     src/modules/license_keys.rs - modules::license_keys::LicenseKey::get_all (line 237)
[INFO] [stdout]     src/modules/license_keys.rs - modules::license_keys::LicenseKey::retrieve (line 211)
[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 219)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::delete (line 148)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::get_all (line 171)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::retrieve (line 121)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::update (line 251)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 51 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.75s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ee4e2a4a05baf67a74428ae5640595492b16dfb5887d54909f6de828972accad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee4e2a4a05baf67a74428ae5640595492b16dfb5887d54909f6de828972accad", kill_on_drop: false }`
[INFO] [stdout] ee4e2a4a05baf67a74428ae5640595492b16dfb5887d54909f6de828972accad
