[INFO] fetching crate intasend 0.1.6...
[INFO] testing intasend-0.1.6 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate intasend 0.1.6 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate intasend 0.1.6 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate intasend 0.1.6
[INFO] finished tweaking crates.io crate intasend 0.1.6
[INFO] tweaked toml for crates.io crate intasend 0.1.6 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 177 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding ahash v0.7.8 (latest: v0.8.11)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding bytecheck v0.6.12 (latest: v0.7.0)
[INFO] [stderr]       Adding bytecheck_derive v0.6.12 (latest: v0.7.0)
[INFO] [stderr]       Adding cfg_aliases v0.1.1 (latest: v0.2.1)
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding h2 v0.3.26 (latest: v0.4.5)
[INFO] [stderr]       Adding hashbrown v0.12.3 (latest: v0.14.5)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding hyper-tls v0.5.0 (latest: v0.6.0)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding ptr_meta v0.1.4 (latest: v0.2.0)
[INFO] [stderr]       Adding ptr_meta_derive v0.1.4 (latest: v0.2.0)
[INFO] [stderr]       Adding radium v0.7.0 (latest: v1.1.0)
[INFO] [stderr]       Adding reqwest v0.11.27 (latest: v0.12.4)
[INFO] [stderr]       Adding rustls-pemfile v1.0.4 (latest: v2.1.2)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding sync_wrapper v0.1.2 (latest: v1.0.1)
[INFO] [stderr]       Adding system-configuration v0.5.1 (latest: v0.6.0)
[INFO] [stderr]       Adding system-configuration-sys v0.5.0 (latest: v0.6.0)
[INFO] [stderr]       Adding toml_edit v0.21.1 (latest: v0.22.13)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding winnow v0.5.40 (latest: v0.6.8)
[INFO] [stderr]       Adding winreg v0.50.0 (latest: v0.52.0)
[INFO] [stderr]       Adding wyz v0.5.1 (latest: v0.6.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust_decimal_macros v1.34.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ffbe50bf54eb430c4051919b329cfcb484742aed9f10f680b6b734a26972a23
[INFO] running `Command { std: "docker" "start" "-a" "9ffbe50bf54eb430c4051919b329cfcb484742aed9f10f680b6b734a26972a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ffbe50bf54eb430c4051919b329cfcb484742aed9f10f680b6b734a26972a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ffbe50bf54eb430c4051919b329cfcb484742aed9f10f680b6b734a26972a23", kill_on_drop: false }`
[INFO] [stdout] 9ffbe50bf54eb430c4051919b329cfcb484742aed9f10f680b6b734a26972a23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e3c50776051f73770726bea7f5deb9a631c392188ba8f50c4cdfe4376116babc
[INFO] running `Command { std: "docker" "start" "-a" "e3c50776051f73770726bea7f5deb9a631c392188ba8f50c4cdfe4376116babc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rust_decimal_macros v1.34.2
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling intasend v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.78s
[INFO] running `Command { std: "docker" "inspect" "e3c50776051f73770726bea7f5deb9a631c392188ba8f50c4cdfe4376116babc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3c50776051f73770726bea7f5deb9a631c392188ba8f50c4cdfe4376116babc", kill_on_drop: false }`
[INFO] [stdout] e3c50776051f73770726bea7f5deb9a631c392188ba8f50c4cdfe4376116babc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 90163ab67deeb50d7eb5f43729efaa58d17d0689639b7c90e7335b4c20e2cbde
[INFO] running `Command { std: "docker" "start" "-a" "90163ab67deeb50d7eb5f43729efaa58d17d0689639b7c90e7335b4c20e2cbde", kill_on_drop: false }`
[INFO] [stderr]    Compiling intasend v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s
[INFO] running `Command { std: "docker" "inspect" "90163ab67deeb50d7eb5f43729efaa58d17d0689639b7c90e7335b4c20e2cbde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90163ab67deeb50d7eb5f43729efaa58d17d0689639b7c90e7335b4c20e2cbde", kill_on_drop: false }`
[INFO] [stdout] 90163ab67deeb50d7eb5f43729efaa58d17d0689639b7c90e7335b4c20e2cbde
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0bd70a8a3cce35ec4409b86f4c198a841a2990bbad4f10326d310d2541a6115f
[INFO] running `Command { std: "docker" "start" "-a" "0bd70a8a3cce35ec4409b86f4c198a841a2990bbad4f10326d310d2541a6115f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/intasend-fbfaf9e8cbc29ef7)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests intasend
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::refunds (line 125) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::wallets (line 143) ... FAILED
[INFO] [stdout] test src/intasend/checkout.rs - intasend::checkout::Checkout::details (line 112) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::new (line 54) ... FAILED
[INFO] [stdout] test src/intasend/collection.rs - intasend::collection::Collection (line 18) ... FAILED
[INFO] [stdout] test src/intasend/collection.rs - intasend::collection::Collection::status (line 82) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend (line 34) ... FAILED
[INFO] [stdout] test src/intasend/collection.rs - intasend::collection::Collection::mpesa_stk_push (line 39) ... FAILED
[INFO] [stdout] test src/intasend/checkout.rs - intasend::checkout::Checkout (line 19) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::payouts (line 107) ... FAILED
[INFO] [stdout] test src/intasend/checkout.rs - intasend::checkout::Checkout::initiate (line 39) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::collection (line 71) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::checkout (line 89) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::refunds (line 125) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Refunds` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:128:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let refunds: Refunds = intasend.refunds();
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Refunds;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:128:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | let refunds: Refunds = intasend.refunds();
[INFO] [stdout]   |                        ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::wallets (line 143) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Wallets` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:146:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let wallets: Wallets = intasend.refunds();
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Wallets;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:146:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | let wallets: Wallets = intasend.refunds();
[INFO] [stdout]   |                        ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/checkout.rs - intasend::checkout::Checkout::details (line 112) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Checkout` in this scope
[INFO] [stdout]  --> src/intasend/checkout.rs:115:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Checkout;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/checkout.rs:115:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |                          ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CheckoutDetailsRequest` in this scope
[INFO] [stdout]  --> src/intasend/checkout.rs:117:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | let checkout_details_req = CheckoutDetailsRequest {
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::CheckoutDetailsRequest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CheckoutDetailsResponse` in this scope
[INFO] [stdout]   --> src/intasend/checkout.rs:122:32
[INFO] [stdout]    |
[INFO] [stdout] 13 | let checkout_details_response: CheckoutDetailsResponse = checkout.details(checkout_details_req).await?;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::CheckoutDetailsResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/checkout.rs:122:97
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_checkout_rs_112_0() {
[INFO] [stdout]    |                                      ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 | let checkout_details_response: CheckoutDetailsResponse = checkout.details(checkout_details_req).await?;
[INFO] [stdout]    |                                                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::new (line 54) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:56:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | let intasend = Intasend::new(
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Intasend`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use intasend::Intasend;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/collection.rs - intasend::collection::Collection (line 18) stdout ----
[INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments
[INFO] [stdout]   --> src/intasend/collection.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 6  |   let intasend = Intasend::new(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 7  | |     publishable_key: "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  | |     secret_key: "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  | |     test_mode: true
[INFO] [stdout] 10 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout] help: if `Intasend::new` is a struct, use braces as delimiters
[INFO] [stdout]    |
[INFO] [stdout] 6  ~ let intasend = Intasend::new { 
[INFO] [stdout] 7  |     publishable_key: "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  |     secret_key: "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  |     test_mode: true
[INFO] [stdout] 10 ~  };
[INFO] [stdout]    |
[INFO] [stdout] help: if `Intasend::new` is a function, use the arguments directly
[INFO] [stdout]    |
[INFO] [stdout] 7  ~     "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  ~     "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  ~     true
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope
[INFO] [stdout]   --> src/intasend/collection.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | let collection: Collection = intasend.collection();
[INFO] [stdout]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::Collection;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/collection.rs - intasend::collection::Collection::status (line 82) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope
[INFO] [stdout]  --> src/intasend/collection.rs:85:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Collection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/collection.rs:85:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                              ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MpesaStkPushRequest` in this scope
[INFO] [stdout]  --> src/intasend/collection.rs:87:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | let stkpush_request = MpesaStkPushRequest {
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::MpesaStkPushRequest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MpesaStkPushResponse` in this scope
[INFO] [stdout]   --> src/intasend/collection.rs:94:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | let stkpush_response: MpesaStkPushResponse = collection.mpesa_stk_push(stkpush_request).await?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::MpesaStkPushResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StatusRequest` in this scope
[INFO] [stdout]   --> src/intasend/collection.rs:100:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | let stkpushstatus_req: StatusRequest = StatusRequest {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StatusRequest` in this scope
[INFO] [stdout]   --> src/intasend/collection.rs:100:40
[INFO] [stdout]    |
[INFO] [stdout] 21 | let stkpushstatus_req: StatusRequest = StatusRequest {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/collection.rs:94:89
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_collection_rs_82_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let stkpush_response: MpesaStkPushResponse = collection.mpesa_stk_push(stkpush_request).await?;
[INFO] [stdout]    |                                                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/collection.rs:98:56
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_collection_rs_82_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 | tokio::time::sleep(std::time::Duration::from_secs(30)).await;
[INFO] [stdout]    |                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/collection.rs:106:58
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_collection_rs_82_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 27 | let stkpushstatus = collection.status(stkpushstatus_req).await?;
[INFO] [stdout]    |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend (line 34) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Intasend` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:36:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | let intasend = Intasend { 
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use intasend::Intasend;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/collection.rs - intasend::collection::Collection::mpesa_stk_push (line 39) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope
[INFO] [stdout]  --> src/intasend/collection.rs:42:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Collection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/collection.rs:42:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                              ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MpesaStkPushRequest` in this scope
[INFO] [stdout]  --> src/intasend/collection.rs:44:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | let stkpush_request = MpesaStkPushRequest {
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::MpesaStkPushRequest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MpesaStkPushResponse` in this scope
[INFO] [stdout]   --> src/intasend/collection.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | let stkpush_response: MpesaStkPushResponse = collection.mpesa_stk_push(stkpush_request).await?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::MpesaStkPushResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/collection.rs:51:89
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_collection_rs_39_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let stkpush_response: MpesaStkPushResponse = collection.mpesa_stk_push(stkpush_request).await?;
[INFO] [stdout]    |                                                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/checkout.rs - intasend::checkout::Checkout (line 19) stdout ----
[INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments
[INFO] [stdout]   --> src/intasend/checkout.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 6  |   let intasend = Intasend::new(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 7  | |     publishable_key: "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  | |     secret_key: "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  | |     test_mode: true
[INFO] [stdout] 10 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout] help: if `Intasend::new` is a struct, use braces as delimiters
[INFO] [stdout]    |
[INFO] [stdout] 6  ~ let intasend = Intasend::new { 
[INFO] [stdout] 7  |     publishable_key: "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  |     secret_key: "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  |     test_mode: true
[INFO] [stdout] 10 ~  };
[INFO] [stdout]    |
[INFO] [stdout] help: if `Intasend::new` is a function, use the arguments directly
[INFO] [stdout]    |
[INFO] [stdout] 7  ~     "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  ~     "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  ~     true
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Checkout` in this scope
[INFO] [stdout]   --> src/intasend/checkout.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::Checkout;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::payouts (line 107) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Payouts` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:110:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let payouts: Payouts = intasend.payouts();
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Payouts;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:110:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | let payouts: Payouts = intasend.payouts();
[INFO] [stdout]   |                        ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payout` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:111:37
[INFO] [stdout]   |
[INFO] [stdout] 7 | println!("Payouts instance: {:#?}", payout);
[INFO] [stdout]   |                                     ^^^^^^ help: a local variable with a similar name exists: `payouts`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/checkout.rs - intasend::checkout::Checkout::initiate (line 39) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Checkout` in this scope
[INFO] [stdout]  --> src/intasend/checkout.rs:42:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Checkout;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/checkout.rs:42:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |                          ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CheckoutRequest` in this scope
[INFO] [stdout]  --> src/intasend/checkout.rs:44:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | let checkout_req = CheckoutRequest {
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::CheckoutRequest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CheckoutMethod`
[INFO] [stdout]   --> src/intasend/checkout.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |     method: Some(CheckoutMethod::CARDPAYMENT.as_str()),
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ use of undeclared type `CheckoutMethod`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::CheckoutMethod;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decimal`
[INFO] [stdout]   --> src/intasend/checkout.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     amount: Decimal::new(10, 2),
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `Decimal`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use rust_decimal::Decimal;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currency`
[INFO] [stdout]   --> src/intasend/checkout.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     currency: Currency::USD,
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared type `Currency`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::Currency;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CheckoutResponse` in this scope
[INFO] [stdout]   --> src/intasend/checkout.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | let checkout_response: CheckoutResponse = checkout.initiate(checkout_req).await?;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::CheckoutResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/checkout.rs:53:75
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_checkout_rs_39_0() {
[INFO] [stdout]    |                                      ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 | let checkout_response: CheckoutResponse = checkout.initiate(checkout_req).await?;
[INFO] [stdout]    |                                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::collection (line 71) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:74:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Collection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:74:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                              ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::checkout (line 89) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Checkout` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:92:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Checkout;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:92:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |                          ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/intasend/checkout.rs - intasend::checkout::Checkout (line 19)
[INFO] [stdout]     src/intasend/checkout.rs - intasend::checkout::Checkout::details (line 112)
[INFO] [stdout]     src/intasend/checkout.rs - intasend::checkout::Checkout::initiate (line 39)
[INFO] [stdout]     src/intasend/collection.rs - intasend::collection::Collection (line 18)
[INFO] [stdout]     src/intasend/collection.rs - intasend::collection::Collection::mpesa_stk_push (line 39)
[INFO] [stdout]     src/intasend/collection.rs - intasend::collection::Collection::status (line 82)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend (line 34)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::checkout (line 89)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::collection (line 71)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::new (line 54)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::payouts (line 107)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::refunds (line 125)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::wallets (line 143)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0bd70a8a3cce35ec4409b86f4c198a841a2990bbad4f10326d310d2541a6115f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bd70a8a3cce35ec4409b86f4c198a841a2990bbad4f10326d310d2541a6115f", kill_on_drop: false }`
[INFO] [stdout] 0bd70a8a3cce35ec4409b86f4c198a841a2990bbad4f10326d310d2541a6115f
[INFO] testing intasend-0.1.6 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate intasend 0.1.6 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate intasend 0.1.6 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate intasend 0.1.6
[INFO] finished tweaking crates.io crate intasend 0.1.6
[INFO] tweaked toml for crates.io crate intasend 0.1.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 177 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding ahash v0.7.8 (latest: v0.8.11)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding bytecheck v0.6.12 (latest: v0.7.0)
[INFO] [stderr]       Adding bytecheck_derive v0.6.12 (latest: v0.7.0)
[INFO] [stderr]       Adding cfg_aliases v0.1.1 (latest: v0.2.1)
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding h2 v0.3.26 (latest: v0.4.5)
[INFO] [stderr]       Adding hashbrown v0.12.3 (latest: v0.14.5)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding hyper-tls v0.5.0 (latest: v0.6.0)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding ptr_meta v0.1.4 (latest: v0.2.0)
[INFO] [stderr]       Adding ptr_meta_derive v0.1.4 (latest: v0.2.0)
[INFO] [stderr]       Adding radium v0.7.0 (latest: v1.1.0)
[INFO] [stderr]       Adding reqwest v0.11.27 (latest: v0.12.4)
[INFO] [stderr]       Adding rustls-pemfile v1.0.4 (latest: v2.1.2)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding sync_wrapper v0.1.2 (latest: v1.0.1)
[INFO] [stderr]       Adding system-configuration v0.5.1 (latest: v0.6.0)
[INFO] [stderr]       Adding system-configuration-sys v0.5.0 (latest: v0.6.0)
[INFO] [stderr]       Adding toml_edit v0.21.1 (latest: v0.22.13)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding winnow v0.5.40 (latest: v0.6.8)
[INFO] [stderr]       Adding winreg v0.50.0 (latest: v0.52.0)
[INFO] [stderr]       Adding wyz v0.5.1 (latest: v0.6.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 129f4fa4907b89ce114e2cbaa07e2cacebc479fd7bebe05a9e28c01dba9d186d
[INFO] running `Command { std: "docker" "start" "-a" "129f4fa4907b89ce114e2cbaa07e2cacebc479fd7bebe05a9e28c01dba9d186d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "129f4fa4907b89ce114e2cbaa07e2cacebc479fd7bebe05a9e28c01dba9d186d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "129f4fa4907b89ce114e2cbaa07e2cacebc479fd7bebe05a9e28c01dba9d186d", kill_on_drop: false }`
[INFO] [stdout] 129f4fa4907b89ce114e2cbaa07e2cacebc479fd7bebe05a9e28c01dba9d186d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d99ecaa74c1d117b6ae3433893e05ce600e6c7e95c6216c47a36f117c940861d
[INFO] running `Command { std: "docker" "start" "-a" "d99ecaa74c1d117b6ae3433893e05ce600e6c7e95c6216c47a36f117c940861d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rust_decimal_macros v1.34.2
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling intasend v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.73s
[INFO] running `Command { std: "docker" "inspect" "d99ecaa74c1d117b6ae3433893e05ce600e6c7e95c6216c47a36f117c940861d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d99ecaa74c1d117b6ae3433893e05ce600e6c7e95c6216c47a36f117c940861d", kill_on_drop: false }`
[INFO] [stdout] d99ecaa74c1d117b6ae3433893e05ce600e6c7e95c6216c47a36f117c940861d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a80800cd95dfff6d366b60798c3d66ea5c8e1ab11ef435db45e9ed9f0385add0
[INFO] running `Command { std: "docker" "start" "-a" "a80800cd95dfff6d366b60798c3d66ea5c8e1ab11ef435db45e9ed9f0385add0", kill_on_drop: false }`
[INFO] [stderr]    Compiling intasend v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.86s
[INFO] running `Command { std: "docker" "inspect" "a80800cd95dfff6d366b60798c3d66ea5c8e1ab11ef435db45e9ed9f0385add0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a80800cd95dfff6d366b60798c3d66ea5c8e1ab11ef435db45e9ed9f0385add0", kill_on_drop: false }`
[INFO] [stdout] a80800cd95dfff6d366b60798c3d66ea5c8e1ab11ef435db45e9ed9f0385add0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 98026802353a253ea077daa2640a54fc35cc99783f3fde17c7bf982dc046f0b8
[INFO] running `Command { std: "docker" "start" "-a" "98026802353a253ea077daa2640a54fc35cc99783f3fde17c7bf982dc046f0b8", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/intasend-fbfaf9e8cbc29ef7)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests intasend
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::new (line 54) ... FAILED
[INFO] [stdout] test src/intasend/checkout.rs - intasend::checkout::Checkout::details (line 112) ... FAILED
[INFO] [stdout] test src/intasend/collection.rs - intasend::collection::Collection (line 18) ... FAILED
[INFO] [stdout] test src/intasend/checkout.rs - intasend::checkout::Checkout (line 19) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::checkout (line 89) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::collection (line 71) ... FAILED
[INFO] [stdout] test src/intasend/collection.rs - intasend::collection::Collection::mpesa_stk_push (line 39) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::wallets (line 143) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::payouts (line 107) ... FAILED
[INFO] [stdout] test src/intasend/collection.rs - intasend::collection::Collection::status (line 82) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend::refunds (line 125) ... FAILED
[INFO] [stdout] test src/intasend/mod.rs - intasend::Intasend (line 34) ... FAILED
[INFO] [stdout] test src/intasend/checkout.rs - intasend::checkout::Checkout::initiate (line 39) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::new (line 54) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:56:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | let intasend = Intasend::new(
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Intasend`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use intasend::Intasend;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/checkout.rs - intasend::checkout::Checkout::details (line 112) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Checkout` in this scope
[INFO] [stdout]  --> src/intasend/checkout.rs:115:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Checkout;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/checkout.rs:115:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |                          ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CheckoutDetailsRequest` in this scope
[INFO] [stdout]  --> src/intasend/checkout.rs:117:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | let checkout_details_req = CheckoutDetailsRequest {
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::CheckoutDetailsRequest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CheckoutDetailsResponse` in this scope
[INFO] [stdout]   --> src/intasend/checkout.rs:122:32
[INFO] [stdout]    |
[INFO] [stdout] 13 | let checkout_details_response: CheckoutDetailsResponse = checkout.details(checkout_details_req).await?;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::CheckoutDetailsResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/checkout.rs:122:97
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_checkout_rs_112_0() {
[INFO] [stdout]    |                                      ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 | let checkout_details_response: CheckoutDetailsResponse = checkout.details(checkout_details_req).await?;
[INFO] [stdout]    |                                                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/collection.rs - intasend::collection::Collection (line 18) stdout ----
[INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments
[INFO] [stdout]   --> src/intasend/collection.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 6  |   let intasend = Intasend::new(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 7  | |     publishable_key: "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  | |     secret_key: "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  | |     test_mode: true
[INFO] [stdout] 10 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout] help: if `Intasend::new` is a struct, use braces as delimiters
[INFO] [stdout]    |
[INFO] [stdout] 6  ~ let intasend = Intasend::new { 
[INFO] [stdout] 7  |     publishable_key: "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  |     secret_key: "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  |     test_mode: true
[INFO] [stdout] 10 ~  };
[INFO] [stdout]    |
[INFO] [stdout] help: if `Intasend::new` is a function, use the arguments directly
[INFO] [stdout]    |
[INFO] [stdout] 7  ~     "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  ~     "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  ~     true
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope
[INFO] [stdout]   --> src/intasend/collection.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | let collection: Collection = intasend.collection();
[INFO] [stdout]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::Collection;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/checkout.rs - intasend::checkout::Checkout (line 19) stdout ----
[INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments
[INFO] [stdout]   --> src/intasend/checkout.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 6  |   let intasend = Intasend::new(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 7  | |     publishable_key: "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  | |     secret_key: "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  | |     test_mode: true
[INFO] [stdout] 10 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout] help: if `Intasend::new` is a struct, use braces as delimiters
[INFO] [stdout]    |
[INFO] [stdout] 6  ~ let intasend = Intasend::new { 
[INFO] [stdout] 7  |     publishable_key: "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  |     secret_key: "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  |     test_mode: true
[INFO] [stdout] 10 ~  };
[INFO] [stdout]    |
[INFO] [stdout] help: if `Intasend::new` is a function, use the arguments directly
[INFO] [stdout]    |
[INFO] [stdout] 7  ~     "ISPubKey_test_c1f90113-3dbb-4201-9b88-f1c2d3056e5c".to_string(),
[INFO] [stdout] 8  ~     "ISSecretKey_test_5527b085-40b6-460a-9c31-25d58a204d20".to_string(),
[INFO] [stdout] 9  ~     true
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Checkout` in this scope
[INFO] [stdout]   --> src/intasend/checkout.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::Checkout;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::checkout (line 89) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Checkout` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:92:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Checkout;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:92:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |                          ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::collection (line 71) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:74:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Collection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:74:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                              ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/collection.rs - intasend::collection::Collection::mpesa_stk_push (line 39) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope
[INFO] [stdout]  --> src/intasend/collection.rs:42:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Collection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/collection.rs:42:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                              ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MpesaStkPushRequest` in this scope
[INFO] [stdout]  --> src/intasend/collection.rs:44:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | let stkpush_request = MpesaStkPushRequest {
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::MpesaStkPushRequest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MpesaStkPushResponse` in this scope
[INFO] [stdout]   --> src/intasend/collection.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | let stkpush_response: MpesaStkPushResponse = collection.mpesa_stk_push(stkpush_request).await?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::MpesaStkPushResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/collection.rs:51:89
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_collection_rs_39_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let stkpush_response: MpesaStkPushResponse = collection.mpesa_stk_push(stkpush_request).await?;
[INFO] [stdout]    |                                                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::wallets (line 143) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Wallets` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:146:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let wallets: Wallets = intasend.refunds();
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Wallets;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:146:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | let wallets: Wallets = intasend.refunds();
[INFO] [stdout]   |                        ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::payouts (line 107) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Payouts` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:110:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let payouts: Payouts = intasend.payouts();
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Payouts;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:110:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | let payouts: Payouts = intasend.payouts();
[INFO] [stdout]   |                        ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payout` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:111:37
[INFO] [stdout]   |
[INFO] [stdout] 7 | println!("Payouts instance: {:#?}", payout);
[INFO] [stdout]   |                                     ^^^^^^ help: a local variable with a similar name exists: `payouts`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/collection.rs - intasend::collection::Collection::status (line 82) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope
[INFO] [stdout]  --> src/intasend/collection.rs:85:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Collection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/collection.rs:85:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | let collection: Collection = intasend.collection();
[INFO] [stdout]   |                              ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MpesaStkPushRequest` in this scope
[INFO] [stdout]  --> src/intasend/collection.rs:87:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | let stkpush_request = MpesaStkPushRequest {
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::MpesaStkPushRequest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MpesaStkPushResponse` in this scope
[INFO] [stdout]   --> src/intasend/collection.rs:94:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | let stkpush_response: MpesaStkPushResponse = collection.mpesa_stk_push(stkpush_request).await?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::MpesaStkPushResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StatusRequest` in this scope
[INFO] [stdout]   --> src/intasend/collection.rs:100:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | let stkpushstatus_req: StatusRequest = StatusRequest {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StatusRequest` in this scope
[INFO] [stdout]   --> src/intasend/collection.rs:100:40
[INFO] [stdout]    |
[INFO] [stdout] 21 | let stkpushstatus_req: StatusRequest = StatusRequest {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/collection.rs:94:89
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_collection_rs_82_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let stkpush_response: MpesaStkPushResponse = collection.mpesa_stk_push(stkpush_request).await?;
[INFO] [stdout]    |                                                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/collection.rs:98:56
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_collection_rs_82_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 | tokio::time::sleep(std::time::Duration::from_secs(30)).await;
[INFO] [stdout]    |                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/collection.rs:106:58
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_collection_rs_82_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 27 | let stkpushstatus = collection.status(stkpushstatus_req).await?;
[INFO] [stdout]    |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend::refunds (line 125) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Refunds` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:128:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let refunds: Refunds = intasend.refunds();
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Refunds;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/mod.rs:128:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | let refunds: Refunds = intasend.refunds();
[INFO] [stdout]   |                        ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/mod.rs - intasend::Intasend (line 34) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Intasend` in this scope
[INFO] [stdout]  --> src/intasend/mod.rs:36:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | let intasend = Intasend { 
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use intasend::Intasend;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/intasend/checkout.rs - intasend::checkout::Checkout::initiate (line 39) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Checkout` in this scope
[INFO] [stdout]  --> src/intasend/checkout.rs:42:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::Checkout;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `intasend`
[INFO] [stdout]  --> src/intasend/checkout.rs:42:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let checkout: Checkout = intasend.checkout();
[INFO] [stdout]   |                          ^^^^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CheckoutRequest` in this scope
[INFO] [stdout]  --> src/intasend/checkout.rs:44:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | let checkout_req = CheckoutRequest {
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use intasend::CheckoutRequest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CheckoutMethod`
[INFO] [stdout]   --> src/intasend/checkout.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |     method: Some(CheckoutMethod::CARDPAYMENT.as_str()),
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ use of undeclared type `CheckoutMethod`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::CheckoutMethod;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decimal`
[INFO] [stdout]   --> src/intasend/checkout.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     amount: Decimal::new(10, 2),
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `Decimal`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use rust_decimal::Decimal;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currency`
[INFO] [stdout]   --> src/intasend/checkout.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     currency: Currency::USD,
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared type `Currency`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::Currency;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CheckoutResponse` in this scope
[INFO] [stdout]   --> src/intasend/checkout.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | let checkout_response: CheckoutResponse = checkout.initiate(checkout_req).await?;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use intasend::CheckoutResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/intasend/checkout.rs:53:75
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_intasend_checkout_rs_39_0() {
[INFO] [stdout]    |                                      ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 | let checkout_response: CheckoutResponse = checkout.initiate(checkout_req).await?;
[INFO] [stdout]    |                                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/intasend/checkout.rs - intasend::checkout::Checkout (line 19)
[INFO] [stdout]     src/intasend/checkout.rs - intasend::checkout::Checkout::details (line 112)
[INFO] [stdout]     src/intasend/checkout.rs - intasend::checkout::Checkout::initiate (line 39)
[INFO] [stdout]     src/intasend/collection.rs - intasend::collection::Collection (line 18)
[INFO] [stdout]     src/intasend/collection.rs - intasend::collection::Collection::mpesa_stk_push (line 39)
[INFO] [stdout]     src/intasend/collection.rs - intasend::collection::Collection::status (line 82)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend (line 34)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::checkout (line 89)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::collection (line 71)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::new (line 54)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::payouts (line 107)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::refunds (line 125)
[INFO] [stdout]     src/intasend/mod.rs - intasend::Intasend::wallets (line 143)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "98026802353a253ea077daa2640a54fc35cc99783f3fde17c7bf982dc046f0b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98026802353a253ea077daa2640a54fc35cc99783f3fde17c7bf982dc046f0b8", kill_on_drop: false }`
[INFO] [stdout] 98026802353a253ea077daa2640a54fc35cc99783f3fde17c7bf982dc046f0b8
