[INFO] fetching crate culqi 0.2.1... [INFO] extracting crate culqi 0.2.1 into work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/culqi/0.2.1 [INFO] extracting crate culqi 0.2.1 into work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/culqi/0.2.1 [INFO] validating manifest of culqi-0.2.1 on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of culqi-0.2.1 on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing culqi-0.2.1 [INFO] finished frobbing culqi-0.2.1 [INFO] frobbed toml for culqi-0.2.1 written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/culqi/0.2.1/Cargo.toml [INFO] started frobbing culqi-0.2.1 [INFO] finished frobbing culqi-0.2.1 [INFO] frobbed toml for culqi-0.2.1 written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/culqi/0.2.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing culqi-0.2.1 against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/culqi/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] a4f95178e89143bd18b7296b62a415d24ba523c4dcfe1c328efeada811fcf1f1 [INFO] running `"docker" "start" "-a" "a4f95178e89143bd18b7296b62a415d24ba523c4dcfe1c328efeada811fcf1f1"` [INFO] [stderr] Compiling serde_qs v0.0.2 [INFO] [stderr] Compiling reqwest v0.5.2 [INFO] [stderr] Compiling culqi v0.2.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.86s [INFO] running `"docker" "inspect" "a4f95178e89143bd18b7296b62a415d24ba523c4dcfe1c328efeada811fcf1f1"` [INFO] running `"docker" "rm" "-f" "a4f95178e89143bd18b7296b62a415d24ba523c4dcfe1c328efeada811fcf1f1"` [INFO] [stdout] a4f95178e89143bd18b7296b62a415d24ba523c4dcfe1c328efeada811fcf1f1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/culqi/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 94ef19146171be28c1b270c45abc8dafb40df14fff609e693135cdd058986aa9 [INFO] running `"docker" "start" "-a" "94ef19146171be28c1b270c45abc8dafb40df14fff609e693135cdd058986aa9"` [INFO] [stderr] Compiling culqi v0.2.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `"docker" "inspect" "94ef19146171be28c1b270c45abc8dafb40df14fff609e693135cdd058986aa9"` [INFO] running `"docker" "rm" "-f" "94ef19146171be28c1b270c45abc8dafb40df14fff609e693135cdd058986aa9"` [INFO] [stdout] 94ef19146171be28c1b270c45abc8dafb40df14fff609e693135cdd058986aa9 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/culqi/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] 468287eeff8394d03cf73ea2213e924be82548dddd4c181cc9d67cec9d06422c [INFO] running `"docker" "start" "-a" "468287eeff8394d03cf73ea2213e924be82548dddd4c181cc9d67cec9d06422c"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/crater/target/debug/deps/culqi-88ad186b78fe9684 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests culqi [INFO] [stdout] [INFO] [stdout] running 68 tests [INFO] [stdout] test src/culqi/card.rs - culqi::card::Card (line 37) ... ok [INFO] [stdout] test src/culqi/card.rs - culqi::card::Card (line 41) ... FAILED [INFO] [stdout] test src/culqi/card.rs - culqi::card::Card (line 30) ... FAILED [INFO] [stdout] test src/culqi/card.rs - culqi::card::Card (line 22) ... FAILED [INFO] [stdout] test src/culqi/card.rs - culqi::card::Card (line 26) ... FAILED [INFO] [stdout] test src/culqi/card.rs - culqi::card::Card (line 53) ... FAILED [INFO] [stdout] test src/culqi/card.rs - culqi::card::Card (line 14) ... ok [INFO] [stdout] test src/culqi/antifrauddetails.rs - culqi::antifrauddetails::AntifraudDetails (line 13) ... ok [INFO] [stdout] test src/culqi/card.rs - culqi::card::Card (line 18) ... ok [INFO] [stdout] test src/culqi/card.rs - culqi::card::Card (line 59) ... FAILED [INFO] [stdout] test src/culqi/charge.rs - culqi::charge::Charge (line 26) ... FAILED [INFO] [stdout] test src/culqi/charge.rs - culqi::charge::Charge (line 22) ... FAILED [INFO] [stdout] test src/culqi/charge.rs - culqi::charge::Charge (line 40) ... ok [INFO] [stdout] test src/culqi/charge.rs - culqi::charge::Charge (line 14) ... ok [INFO] [stdout] test src/culqi/charge.rs - culqi::charge::Charge (line 30) ... FAILED [INFO] [stdout] test src/culqi/charge.rs - culqi::charge::Charge (line 44) ... FAILED [INFO] [stdout] test src/culqi/charge.rs - culqi::charge::Charge (line 34) ... FAILED [INFO] [stdout] test src/culqi/charge.rs - culqi::charge::Charge (line 80) ... FAILED [INFO] [stdout] test src/culqi/charge.rs - culqi::charge::Charge (line 86) ... FAILED [INFO] [stdout] test src/culqi/charge.rs - culqi::charge::Charge (line 18) ... ok [INFO] [stdout] test src/culqi/customer.rs - culqi::customer::Customer (line 37) ... ok [INFO] [stdout] test src/culqi/customer.rs - culqi::customer::Customer (line 22) ... FAILED [INFO] [stdout] test src/culqi/customer.rs - culqi::customer::Customer (line 26) ... FAILED [INFO] [stdout] test src/culqi/customer.rs - culqi::customer::Customer (line 30) ... FAILED [INFO] [stdout] test src/culqi/customer.rs - culqi::customer::Customer (line 14) ... ok [INFO] [stdout] test src/culqi/customer.rs - culqi::customer::Customer (line 41) ... FAILED [INFO] [stdout] test src/culqi/customer.rs - culqi::customer::Customer (line 53) ... FAILED [INFO] [stdout] test src/culqi/plan.rs - culqi::plan::Plan (line 37) ... ok [INFO] [stdout] test src/culqi/plan.rs - culqi::plan::Plan (line 26) ... FAILED [INFO] [stdout] test src/culqi/customer.rs - culqi::customer::Customer (line 18) ... ok [INFO] [stdout] test src/culqi/plan.rs - culqi::plan::Plan (line 22) ... FAILED [INFO] [stdout] test src/culqi/plan.rs - culqi::plan::Plan (line 30) ... FAILED [INFO] [stdout] test src/culqi/plan.rs - culqi::plan::Plan (line 18) ... FAILED [INFO] [stdout] test src/culqi/plan.rs - culqi::plan::Plan (line 52) ... FAILED [INFO] [stdout] test src/culqi/plan.rs - culqi::plan::Plan (line 14) ... ok [INFO] [stdout] test src/culqi/plan.rs - culqi::plan::Plan (line 41) ... FAILED [INFO] [stdout] test src/culqi/refund.rs - culqi::refund::Refund (line 33) ... ok [INFO] [stdout] test src/culqi/plan.rs - culqi::plan::Plan (line 58) ... FAILED [INFO] [stdout] test src/culqi/refund.rs - culqi::refund::Refund (line 37) ... FAILED [INFO] [stdout] test src/culqi/refund.rs - culqi::refund::Refund (line 26) ... FAILED [INFO] [stdout] test src/culqi/refund.rs - culqi::refund::Refund (line 22) ... FAILED [INFO] [stdout] test src/culqi/refund.rs - culqi::refund::Refund (line 45) ... FAILED [INFO] [stdout] test src/culqi/refund.rs - culqi::refund::Refund (line 51) ... FAILED [INFO] [stdout] test src/culqi/subscription.rs - culqi::subscription::Subscription (line 37) ... ok [INFO] [stdout] test src/culqi/refund.rs - culqi::refund::Refund (line 18) ... ok [INFO] [stdout] test src/culqi/subscription.rs - culqi::subscription::Subscription (line 26) ... FAILED [INFO] [stdout] test src/culqi/refund.rs - culqi::refund::Refund (line 14) ... ok [INFO] [stdout] test src/culqi/subscription.rs - culqi::subscription::Subscription (line 30) ... FAILED [INFO] [stdout] test src/culqi/subscription.rs - culqi::subscription::Subscription (line 22) ... FAILED [INFO] [stdout] test src/culqi/subscription.rs - culqi::subscription::Subscription (line 41) ... FAILED [INFO] [stdout] test src/culqi/subscription.rs - culqi::subscription::Subscription (line 14) ... ok [INFO] [stdout] test src/culqi/subscription.rs - culqi::subscription::Subscription (line 53) ... FAILED [INFO] [stdout] test src/culqi/token.rs - culqi::token::Token (line 33) ... ok [INFO] [stdout] test src/culqi/subscription.rs - culqi::subscription::Subscription (line 18) ... ok [INFO] [stdout] test src/culqi/subscription.rs - culqi::subscription::Subscription (line 59) ... FAILED [INFO] [stdout] test src/culqi/token.rs - culqi::token::Token (line 22) ... FAILED [INFO] [stdout] test src/culqi/token.rs - culqi::token::Token (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - (line 25) ... ok [INFO] [stdout] test src/culqi/token.rs - culqi::token::Token (line 49) ... FAILED [INFO] [stdout] test src/culqi/token.rs - culqi::token::Token (line 18) ... ok [INFO] [stdout] test src/culqi/token.rs - culqi::token::Token (line 14) ... ok [INFO] [stdout] test src/culqi/token.rs - culqi::token::Token (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... FAILED [INFO] [stdout] test src/culqi/token.rs - culqi::token::Token (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... ok [INFO] [stdout] test src/lib.rs - (line 7) ... FAILED [INFO] [stdout] test src/lib.rs - (line 42) ... FAILED [INFO] [stdout] test src/lib.rs - (line 36) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/culqi/card.rs - culqi::card::Card (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/culqi/card.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 4 | card_filter = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/culqi/card.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 3 | let mut card_filter: HashMap; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/card.rs - culqi::card::Card (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/card.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 4 | let delete_card = culqi::Card::delete(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/card.rs - culqi::card::Card (line 22) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/card.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 4 | let create_card = culqi::Card::create(&client, &new_card); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_card` in this scope [INFO] [stdout] --> src/culqi/card.rs:23:49 [INFO] [stdout] | [INFO] [stdout] 4 | let create_card = culqi::Card::create(&client, &new_card); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/card.rs - culqi::card::Card (line 26) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/card.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 4 | let get_card = culqi::Card::retrieve(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/card.rs - culqi::card::Card (line 53) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `card_filter` in this scope [INFO] [stdout] --> src/culqi/card.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 3 | card_filter.insert("creation_date".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `card_filter` in this scope [INFO] [stdout] --> src/culqi/card.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 4 | card_filter.insert("creation_date_from".to_string(), "1479600000".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `card_filter` in this scope [INFO] [stdout] --> src/culqi/card.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 5 | card_filter.insert("creation_date_to".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/card.rs - culqi::card::Card (line 59) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/card.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 4 | let all_cards = culqi::Card::all(&client, Some(card_filter), None, None, None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `card_filter` in this scope [INFO] [stdout] --> src/culqi/card.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 4 | let all_cards = culqi::Card::all(&client, Some(card_filter), None, None, None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/charge.rs - culqi::charge::Charge (line 26) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/charge.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 4 | let create_charge = culqi::Charge::create(&client, &new_charge); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_charge` in this scope [INFO] [stdout] --> src/culqi/charge.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 4 | let create_charge = culqi::Charge::create(&client, &new_charge); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/charge.rs - culqi::charge::Charge (line 22) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `charge` in this scope [INFO] [stdout] --> src/culqi/charge.rs:23:67 [INFO] [stdout] | [INFO] [stdout] 4 | let new_charge = culqi::Charge::new("3500", "PEN", "will@me.com", charge.installments, None, Some(antifraud_details), "{TOKEN}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `antifraud_details` in this scope [INFO] [stdout] --> src/culqi/charge.rs:23:99 [INFO] [stdout] | [INFO] [stdout] 4 | let new_charge = culqi::Charge::new("3500", "PEN", "will@me.com", charge.installments, None, Some(antifraud_details), "{TOKEN}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/charge.rs - culqi::charge::Charge (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/charge.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 4 | let get_charge = culqi::Charge::retrieve(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/charge.rs - culqi::charge::Charge (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/culqi/charge.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 4 | charge_filter = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/culqi/charge.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 3 | let mut charge_filter: HashMap; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/charge.rs - culqi::charge::Charge (line 34) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/charge.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 4 | let capture_charge = culqi::Charge::capture(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/charge.rs - culqi::charge::Charge (line 80) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `charge_filter` in this scope [INFO] [stdout] --> src/culqi/charge.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 3 | charge_filter.insert("creation_date".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `charge_filter` in this scope [INFO] [stdout] --> src/culqi/charge.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 4 | charge_filter.insert("creation_date_from".to_string(), "1479600000".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `charge_filter` in this scope [INFO] [stdout] --> src/culqi/charge.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 5 | charge_filter.insert("creation_date_to".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/charge.rs - culqi::charge::Charge (line 86) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/charge.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 4 | let all_charges = culqi::Charge::all(&client, Some(charge_filter), None, None, None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `charge_filter` in this scope [INFO] [stdout] --> src/culqi/charge.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 4 | let all_charges = culqi::Charge::all(&client, Some(charge_filter), None, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/customer.rs - culqi::customer::Customer (line 22) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/customer.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 4 | let create_customer = culqi::Customer::create(&client, &new_customer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_customer` in this scope [INFO] [stdout] --> src/culqi/customer.rs:23:57 [INFO] [stdout] | [INFO] [stdout] 4 | let create_customer = culqi::Customer::create(&client, &new_customer); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/customer.rs - culqi::customer::Customer (line 26) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/customer.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 4 | let get_customer = culqi::Customer::retrieve(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/customer.rs - culqi::customer::Customer (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/customer.rs:31:48 [INFO] [stdout] | [INFO] [stdout] 4 | let delete_customer = culqi::Customer::delete(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/customer.rs - culqi::customer::Customer (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/culqi/customer.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 4 | customer_filter = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/culqi/customer.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 3 | let mut customer_filter: HashMap; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/customer.rs - culqi::customer::Customer (line 53) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/customer.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 4 | let all_customers = culqi::Customer::all(&client, Some(customer_filter), None, None, None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `customer_filter` in this scope [INFO] [stdout] --> src/culqi/customer.rs:54:56 [INFO] [stdout] | [INFO] [stdout] 4 | let all_customers = culqi::Customer::all(&client, Some(customer_filter), None, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/plan.rs - culqi::plan::Plan (line 26) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/plan.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 4 | let get_plan = culqi::Plan::retrieve(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/plan.rs - culqi::plan::Plan (line 22) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/plan.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 4 | let create_plan = culqi::Plan::create(&client, &new_plan); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_plan` in this scope [INFO] [stdout] --> src/culqi/plan.rs:23:49 [INFO] [stdout] | [INFO] [stdout] 4 | let create_plan = culqi::Plan::create(&client, &new_plan); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/plan.rs - culqi::plan::Plan (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/plan.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 4 | let delete_plan = culqi::Plan::delete(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/plan.rs - culqi::plan::Plan (line 18) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/culqi/plan.rs:19:78 [INFO] [stdout] | [INFO] [stdout] 4 | let new_plan = culqi::Plan::new("Hooli Subscription",1000,"PEN","meses",3,15,2,None); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::option::Option`, found integer [INFO] [stdout] | help: try using a variant of the expected type: `Some(2)` [INFO] [stdout] | [INFO] [stdout] = note: expected type `std::option::Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/plan.rs - culqi::plan::Plan (line 52) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `plan_filter` in this scope [INFO] [stdout] --> src/culqi/plan.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 3 | plan_filter.insert("creation_date".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `plan_filter` in this scope [INFO] [stdout] --> src/culqi/plan.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 4 | plan_filter.insert("creation_date_from".to_string(), "1479600000".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `plan_filter` in this scope [INFO] [stdout] --> src/culqi/plan.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 5 | plan_filter.insert("creation_date_to".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/plan.rs - culqi::plan::Plan (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/culqi/plan.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 4 | plan_filter = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/culqi/plan.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 3 | let mut plan_filter: HashMap; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/plan.rs - culqi::plan::Plan (line 58) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/plan.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 4 | let all_plans = culqi::Plan::all(&client, Some(plan_filter), None, None, None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `plan_filter` in this scope [INFO] [stdout] --> src/culqi/plan.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 4 | let all_plans = culqi::Plan::all(&client, Some(plan_filter), None, None, None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/refund.rs - culqi::refund::Refund (line 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/culqi/refund.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 4 | reason_filter = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/culqi/refund.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 3 | let mut reason_filter: HashMap; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/refund.rs - culqi::refund::Refund (line 26) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/refund.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 4 | let get_refund = culqi::Refund::retrieve(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/refund.rs - culqi::refund::Refund (line 22) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/refund.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 4 | let create_refund = culqi::Refund::create(&client, &new_refund); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_refund` in this scope [INFO] [stdout] --> src/culqi/refund.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 4 | let create_refund = culqi::Refund::create(&client, &new_refund); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/refund.rs - culqi::refund::Refund (line 45) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `reason_filter` in this scope [INFO] [stdout] --> src/culqi/refund.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 3 | reason_filter.insert("creation_date".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reason_filter` in this scope [INFO] [stdout] --> src/culqi/refund.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 4 | reason_filter.insert("creation_date_from".to_string(), "1479600000".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reason_filter` in this scope [INFO] [stdout] --> src/culqi/refund.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 5 | reason_filter.insert("creation_date_to".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/refund.rs - culqi::refund::Refund (line 51) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/refund.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 4 | let all_refunds = culqi::Refund::all(&client, Some(reason_filter), None, None, None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reason_filter` in this scope [INFO] [stdout] --> src/culqi/refund.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 4 | let all_refunds = culqi::Refund::all(&client, Some(reason_filter), None, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/subscription.rs - culqi::subscription::Subscription (line 26) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/subscription.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 4 | let del_subscription = culqi::Subscription::delete(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/subscription.rs - culqi::subscription::Subscription (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/subscription.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 4 | let get_subscription = culqi::Subscription::retrieve(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/subscription.rs - culqi::subscription::Subscription (line 22) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/subscription.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 4 | let create_subscription = culqi::Subscription::create(&client, &new_subscription); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_subscription` in this scope [INFO] [stdout] --> src/culqi/subscription.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 4 | let create_subscription = culqi::Subscription::create(&client, &new_subscription); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/subscription.rs - culqi::subscription::Subscription (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/culqi/subscription.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 4 | subscription_filter = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/culqi/subscription.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 3 | let mut subscription_filter: HashMap; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/subscription.rs - culqi::subscription::Subscription (line 53) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `subscription_filter` in this scope [INFO] [stdout] --> src/culqi/subscription.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 3 | subscription_filter.insert("creation_date".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `subscription_filter` in this scope [INFO] [stdout] --> src/culqi/subscription.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 4 | subscription_filter.insert("creation_date_from".to_string(), "1479600000".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `subscription_filter` in this scope [INFO] [stdout] --> src/culqi/subscription.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 5 | subscription_filter.insert("creation_date_to".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/subscription.rs - culqi::subscription::Subscription (line 59) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/subscription.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 4 | let all_subscription = culqi::Subscription::all(&client, Some(subscription_filter), None, None, None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `subscription_filter` in this scope [INFO] [stdout] --> src/culqi/subscription.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 4 | let all_subscription = culqi::Subscription::all(&client, Some(subscription_filter), None, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/token.rs - culqi::token::Token (line 22) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/token.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 4 | let create_token = culqi::Token::create(&client, &new_token); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_token` in this scope [INFO] [stdout] --> src/culqi/token.rs:23:51 [INFO] [stdout] | [INFO] [stdout] 4 | let create_token = culqi::Token::create(&client, &new_token); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/token.rs - culqi::token::Token (line 26) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/token.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 4 | let get_token = culqi::Token::retrieve(&client, "{ID}"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/token.rs - culqi::token::Token (line 49) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `token_filter` in this scope [INFO] [stdout] --> src/culqi/token.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 3 | token_filter.insert("creation_date".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token_filter` in this scope [INFO] [stdout] --> src/culqi/token.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 4 | token_filter.insert("creation_date_from".to_string(), "1479600000".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token_filter` in this scope [INFO] [stdout] --> src/culqi/token.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 5 | token_filter.insert("creation_date_to".to_string(), "1484006400".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/token.rs - culqi::token::Token (line 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/culqi/token.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 4 | token_filter = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/culqi/token.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 3 | let mut token_filter: HashMap; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `secret_key` in this scope [INFO] [stdout] --> src/lib.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 4 | let client = culqi::Client::new(&secret_key); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/culqi/token.rs - culqi::token::Token (line 55) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/culqi/token.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 4 | let all_tokens = culqi::Token::all(&client, Some(token_filter), None, None, None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token_filter` in this scope [INFO] [stdout] --> src/culqi/token.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 4 | let all_tokens = culqi::Token::all(&client, Some(token_filter), None, None, None); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `culqi` [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 4 | [dependencies] [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator here [INFO] [stdout] 5 | culqi = "0.2.0" [INFO] [stdout] | ^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dependencies` in this scope [INFO] [stdout] --> src/lib.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 4 | [dependencies] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 42) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/lib.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 6 | let get_charge = culqi::Charge::create(&client, &new_charge); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/culqi/card.rs - culqi::card::Card (line 22) [INFO] [stdout] src/culqi/card.rs - culqi::card::Card (line 26) [INFO] [stdout] src/culqi/card.rs - culqi::card::Card (line 30) [INFO] [stdout] src/culqi/card.rs - culqi::card::Card (line 41) [INFO] [stdout] src/culqi/card.rs - culqi::card::Card (line 53) [INFO] [stdout] src/culqi/card.rs - culqi::card::Card (line 59) [INFO] [stdout] src/culqi/charge.rs - culqi::charge::Charge (line 22) [INFO] [stdout] src/culqi/charge.rs - culqi::charge::Charge (line 26) [INFO] [stdout] src/culqi/charge.rs - culqi::charge::Charge (line 30) [INFO] [stdout] src/culqi/charge.rs - culqi::charge::Charge (line 34) [INFO] [stdout] src/culqi/charge.rs - culqi::charge::Charge (line 44) [INFO] [stdout] src/culqi/charge.rs - culqi::charge::Charge (line 80) [INFO] [stdout] src/culqi/charge.rs - culqi::charge::Charge (line 86) [INFO] [stdout] src/culqi/customer.rs - culqi::customer::Customer (line 22) [INFO] [stdout] src/culqi/customer.rs - culqi::customer::Customer (line 26) [INFO] [stdout] src/culqi/customer.rs - culqi::customer::Customer (line 30) [INFO] [stdout] src/culqi/customer.rs - culqi::customer::Customer (line 41) [INFO] [stdout] src/culqi/customer.rs - culqi::customer::Customer (line 53) [INFO] [stdout] src/culqi/plan.rs - culqi::plan::Plan (line 18) [INFO] [stdout] src/culqi/plan.rs - culqi::plan::Plan (line 22) [INFO] [stdout] src/culqi/plan.rs - culqi::plan::Plan (line 26) [INFO] [stdout] src/culqi/plan.rs - culqi::plan::Plan (line 30) [INFO] [stdout] src/culqi/plan.rs - culqi::plan::Plan (line 41) [INFO] [stdout] src/culqi/plan.rs - culqi::plan::Plan (line 52) [INFO] [stdout] src/culqi/plan.rs - culqi::plan::Plan (line 58) [INFO] [stdout] src/culqi/refund.rs - culqi::refund::Refund (line 22) [INFO] [stdout] src/culqi/refund.rs - culqi::refund::Refund (line 26) [INFO] [stdout] src/culqi/refund.rs - culqi::refund::Refund (line 37) [INFO] [stdout] src/culqi/refund.rs - culqi::refund::Refund (line 45) [INFO] [stdout] src/culqi/refund.rs - culqi::refund::Refund (line 51) [INFO] [stdout] src/culqi/subscription.rs - culqi::subscription::Subscription (line 22) [INFO] [stdout] src/culqi/subscription.rs - culqi::subscription::Subscription (line 26) [INFO] [stdout] src/culqi/subscription.rs - culqi::subscription::Subscription (line 30) [INFO] [stdout] src/culqi/subscription.rs - culqi::subscription::Subscription (line 41) [INFO] [stdout] src/culqi/subscription.rs - culqi::subscription::Subscription (line 53) [INFO] [stdout] src/culqi/subscription.rs - culqi::subscription::Subscription (line 59) [INFO] [stdout] src/culqi/token.rs - culqi::token::Token (line 22) [INFO] [stdout] src/culqi/token.rs - culqi::token::Token (line 26) [INFO] [stdout] src/culqi/token.rs - culqi::token::Token (line 37) [INFO] [stdout] src/culqi/token.rs - culqi::token::Token (line 49) [INFO] [stdout] src/culqi/token.rs - culqi::token::Token (line 55) [INFO] [stdout] src/lib.rs - (line 30) [INFO] [stdout] src/lib.rs - (line 42) [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 24 passed; 44 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "468287eeff8394d03cf73ea2213e924be82548dddd4c181cc9d67cec9d06422c"` [INFO] running `"docker" "rm" "-f" "468287eeff8394d03cf73ea2213e924be82548dddd4c181cc9d67cec9d06422c"` [INFO] [stdout] 468287eeff8394d03cf73ea2213e924be82548dddd4c181cc9d67cec9d06422c