[INFO] fetching crate lemonsqueezy 0.1.1...
[INFO] testing lemonsqueezy-0.1.1 against 1.76.0 for beta-1.77-1
[INFO] extracting crate lemonsqueezy 0.1.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate lemonsqueezy 0.1.1 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lemonsqueezy 0.1.1
[INFO] finished tweaking crates.io crate lemonsqueezy 0.1.1
[INFO] tweaked toml for crates.io crate lemonsqueezy 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b0c57b1a836955d0aebabc869a135cab381151cbc931aa8f52457906bf59189
[INFO] running `Command { std: "docker" "start" "-a" "0b0c57b1a836955d0aebabc869a135cab381151cbc931aa8f52457906bf59189", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b0c57b1a836955d0aebabc869a135cab381151cbc931aa8f52457906bf59189", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b0c57b1a836955d0aebabc869a135cab381151cbc931aa8f52457906bf59189", kill_on_drop: false }`
[INFO] [stdout] 0b0c57b1a836955d0aebabc869a135cab381151cbc931aa8f52457906bf59189
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7c2b4c3cad96528fb0d2fec6fcdb1c95c62c085187cf3aa7c8126e0d4caa439
[INFO] running `Command { std: "docker" "start" "-a" "c7c2b4c3cad96528fb0d2fec6fcdb1c95c62c085187cf3aa7c8126e0d4caa439", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling cc v1.0.85
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling indexmap v2.2.3
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling h2 v0.3.24
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.24
[INFO] [stderr]    Compiling lemonsqueezy v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.22s
[INFO] running `Command { std: "docker" "inspect" "c7c2b4c3cad96528fb0d2fec6fcdb1c95c62c085187cf3aa7c8126e0d4caa439", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7c2b4c3cad96528fb0d2fec6fcdb1c95c62c085187cf3aa7c8126e0d4caa439", kill_on_drop: false }`
[INFO] [stdout] c7c2b4c3cad96528fb0d2fec6fcdb1c95c62c085187cf3aa7c8126e0d4caa439
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c4b581b2b399f2984fba4a4bbc0497d9a9bf0c042ca902c785a9df8575f06bd
[INFO] running `Command { std: "docker" "start" "-a" "3c4b581b2b399f2984fba4a4bbc0497d9a9bf0c042ca902c785a9df8575f06bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling lemonsqueezy v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.11s
[INFO] running `Command { std: "docker" "inspect" "3c4b581b2b399f2984fba4a4bbc0497d9a9bf0c042ca902c785a9df8575f06bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c4b581b2b399f2984fba4a4bbc0497d9a9bf0c042ca902c785a9df8575f06bd", kill_on_drop: false }`
[INFO] [stdout] 3c4b581b2b399f2984fba4a4bbc0497d9a9bf0c042ca902c785a9df8575f06bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ccd970a9ed77b2607cd1be833b0716683955f6b5c4f39f0740b93603ddca56a0
[INFO] running `Command { std: "docker" "start" "-a" "ccd970a9ed77b2607cd1be833b0716683955f6b5c4f39f0740b93603ddca56a0", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lemonsqueezy-d6f579f63c75edb9)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests lemonsqueezy
[INFO] [stdout] 
[INFO] [stdout] running 50 tests
[INFO] [stdout] test src/lib.rs - LemonSqueezy::get (line 49) ... FAILED
[INFO] [stdout] test src/lib.rs - LemonSqueezy::delete (line 118) ... FAILED
[INFO] [stdout] test src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::retrieve (line 41) ... FAILED
[INFO] [stdout] test src/modules/customer.rs - modules::customer::Customer::retrieve (line 49) ... FAILED
[INFO] [stdout] test src/lib.rs - LemonSqueezy::patch (line 151) ... FAILED
[INFO] [stdout] test src/lib.rs - LemonSqueezy::post (line 83) ... FAILED
[INFO] [stdout] test src/modules/discount.rs - modules::discount::Discount::retrieve (line 80) ... 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/checkout.rs - modules::checkout::Checkout::get_all (line 55) ... 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::get_all (line 106) ... FAILED
[INFO] [stdout] test src/modules/files.rs - modules::files::Files::get_all (line 73) ... FAILED
[INFO] [stdout] test src/modules/checkout.rs - modules::checkout::Checkout::create (line 90) ... FAILED
[INFO] [stdout] test src/modules/discount.rs - modules::discount::Discount::delete (line 140) ... FAILED
[INFO] [stdout] test src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::get_all (line 102) ... FAILED
[INFO] [stdout] test src/modules/orders.rs - modules::orders::Order::retrieve (line 81) ... 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/order_items.rs - modules::order_items::OrderItem::get_all (line 72) ... 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/store.rs - modules::store::Store::get_all (line 75) ... FAILED
[INFO] [stdout] test src/modules/files.rs - modules::files::Files::retrieve (line 45) ... FAILED
[INFO] [stdout] test src/modules/license_keys.rs - modules::license_keys::LicenseKey::retrieve (line 52) ... FAILED
[INFO] [stdout] test src/modules/orders.rs - modules::orders::Order::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/discount.rs - modules::discount::Discount::create (line 166) ... FAILED
[INFO] [stdout] test src/modules/license_keys.rs - modules::license_keys::LicenseKey::get_all (line 78) ... FAILED
[INFO] [stdout] test src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::retrieve (line 36) ... FAILED
[INFO] [stdout] test src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::retrieve (line 71) ... FAILED
[INFO] [stdout] test src/modules/products.rs - modules::products::Product::get_all (line 73) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::cancel (line 226) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::get_all (line 124) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::current_usage (line 184) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::get_all (line 86) ... FAILED
[INFO] [stdout] test src/modules/usage_records.rs - modules::usage_records::UsageRecords::retrieve (line 77) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::retrieve (line 57) ... FAILED
[INFO] [stdout] test src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::update (line 155) ... FAILED
[INFO] [stdout] test src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::retrieve (line 93) ... 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::create (line 140) ... 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::retrieve (line 57) ... FAILED
[INFO] [stdout] test src/modules/user.rs - modules::user::User::retrieve (line 34) ... FAILED
[INFO] [stdout] test src/modules/usage_records.rs - modules::usage_records::UsageRecords::create (line 143) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::delete (line 69) ... FAILED
[INFO] [stdout] test src/modules/variants.rs - modules::variants::Variant::get_all (line 82) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::get_all (line 92) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::update (line 172) ... FAILED
[INFO] [stdout] test src/modules/webhook.rs - modules::webhook::Webhook::retrieve (line 42) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - LemonSqueezy::get (line 49) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:54:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_49_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | api.get::<serde_json::Value>("/v1/users/me").await.unwrap();
[INFO] [stdout]   |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:53:11
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new();
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^-- an argument of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(key: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new(/* std::string::String */);
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - LemonSqueezy::delete (line 118) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:123:52
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_118_0() {
[INFO] [stdout]   |                                         ------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | api.delete::<serde_json::Value>("/v1/discounts/1").await.unwrap();
[INFO] [stdout]   |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:122:11
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new();
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^-- an argument of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(key: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new(/* std::string::String */);
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::retrieve (line 41) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount_redemptions.rs:44:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount_redemptions = DiscountRedemptions::build(lemonsqueezy);
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/discount_redemptions.rs:45:60
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_redemptions_rs_41_0() {
[INFO] [stdout]   |                                         ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let discount_redemption = discount_redemptions.retrieve(1).await;
[INFO] [stdout]   |                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/customer.rs - modules::customer::Customer::retrieve (line 49) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/customer.rs:52:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let customer = Customer::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/customer.rs:53:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_customer_rs_49_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let store = customer.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - LemonSqueezy::patch (line 151) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:156:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_151_0() {
[INFO] [stdout]   |                                         ------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | api.patch::<serde_json::Value>("/v1/subscriptions/:id").await.unwrap();
[INFO] [stdout]   |                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:155:11
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new();
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^-- an argument of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(key: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new(/* std::string::String */);
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: 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::post (line 83) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:88:52
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_83_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | api.post::<serde_json::Value>("/v1/usage-records").await.unwrap();
[INFO] [stdout]   |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:87:11
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new();
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^-- an argument of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(key: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 7  | let api = LemonSqueezy::new(/* std::string::String */);
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount.rs - modules::discount::Discount::retrieve (line 80) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount.rs:83:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount = Discount::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/discount.rs:84:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_rs_80_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let discount = discount.retrieve(1).await;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/checkout.rs - modules::checkout::Checkout::retrieve (line 29) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/checkout.rs:32:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout = Checkout::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/checkout.rs:33:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_checkout_rs_29_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let checkout = checkout.retrieve(1).await;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::get_all (line 71) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount_redemptions.rs:74:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount_redemptions = DiscountRedemptions::build(lemonsqueezy);
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/discount_redemptions.rs:75:63
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_redemptions_rs_71_0() {
[INFO] [stdout]   |                                         ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let discount_redemptions = discount_redemptions.get_all(None).await;
[INFO] [stdout]   |                                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/checkout.rs - modules::checkout::Checkout::get_all (line 55) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/checkout.rs:58:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout = Checkout::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/checkout.rs:59:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_checkout_rs_55_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let checkout = checkout.get_all(None).await;
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/customer.rs - modules::customer::Customer::get_all (line 77) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/customer.rs:80:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let customer = Customer::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/customer.rs:81:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_customer_rs_77_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let customer = customer.get_all().await.unwrap();
[INFO] [stdout]   |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: 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::get_all (line 106) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount.rs:109:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount = Discount::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/discount.rs:110:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_rs_106_0() {
[INFO] [stdout]   |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let discount = discount.get_all(None).await;
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/files.rs - modules::files::Files::get_all (line 73) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/files.rs:76:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let files = Files::build(lemonsqueezy);
[INFO] [stdout]   |                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/files.rs:77:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_files_rs_73_0() {
[INFO] [stdout]   |                                         --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let file = files.get_all(None).await.unwrap();
[INFO] [stdout]   |                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/checkout.rs - modules::checkout::Checkout::create (line 90) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/checkout.rs:95:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | let checkout = Checkout::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/modules/checkout.rs:100:4
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_checkout_rs_90_0() {
[INFO] [stdout]    |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 | }).await;
[INFO] [stdout]    |    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount.rs - modules::discount::Discount::delete (line 140) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount.rs:143:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount = Discount::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/discount.rs:144:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_rs_140_0() {
[INFO] [stdout]   |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let discount = discount.delete(1).await;
[INFO] [stdout]   |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::get_all (line 102) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubscriptionInvoiceFilter`
[INFO] [stdout]  --> src/modules/subscription_invoice.rs:106:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | let mut filters = SubscriptionInvoiceFilter::default();
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SubscriptionInvoiceFilter`
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 7 | let mut filters = SubscriptionInvoice::default();
[INFO] [stdout]   |                   ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lemonsqueezy::subscription_invoice::SubscriptionInvoiceFilter;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_invoice.rs:108:55
[INFO] [stdout]   |
[INFO] [stdout] 9 | let subscription_invoice = SubscriptionInvoice::build(lemonsqueezy);
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/modules/subscription_invoice.rs:109:72
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_invoice_rs_102_0() {
[INFO] [stdout]    |                                         ------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let subscription_invoice = subscription_invoice.get_all(Some(filters)).await;
[INFO] [stdout]    |                                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/orders.rs - modules::orders::Order::retrieve (line 81) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/orders.rs:84:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | let orders = Order::build(lemonsqueezy);
[INFO] [stdout]   |                           ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/orders.rs:85:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_orders_rs_81_0() {
[INFO] [stdout]   |                                         ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let orders = orders.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::get_all (line 66) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/license_key_instances.rs:70:56
[INFO] [stdout]   |
[INFO] [stdout] 7 | let license_key_instances = LicenseKeyInstances::build(lemonsqueezy);
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/license_key_instances.rs:71:65
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_key_instances_rs_66_0() {
[INFO] [stdout]   |                                         ------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let license_key_instances = license_key_instances.get_all(None).await.unwrap();
[INFO] [stdout]   |                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/order_items.rs - modules::order_items::OrderItem::get_all (line 72) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/order_items.rs:75:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | let order_items = OrderItem::build(lemonsqueezy);
[INFO] [stdout]   |                                    ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/order_items.rs:76:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_order_items_rs_72_0() {
[INFO] [stdout]   |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let order_items = order_items.get_all(None).await.unwrap();
[INFO] [stdout]   |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/products.rs - modules::products::Product::retrieve (line 48) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::product`
[INFO] [stdout]  --> src/modules/products.rs:50:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::product::Product;
[INFO] [stdout]   |                   ^^^^^^^ could not find `product` in `lemonsqueezy`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/products.rs:51:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | let products = Product::build(lemonsqueezy);
[INFO] [stdout]   |                               ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/products.rs:52:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_products_rs_48_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let product = products.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/store.rs - modules::store::Store::retrieve (line 50) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/store.rs:53:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::build(lemonsqueezy);
[INFO] [stdout]   |                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/store.rs:54:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_store_rs_50_0() {
[INFO] [stdout]   |                                         --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let store = store.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/store.rs - modules::store::Store::get_all (line 75) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/store.rs:78:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::build(lemonsqueezy);
[INFO] [stdout]   |                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/store.rs:79:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_store_rs_75_0() {
[INFO] [stdout]   |                                         --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let store = store.get_all().await.unwrap();
[INFO] [stdout]   |                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/files.rs - modules::files::Files::retrieve (line 45) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::files::File`
[INFO] [stdout]  --> src/modules/files.rs:47:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::files::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `File` in `modules::files`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::files::Files;
[INFO] [stdout]   |                          ~~~~~
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ~~~~~~~~~~~~~
[INFO] [stdout] 5 | use tokio::fs::File;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/files.rs:48:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | let files = File::build(lemonsqueezy);
[INFO] [stdout]   |                         ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/files.rs:49:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_files_rs_45_0() {
[INFO] [stdout]   |                                         --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let file = files.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/license_keys.rs - modules::license_keys::LicenseKey::retrieve (line 52) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/license_keys.rs:55:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | let license_keys = LicenseKey::build(lemonsqueezy);
[INFO] [stdout]   |                                      ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/license_keys.rs:56:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_keys_rs_52_0() {
[INFO] [stdout]   |                                         ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let license_key = license_keys.retrieve(1).await;
[INFO] [stdout]   |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/orders.rs - modules::orders::Order::get_all (line 106) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/orders.rs:109:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | let orders = Order::build(lemonsqueezy);
[INFO] [stdout]   |                           ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/orders.rs:110:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_orders_rs_106_0() {
[INFO] [stdout]   |                                         ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let orders = orders.get_all(None).await.unwrap();
[INFO] [stdout]   |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [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] 6 | let order_items = OrderItem::build(lemonsqueezy);
[INFO] [stdout]   |                                    ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/order_items.rs:51:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_order_items_rs_47_0() {
[INFO] [stdout]   |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let order_items = order_items.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/discount.rs - modules::discount::Discount::create (line 166) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/discount.rs:169:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let discount = Discount::build(lemonsqueezy);
[INFO] [stdout]   |                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/modules/discount.rs:184:38
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_discount_rs_166_0() {
[INFO] [stdout]    |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 21 | let discount = discount.create(data).await;
[INFO] [stdout]    |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/modules/discount.rs:180:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |      store: 1,
[INFO] [stdout]    |             ^ expected `Data<CreateDiscountRelationshipsStore>`, found integer
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Data<CreateDiscountRelationshipsStore>`
[INFO] [stdout]                 found type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/license_keys.rs - modules::license_keys::LicenseKey::get_all (line 78) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/license_keys.rs:81:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | let license_keys = LicenseKey::build(lemonsqueezy);
[INFO] [stdout]   |                                      ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/license_keys.rs:82:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_keys_rs_78_0() {
[INFO] [stdout]   |                                         ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let license_key = license_keys.get_all(None).await;
[INFO] [stdout]   |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::retrieve (line 36) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/license_key_instances.rs:40:56
[INFO] [stdout]   |
[INFO] [stdout] 7 | let license_key_instances = LicenseKeyInstances::build(lemonsqueezy);
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/license_key_instances.rs:41:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_license_key_instances_rs_36_0() {
[INFO] [stdout]   |                                         ------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let license_key_instance = license_key_instances.retrieve(1).await;
[INFO] [stdout]   |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::retrieve (line 71) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_invoice.rs:74:48
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscriptions = SubscriptionInvoice::build(lemonsqueezy);
[INFO] [stdout]   |                                                ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscription_invoice.rs:75:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_invoice_rs_71_0() {
[INFO] [stdout]   |                                         ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions = subscriptions.retrieve(1).await;
[INFO] [stdout]   |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/products.rs - modules::products::Product::get_all (line 73) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::product`
[INFO] [stdout]  --> src/modules/products.rs:75:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::product::Product;
[INFO] [stdout]   |                   ^^^^^^^ could not find `product` in `lemonsqueezy`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/products.rs:76:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | let products = Product::build(lemonsqueezy);
[INFO] [stdout]   |                               ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/products.rs:77:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_products_rs_73_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let product = products.get_all(None).await.unwrap();
[INFO] [stdout]   |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::cancel (line 226) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscriptions.rs:229:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscriptions = Subscriptions::build(lemonsqueezy);
[INFO] [stdout]   |                                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscriptions.rs:230:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscriptions_rs_226_0() {
[INFO] [stdout]   |                                         ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions = subscriptions.cancel(123).await.unwrap();
[INFO] [stdout]   |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::get_all (line 124) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscriptions.rs:127:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscriptions = Subscriptions::build(lemonsqueezy);
[INFO] [stdout]   |                                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscriptions.rs:128:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscriptions_rs_124_0() {
[INFO] [stdout]   |                                         ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions = subscriptions.get_all(None).await.unwrap();
[INFO] [stdout]   |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::current_usage (line 184) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_items.rs:187:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscription_items = SubscriptionItems::build(lemonsqueezy);
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscription_items.rs:188:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_items_rs_184_0() {
[INFO] [stdout]   |                                         ----------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscription_items = subscription_items.current_usage(1).await.unwrap();
[INFO] [stdout]   |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::get_all (line 86) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_items.rs:89:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscription_items = SubscriptionItems::build(lemonsqueezy);
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscription_items.rs:90:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_items_rs_86_0() {
[INFO] [stdout]   |                                         ---------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscription_items = subscription_items.get_all(None).await.unwrap();
[INFO] [stdout]   |                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/usage_records.rs - modules::usage_records::UsageRecords::retrieve (line 77) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/usage_records.rs:80:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let usage_records = UsageRecords::build(lemonsqueezy);
[INFO] [stdout]   |                                         ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/usage_records.rs:81:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_usage_records_rs_77_0() {
[INFO] [stdout]   |                                         ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let usage_record = usage_records.retrieve(1).await;
[INFO] [stdout]   |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::retrieve (line 57) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_items.rs:60:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscription_items = SubscriptionItems::build(lemonsqueezy);
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscription_items.rs:61:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_items_rs_57_0() {
[INFO] [stdout]   |                                         ---------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions_item = subscription_items.retrieve(1).await;
[INFO] [stdout]   |                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::update (line 155) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscription_items.rs:158:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscription_items = SubscriptionItems::build(lemonsqueezy);
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]  --> src/modules/subscription_items.rs:159:52
[INFO] [stdout]   |
[INFO] [stdout] 7 | let subscription_items = subscription_items.update(data).await.unwrap();
[INFO] [stdout]   |                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscription_items.rs:159:58
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscription_items_rs_155_0() {
[INFO] [stdout]   |                                         ----------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscription_items = subscription_items.update(data).await.unwrap();
[INFO] [stdout]   |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::retrieve (line 93) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscriptions.rs:96:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscriptions = Subscriptions::build(lemonsqueezy);
[INFO] [stdout]   |                                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscriptions.rs:97:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscriptions_rs_93_0() {
[INFO] [stdout]   |                                         ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions = subscriptions.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/usage_records.rs - modules::usage_records::UsageRecords::get_all (line 104) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/usage_records.rs:107:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let usage_records = UsageRecords::build(lemonsqueezy);
[INFO] [stdout]   |                                         ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/usage_records.rs:108:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_usage_records_rs_104_0() {
[INFO] [stdout]   |                                         ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let usage_records = usage_records.get_all(None).await;
[INFO] [stdout]   |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/webhook.rs - modules::webhook::Webhook::create (line 140) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/webhook.rs:145:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | let webhook = Webhook::build(lemonsqueezy);
[INFO] [stdout]   |                              ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/modules/webhook.rs:149:4
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_140_0() {
[INFO] [stdout]    |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | }).await;
[INFO] [stdout]    |    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::update (line 195) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/subscriptions.rs:198:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | let subscriptions = Subscriptions::build(lemonsqueezy);
[INFO] [stdout]   |                                          ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]  --> src/modules/subscriptions.rs:199:42
[INFO] [stdout]   |
[INFO] [stdout] 7 | let subscriptions = subscriptions.update(data).await.unwrap();
[INFO] [stdout]   |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/subscriptions.rs:199:48
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_subscriptions_rs_195_0() {
[INFO] [stdout]   |                                         ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let subscriptions = subscriptions.update(data).await.unwrap();
[INFO] [stdout]   |                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/variants.rs - modules::variants::Variant::retrieve (line 57) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::variant`
[INFO] [stdout]  --> src/modules/variants.rs:59:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::variant::Variant;
[INFO] [stdout]   |                   ^^^^^^^ could not find `variant` in `lemonsqueezy`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/variants.rs:60:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | let variants = Variant::build(lemonsqueezy);
[INFO] [stdout]   |                               ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/variants.rs:61:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_variants_rs_57_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let variant = variants.retrieve(123).await.unwrap();
[INFO] [stdout]   |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/user.rs - modules::user::User::retrieve (line 34) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/user.rs:37:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | let user = User::build(lemonsqueezy);
[INFO] [stdout]   |                        ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/user.rs:38:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_user_rs_34_0() {
[INFO] [stdout]   |                                         -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let user = user.retrieve().await.unwrap();
[INFO] [stdout]   |                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/usage_records.rs - modules::usage_records::UsageRecords::create (line 143) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/usage_records.rs:146:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let usage_records = UsageRecords::build(lemonsqueezy);
[INFO] [stdout]   |                                         ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `usage_record_data` in this scope
[INFO] [stdout]  --> src/modules/usage_records.rs:147:41
[INFO] [stdout]   |
[INFO] [stdout] 7 | let usage_record = usage_records.create(usage_record_data).await;
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `usage_records`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/usage_records.rs:147:60
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_usage_records_rs_143_0() {
[INFO] [stdout]   |                                         ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let usage_record = usage_records.create(usage_record_data).await;
[INFO] [stdout]   |                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/webhook.rs - modules::webhook::Webhook::delete (line 69) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/webhook.rs:73:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | let webhook = Webhook::build(lemonsqueezy);
[INFO] [stdout]   |                              ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/webhook.rs:74:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_69_0() {
[INFO] [stdout]   |                                         ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let webhook = webhook.delete(1).await;
[INFO] [stdout]   |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/variants.rs - modules::variants::Variant::get_all (line 82) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lemonsqueezy::variant`
[INFO] [stdout]  --> src/modules/variants.rs:84:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lemonsqueezy::variant::Variant;
[INFO] [stdout]   |                   ^^^^^^^ could not find `variant` in `lemonsqueezy`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/variants.rs:85:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | let variants = Variant::build(lemonsqueezy);
[INFO] [stdout]   |                               ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/variants.rs:86:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_variants_rs_82_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let variant = variants.get_all(None).await.unwrap();
[INFO] [stdout]   |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/webhook.rs - modules::webhook::Webhook::get_all (line 92) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/webhook.rs:96:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | let webhook = Webhook::build(lemonsqueezy);
[INFO] [stdout]   |                              ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/webhook.rs:97:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_92_0() {
[INFO] [stdout]   |                                         ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let webhook = webhook.get_all(None).await;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/webhook.rs - modules::webhook::Webhook::update (line 172) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/webhook.rs:176:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | let webhook = Webhook::build(lemonsqueezy);
[INFO] [stdout]   |                              ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]  --> src/modules/webhook.rs:177:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | let webhook = webhook.update(data).await;
[INFO] [stdout]   |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/webhook.rs:177:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_172_0() {
[INFO] [stdout]   |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let webhook = webhook.update(data).await;
[INFO] [stdout]   |                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules/webhook.rs - modules::webhook::Webhook::retrieve (line 42) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `lemonsqueezy`
[INFO] [stdout]  --> src/modules/webhook.rs:46:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | let webhook = Webhook::build(lemonsqueezy);
[INFO] [stdout]   |                              ^^^^^^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/modules/webhook.rs:47:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_webhook_rs_42_0() {
[INFO] [stdout]   |                                         ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let webhook = webhook.retrieve(1).await;
[INFO] [stdout]   |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - LemonSqueezy::delete (line 118)
[INFO] [stdout]     src/lib.rs - LemonSqueezy::get (line 49)
[INFO] [stdout]     src/lib.rs - LemonSqueezy::patch (line 151)
[INFO] [stdout]     src/lib.rs - LemonSqueezy::post (line 83)
[INFO] [stdout]     src/modules/checkout.rs - modules::checkout::Checkout::create (line 90)
[INFO] [stdout]     src/modules/checkout.rs - modules::checkout::Checkout::get_all (line 55)
[INFO] [stdout]     src/modules/checkout.rs - modules::checkout::Checkout::retrieve (line 29)
[INFO] [stdout]     src/modules/customer.rs - modules::customer::Customer::get_all (line 77)
[INFO] [stdout]     src/modules/customer.rs - modules::customer::Customer::retrieve (line 49)
[INFO] [stdout]     src/modules/discount.rs - modules::discount::Discount::create (line 166)
[INFO] [stdout]     src/modules/discount.rs - modules::discount::Discount::delete (line 140)
[INFO] [stdout]     src/modules/discount.rs - modules::discount::Discount::get_all (line 106)
[INFO] [stdout]     src/modules/discount.rs - modules::discount::Discount::retrieve (line 80)
[INFO] [stdout]     src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::get_all (line 71)
[INFO] [stdout]     src/modules/discount_redemptions.rs - modules::discount_redemptions::DiscountRedemptions::retrieve (line 41)
[INFO] [stdout]     src/modules/files.rs - modules::files::Files::get_all (line 73)
[INFO] [stdout]     src/modules/files.rs - modules::files::Files::retrieve (line 45)
[INFO] [stdout]     src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::get_all (line 66)
[INFO] [stdout]     src/modules/license_key_instances.rs - modules::license_key_instances::LicenseKeyInstances::retrieve (line 36)
[INFO] [stdout]     src/modules/license_keys.rs - modules::license_keys::LicenseKey::get_all (line 78)
[INFO] [stdout]     src/modules/license_keys.rs - modules::license_keys::LicenseKey::retrieve (line 52)
[INFO] [stdout]     src/modules/order_items.rs - modules::order_items::OrderItem::get_all (line 72)
[INFO] [stdout]     src/modules/order_items.rs - modules::order_items::OrderItem::retrieve (line 47)
[INFO] [stdout]     src/modules/orders.rs - modules::orders::Order::get_all (line 106)
[INFO] [stdout]     src/modules/orders.rs - modules::orders::Order::retrieve (line 81)
[INFO] [stdout]     src/modules/products.rs - modules::products::Product::get_all (line 73)
[INFO] [stdout]     src/modules/products.rs - modules::products::Product::retrieve (line 48)
[INFO] [stdout]     src/modules/store.rs - modules::store::Store::get_all (line 75)
[INFO] [stdout]     src/modules/store.rs - modules::store::Store::retrieve (line 50)
[INFO] [stdout]     src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::get_all (line 102)
[INFO] [stdout]     src/modules/subscription_invoice.rs - modules::subscription_invoice::SubscriptionInvoice::retrieve (line 71)
[INFO] [stdout]     src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::current_usage (line 184)
[INFO] [stdout]     src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::get_all (line 86)
[INFO] [stdout]     src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::retrieve (line 57)
[INFO] [stdout]     src/modules/subscription_items.rs - modules::subscription_items::SubscriptionItems::update (line 155)
[INFO] [stdout]     src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::cancel (line 226)
[INFO] [stdout]     src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::get_all (line 124)
[INFO] [stdout]     src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::retrieve (line 93)
[INFO] [stdout]     src/modules/subscriptions.rs - modules::subscriptions::Subscriptions::update (line 195)
[INFO] [stdout]     src/modules/usage_records.rs - modules::usage_records::UsageRecords::create (line 143)
[INFO] [stdout]     src/modules/usage_records.rs - modules::usage_records::UsageRecords::get_all (line 104)
[INFO] [stdout]     src/modules/usage_records.rs - modules::usage_records::UsageRecords::retrieve (line 77)
[INFO] [stdout]     src/modules/user.rs - modules::user::User::retrieve (line 34)
[INFO] [stdout]     src/modules/variants.rs - modules::variants::Variant::get_all (line 82)
[INFO] [stdout]     src/modules/variants.rs - modules::variants::Variant::retrieve (line 57)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::create (line 140)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::delete (line 69)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::get_all (line 92)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::retrieve (line 42)
[INFO] [stdout]     src/modules/webhook.rs - modules::webhook::Webhook::update (line 172)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 50 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ccd970a9ed77b2607cd1be833b0716683955f6b5c4f39f0740b93603ddca56a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ccd970a9ed77b2607cd1be833b0716683955f6b5c4f39f0740b93603ddca56a0", kill_on_drop: false }`
[INFO] [stdout] ccd970a9ed77b2607cd1be833b0716683955f6b5c4f39f0740b93603ddca56a0
