[INFO] fetching crate stripe_api 0.5.9... [INFO] checking stripe_api-0.5.9 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate stripe_api 0.5.9 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate stripe_api 0.5.9 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stripe_api 0.5.9 [INFO] finished tweaking crates.io crate stripe_api 0.5.9 [INFO] tweaked toml for crates.io crate stripe_api 0.5.9 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate stripe_api 0.5.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-io v0.1.12 [INFO] [stderr] Downloaded smallvec v0.6.9 [INFO] [stderr] Downloaded num_cpus v1.10.0 [INFO] [stderr] Downloaded rand_core v0.4.0 [INFO] [stderr] Downloaded tokio-codec v0.1.1 [INFO] [stderr] Downloaded tokio-udp v0.1.3 [INFO] [stderr] Downloaded openssl v0.10.23 [INFO] [stderr] Downloaded miniz_oxide v0.2.1 [INFO] [stderr] Downloaded regex-syntax v0.6.6 [INFO] [stderr] Downloaded adler32 v1.0.3 [INFO] [stderr] Downloaded tokio-threadpool v0.1.14 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.2 [INFO] [stderr] Downloaded regex v1.1.6 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.1 [INFO] [stderr] Downloaded data-encoding v2.1.2 [INFO] [stderr] Downloaded openssl-sys v0.9.47 [INFO] [stderr] Downloaded flate2 v1.0.7 [INFO] [stderr] Downloaded indexmap v1.0.2 [INFO] [stderr] Downloaded want v0.0.6 [INFO] [stderr] Downloaded httparse v1.3.3 [INFO] [stderr] Downloaded publicsuffix v1.5.2 [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] [stderr] Downloaded tokio-fs v0.1.6 [INFO] [stderr] Downloaded string v0.1.3 [INFO] [stderr] Downloaded tokio v0.1.21 [INFO] [stderr] Downloaded mime v0.3.13 [INFO] [stderr] Downloaded tempfile v3.0.8 [INFO] [stderr] Downloaded vcpkg v0.2.6 [INFO] [stderr] Downloaded serde_qs v0.4.6 [INFO] [stderr] Downloaded tokio-trace-core v0.2.0 [INFO] [stderr] Downloaded mime_guess v2.0.0-alpha.6 [INFO] [stderr] Downloaded reqwest v0.9.17 [INFO] [stderr] Downloaded nodrop v0.1.13 [INFO] [stderr] Downloaded hyper v0.12.29 [INFO] [stderr] Downloaded http v0.1.17 [INFO] [stderr] Downloaded tokio-reactor v0.1.9 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded schannel v0.1.15 [INFO] [stderr] Downloaded syn v0.15.34 [INFO] [stderr] Downloaded tokio-current-thread v0.1.6 [INFO] [stderr] Downloaded unicase v2.4.0 [INFO] [stderr] Downloaded tokio-timer v0.2.11 [INFO] [stderr] Downloaded byteorder v1.3.1 [INFO] [stderr] Downloaded tokio-tcp v0.1.3 [INFO] [stderr] Downloaded arrayvec v0.4.10 [INFO] [stderr] Downloaded crossbeam-utils v0.6.5 [INFO] [stderr] Downloaded futures v0.1.27 [INFO] [stderr] Downloaded tokio-sync v0.1.5 [INFO] [stderr] Downloaded tokio-uds v0.2.5 [INFO] [stderr] Downloaded tokio-executor v0.1.7 [INFO] [stderr] Downloaded h2 v0.1.21 [INFO] [stderr] Downloaded backtrace v0.3.26 [INFO] [stderr] Downloaded encoding_rs v0.8.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1676d0b2e58231b3127f402cf38a49a97b5da4f9a7095085dc4bd910465be10 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b1676d0b2e58231b3127f402cf38a49a97b5da4f9a7095085dc4bd910465be10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1676d0b2e58231b3127f402cf38a49a97b5da4f9a7095085dc4bd910465be10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1676d0b2e58231b3127f402cf38a49a97b5da4f9a7095085dc4bd910465be10", kill_on_drop: false }` [INFO] [stdout] b1676d0b2e58231b3127f402cf38a49a97b5da4f9a7095085dc4bd910465be10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4473a0316d011b16fa774e615896eed135c94cb743d0519830ab452fea2ea70d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4473a0316d011b16fa774e615896eed135c94cb743d0519830ab452fea2ea70d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Checking futures v0.1.27 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Checking data-encoding v2.1.2 [INFO] [stderr] Compiling backtrace v0.3.26 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Checking tokio-trace-core v0.2.0 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking miniz_oxide v0.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking tokio-executor v0.1.7 [INFO] [stderr] Checking tokio-sync v0.1.5 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling openssl-sys v0.9.47 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking tokio v0.1.21 [INFO] [stderr] Checking publicsuffix v1.5.2 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.21 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking hyper v0.12.29 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking serde_qs v0.4.6 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking reqwest v0.9.17 [INFO] [stderr] Checking stripe_api v0.5.9 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/countryspec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::connect::country::CountrySpecs; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::core::events::Event; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/countryspec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/fileupload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::core::file::{File, FileLinkDataParam, FilePurpose}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/plans.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::billing::plans::{Interval, Plans, PlansParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/card.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::core::customer::{Customer, CustomerParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/events.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stripe_api` [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/countryspec.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CountrySpecs` [INFO] [stdout] --> examples/countryspec.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | let countries = CountrySpecs::retrieve(&client, "us")?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::connect::country::CountrySpecs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/plans.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::resources::common::currency::Currency; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/plans.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libstripe::resources::core::product::ProductsParam; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/card.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::resources::paymentmethods::cards::Card; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/events.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/card.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libstripe::resources::paymentmethods::source::{PaymentParam, PaymentSourceParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/sku.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::common::currency::Currency; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/sku.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::resources::core::product::{ProductType, Products, ProductsParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/sku.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libstripe::resources::orders::sku::{Inventory, InventoryType, Sku, SkuParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/balance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::core::balance::Balance; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/subscriptions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::billing::subscriptions::{ItemParam, Subscription, SubscriptionParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/subscriptions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::resources::core::customer::{Customer, CustomerParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/subscriptions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libstripe::resources::paymentmethods::source::PaymentSourceParam; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/coupons.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::billing::coupons::{Coupon, CouponParam, Duration}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/transfer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::common::currency::Currency; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/transfer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::resources::connect::transfers::{Transfer, TransferParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/product.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::core::product::{ProductType, Products, ProductsParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/charge.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::common::currency::Currency; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/charge.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::resources::core::charges::{Charge, ChargeParams}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/charge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libstripe::resources::paymentmethods::source::PaymentSourceParam; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/events.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let event = Event::retrieve(&client, &event_id)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::events::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/bank.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::core::customer::{Customer, CustomerParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/bank.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::resources::paymentmethods::bank::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/bank.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libstripe::resources::paymentmethods::source::{PaymentParam, PaymentSourceParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/token.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::core::tokens::{TokenParam, Tokens}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::resources::paymentmethods::cards::CardParam; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/customer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libstripe::resources::core::customer::{Customer, CustomerParam}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/transfer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/transfer.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currency` [INFO] [stdout] --> examples/transfer.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | transfer_param.currency = Some(Currency::USD); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/coupons.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/coupons.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransferParam` [INFO] [stdout] --> examples/transfer.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | let mut transfer_param = TransferParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::connect::transfers::TransferParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transfer` [INFO] [stdout] --> examples/transfer.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | let transfer = Transfer::create(&client, transfer_param)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::connect::transfers::Transfer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/plans.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/plans.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> examples/coupons.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | coupon_param.duration = Some(Duration::Repeating); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CouponParam` [INFO] [stdout] --> examples/coupons.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | let mut coupon_param = CouponParam::default(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::billing::coupons::CouponParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coupon` [INFO] [stdout] --> examples/coupons.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let coupon = Coupon::create(&client, coupon_param)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::billing::coupons::Coupon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/sku.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/sku.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/subscriptions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/subscriptions.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/product.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/product.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProductType` [INFO] [stdout] --> examples/sku.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | products_param.product_type = Some(ProductType::Good); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProductType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currency` [INFO] [stdout] --> examples/sku.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | sku_param.currency = Some(Currency::USD); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InventoryType` [INFO] [stdout] --> examples/sku.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | inv.inventory_type = Some(InventoryType::Finite); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `InventoryType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProductsParam` [INFO] [stdout] --> examples/sku.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let mut products_param = ProductsParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::product::ProductsParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Products` [INFO] [stdout] --> examples/sku.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let product = Products::create(&client, products_param)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::product::Products; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SkuParam` [INFO] [stdout] --> examples/sku.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let mut sku_param = SkuParam::default(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::orders::sku::SkuParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Inventory` [INFO] [stdout] --> examples/sku.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let mut inv = Inventory::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::orders::sku::Inventory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sku` [INFO] [stdout] --> examples/sku.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | let sku = Sku::create(&client, sku_param)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::orders::sku::Sku; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/bank.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/bank.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interval` [INFO] [stdout] --> examples/plans.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | plans_param.interval = Some(Interval::Month); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/customer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/customer.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlansParam` [INFO] [stdout] --> examples/plans.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let mut plans_param = PlansParam::default(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::billing::plans::PlansParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currency` [INFO] [stdout] --> examples/plans.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | plans_param.currency = Some(Currency::default()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::common::currency::Currency; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProductsParam` [INFO] [stdout] --> examples/plans.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | let mut product_param = ProductsParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::product::ProductsParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Plans` [INFO] [stdout] --> examples/plans.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let plan = Plans::create(&client, plans_param)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::billing::plans::Plans; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/fileupload.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/fileupload.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountHolderType` [INFO] [stdout] --> examples/bank.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | bank_param.account_holder_type = Some(AccountHolderType::Individual); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AccountHolderType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomerParam` [INFO] [stdout] --> examples/bank.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | let mut customer_param = CustomerParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::customer::CustomerParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Customer` [INFO] [stdout] --> examples/bank.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let customer = Customer::create(&client, customer_param)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::customer::Customer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountParam` [INFO] [stdout] --> examples/bank.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | let mut bank_param = BankAccountParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::paymentmethods::bank::BankAccountParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PaymentParam` [INFO] [stdout] --> examples/bank.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let mut payment_param = PaymentParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::paymentmethods::source::PaymentParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PaymentSourceParam` [INFO] [stdout] --> examples/bank.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | payment_param.source = Some(PaymentSourceParam::BankAccount(bank_param)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::paymentmethods::source::PaymentSourceParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccount` [INFO] [stdout] --> examples/bank.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let bank = BankAccount::create(&client, &customer.id, payment_param)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::paymentmethods::bank::BankAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilePurpose` [INFO] [stdout] --> examples/fileupload.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | FilePurpose::DisputeEvidence, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FilePurpose` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> examples/fileupload.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let fileupload = File::create( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::env::os_imp::path::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::env::os_imp::path::fs::fs_imp::File; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::file::File; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileLinkDataParam` [INFO] [stdout] --> examples/fileupload.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | FileLinkDataParam::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::file::FileLinkDataParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProductType` [INFO] [stdout] --> examples/product.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | products_param.product_type = Some(ProductType::Service); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProductType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomerParam` [INFO] [stdout] --> examples/customer.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | let mut param = CustomerParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::customer::CustomerParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/token.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProductsParam` [INFO] [stdout] --> examples/product.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let mut products_param = ProductsParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::product::ProductsParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Products` [INFO] [stdout] --> examples/product.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let product = Products::create(&client, products_param)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::product::Products; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Customer` [INFO] [stdout] --> examples/customer.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let customer = Customer::create(&client.clone(), param).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::customer::Customer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Customer` [INFO] [stdout] --> examples/customer.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let deleted = Customer::delete(&client, &customer.id)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::customer::Customer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomerParam` [INFO] [stdout] --> examples/subscriptions.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let mut customer_param = CustomerParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::customer::CustomerParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PaymentSourceParam` [INFO] [stdout] --> examples/subscriptions.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | customer_param.source = Some(PaymentSourceParam::Token("tok_visa")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::paymentmethods::source::PaymentSourceParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Customer` [INFO] [stdout] --> examples/subscriptions.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let customer = Customer::create(&client, customer_param)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::customer::Customer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubscriptionParam` [INFO] [stdout] --> examples/subscriptions.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | let mut subscription_param = SubscriptionParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::billing::subscriptions::SubscriptionParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemParam` [INFO] [stdout] --> examples/subscriptions.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut items = ItemParam::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::billing::subscriptions::ItemParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Subscription` [INFO] [stdout] --> examples/subscriptions.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | let subscription = Subscription::create(&client, subscription_param)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::billing::subscriptions::Subscription; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/card.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/card.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/balance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/balance.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libstripe` [INFO] [stdout] --> examples/charge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libstripe::Client; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libstripe` [INFO] [stdout] --> examples/charge.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() -> libstripe::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `libstripe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomerParam` [INFO] [stdout] --> examples/card.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let mut customer_param = CustomerParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::customer::CustomerParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Customer` [INFO] [stdout] --> examples/card.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let customer = Customer::create(&client, customer_param)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::customer::Customer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PaymentParam` [INFO] [stdout] --> examples/card.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | let mut payment_param = PaymentParam::default(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::paymentmethods::source::PaymentParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PaymentSourceParam` [INFO] [stdout] --> examples/card.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | payment_param.source = Some(PaymentSourceParam::Token("tok_visa")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::paymentmethods::source::PaymentSourceParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Card` [INFO] [stdout] --> examples/card.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let card = Card::create(&client, &customer.id, payment_param)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::paymentmethods::cards::Card; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balance` [INFO] [stdout] --> examples/balance.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let balance = Balance::retrieve(&client)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::balance::Balance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenParam` [INFO] [stdout] --> examples/token.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | let mut token_param = TokenParam::default(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::tokens::TokenParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CardParam` [INFO] [stdout] --> examples/token.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | let mut card_param = CardParam::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::paymentmethods::cards::CardParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tokens` [INFO] [stdout] --> examples/token.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let token = Tokens::create(&client, token_param)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::tokens::Tokens; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currency` [INFO] [stdout] --> examples/charge.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | charge_param.currency = Some(Currency::USD); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChargeParams` [INFO] [stdout] --> examples/charge.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let mut charge_param = ChargeParams::default(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::charges::ChargeParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PaymentSourceParam` [INFO] [stdout] --> examples/charge.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | charge_param.source = Some(PaymentSourceParam::Token("tok_visa")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::paymentmethods::source::PaymentSourceParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Charge` [INFO] [stdout] --> examples/charge.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let charge = Charge::create(&client, charge_param)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use stripe_api::resources::core::charges::Charge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4473a0316d011b16fa774e615896eed135c94cb743d0519830ab452fea2ea70d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4473a0316d011b16fa774e615896eed135c94cb743d0519830ab452fea2ea70d", kill_on_drop: false }` [INFO] [stdout] 4473a0316d011b16fa774e615896eed135c94cb743d0519830ab452fea2ea70d