[INFO] fetching crate etopay-sdk 0.16.1... [INFO] testing etopay-sdk-0.16.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate etopay-sdk 0.16.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate etopay-sdk 0.16.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate etopay-sdk 0.16.1 [INFO] tweaked toml for crates.io crate etopay-sdk 0.16.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate etopay-sdk 0.16.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate etopay-sdk 0.16.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4fe03a9a0cb80ae9d9564fca7fb5450e573f0388c4519530c7453c070d4c217 [INFO] running `Command { std: "docker" "start" "-a" "d4fe03a9a0cb80ae9d9564fca7fb5450e573f0388c4519530c7453c070d4c217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4fe03a9a0cb80ae9d9564fca7fb5450e573f0388c4519530c7453c070d4c217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fe03a9a0cb80ae9d9564fca7fb5450e573f0388c4519530c7453c070d4c217", kill_on_drop: false }` [INFO] [stdout] d4fe03a9a0cb80ae9d9564fca7fb5450e573f0388c4519530c7453c070d4c217 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab10cb91f2bfab3621cea90a1f231fa05f82da5a8b2c428ea43f1c5b88432415 [INFO] running `Command { std: "docker" "start" "-a" "ab10cb91f2bfab3621cea90a1f231fa05f82da5a8b2c428ea43f1c5b88432415", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling futures-utils-wasm v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling tz-rs v0.7.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling tzdb_data v0.2.2 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling subtle-ng v2.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling is_debug v1.1.0 [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tzdb v0.7.2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling hmac-sha512 v0.1.9 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Compiling slip10_ed25519 v0.1.3 [INFO] [stderr] Compiling time-helper v0.1.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling fs4 v0.7.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling shadow-rs v1.1.1 [INFO] [stderr] Compiling etopay-sdk v0.16.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling syn-solidity v1.1.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.12 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek-ng v4.1.1 [INFO] [stderr] Compiling etospheres-labs-lamport_sigs v0.7.1-pre [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling tiny-bip39 v2.0.0 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling twofish v0.7.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ruint v1.15.0 [INFO] [stderr] Compiling const-hex v1.14.1 [INFO] [stderr] Compiling alloy-sol-type-parser v1.1.2 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling alloy-primitives v1.2.0 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling coins-core v0.12.0 [INFO] [stderr] Compiling serde-name v0.2.1 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling nybbles v0.3.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling alloy-rlp v0.3.12 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling alloy-json-abi v1.1.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling lru v0.13.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rust-argon2 v2.1.0 [INFO] [stderr] Compiling etopay-api-types v0.16.1 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling ed25519-consensus v2.1.0 [INFO] [stderr] Compiling etospheres-labs-merkle v1.11.1-pre [INFO] [stderr] Compiling etospheres-labs-rusty_secrets v0.2.3-pre [INFO] [stderr] Compiling bcs v0.1.6 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling kdbx-rs v0.5.2 [INFO] [stderr] Compiling fern-logger v0.5.0 [INFO] [stderr] Compiling jammdb v0.11.0 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling alloy-sol-macro-input v1.1.2 [INFO] [stderr] Compiling coins-bip32 v0.12.0 [INFO] [stderr] Compiling bip32 v0.5.3 [INFO] [stderr] Compiling etospheres-labs-merkle_sigs v1.7.1-pre [INFO] [stderr] Compiling zxcvbn v3.1.0 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.1.2 [INFO] [stderr] Compiling coins-bip39 v0.12.0 [INFO] [stderr] Compiling alloy-serde v1.0.9 [INFO] [stderr] Compiling alloy-eip7702 v0.6.1 [INFO] [stderr] Compiling alloy-eip2930 v0.2.1 [INFO] [stderr] Compiling alloy-eip2124 v0.2.0 [INFO] [stderr] Compiling alloy-trie v0.8.1 [INFO] [stderr] Compiling alloy-signer v1.0.9 [INFO] [stderr] Compiling alloy-chains v0.2.2 [INFO] [stderr] Compiling alloy-eips v1.0.9 [INFO] [stderr] Compiling alloy-consensus v1.0.9 [INFO] [stderr] Compiling alloy-sol-macro v1.1.2 [INFO] [stderr] Compiling alloy-sol-types v1.1.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.5 [INFO] [stderr] Compiling alloy-consensus-any v1.0.9 [INFO] [stderr] Compiling alloy-network-primitives v1.0.9 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-rustls v0.27.6 [INFO] [stderr] Compiling reqwest v0.12.19 [INFO] [stderr] Compiling alloy-json-rpc v1.0.9 [INFO] [stderr] Compiling alloy-rpc-types-eth v1.0.9 [INFO] [stderr] Compiling alloy-dyn-abi v1.1.2 [INFO] [stderr] Compiling alloy-core v1.1.2 [INFO] [stderr] Compiling alloy-transport v1.0.9 [INFO] [stderr] Compiling alloy-transport-http v1.0.9 [INFO] [stderr] Compiling alloy-rpc-client v1.0.9 [INFO] [stderr] Compiling alloy-rpc-types-any v1.0.9 [INFO] [stderr] Compiling alloy-rpc-types v1.0.9 [INFO] [stderr] Compiling alloy-network v1.0.9 [INFO] [stderr] Compiling alloy-provider v1.0.9 [INFO] [stderr] Compiling alloy-signer-local v1.0.9 [INFO] [stderr] Compiling alloy-contract v1.0.9 [INFO] [stderr] Compiling alloy v1.0.9 [INFO] [stderr] Compiling etopay-wallet v0.16.1 [INFO] [stdout] warning: struct `ViviswapBackendCall` is never constructed [INFO] [stdout] --> src/backend/viviswap.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct ViviswapBackendCall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_query`, `with_body`, `execute_inner`, `execute_parse`, and `execute` are never used [INFO] [stdout] --> src/backend/viviswap.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ViviswapBackendCall { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 38 | pub fn new(config: &Config, access_token: &AccessToken, method: reqwest::Method, url_path: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn with_query(self, query: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_body(self, body: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | async fn execute_inner(self, ok_transform: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub async fn execute_parse serde::Deserialize<'de>>(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn execute(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_viviswap_user` is never used [INFO] [stdout] --> src/backend/viviswap.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | pub async fn create_viviswap_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_kyc_status` is never used [INFO] [stdout] --> src/backend/viviswap.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | pub async fn get_viviswap_kyc_status(config: &Config, access_token: &AccessToken) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_general_details` is never used [INFO] [stdout] --> src/backend/viviswap.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | pub async fn set_viviswap_kyc_general_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_personal_details` is never used [INFO] [stdout] --> src/backend/viviswap.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | pub async fn set_viviswap_kyc_personal_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_identity_details` is never used [INFO] [stdout] --> src/backend/viviswap.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn set_viviswap_kyc_identity_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_residence_details` is never used [INFO] [stdout] --> src/backend/viviswap.rs:316:14 [INFO] [stdout] | [INFO] [stdout] 316 | pub async fn set_viviswap_kyc_residence_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_kyc_amla_open_questions` is never used [INFO] [stdout] --> src/backend/viviswap.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | pub async fn get_viviswap_kyc_amla_open_questions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_amla_answer` is never used [INFO] [stdout] --> src/backend/viviswap.rs:375:14 [INFO] [stdout] | [INFO] [stdout] 375 | pub async fn set_viviswap_kyc_amla_answer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_kyc_open_documents` is never used [INFO] [stdout] --> src/backend/viviswap.rs:406:14 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn get_viviswap_kyc_open_documents( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_document` is never used [INFO] [stdout] --> src/backend/viviswap.rs:434:14 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn set_viviswap_kyc_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_viviswap_detail` is never used [INFO] [stdout] --> src/backend/viviswap.rs:464:14 [INFO] [stdout] | [INFO] [stdout] 464 | pub async fn delete_viviswap_detail( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_detail` is never used [INFO] [stdout] --> src/backend/viviswap.rs:500:14 [INFO] [stdout] | [INFO] [stdout] 500 | pub async fn set_viviswap_detail( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_details` is never used [INFO] [stdout] --> src/backend/viviswap.rs:536:14 [INFO] [stdout] | [INFO] [stdout] 536 | pub async fn get_viviswap_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_contract` is never used [INFO] [stdout] --> src/backend/viviswap.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | pub async fn set_viviswap_contract( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_payment_method` is never used [INFO] [stdout] --> src/backend/viviswap.rs:612:14 [INFO] [stdout] | [INFO] [stdout] 612 | pub async fn get_viviswap_payment_method( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_order` is never used [INFO] [stdout] --> src/backend/viviswap.rs:639:14 [INFO] [stdout] | [INFO] [stdout] 639 | pub async fn get_viviswap_order(config: &Config, access_token: &AccessToken, order_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_orders` is never used [INFO] [stdout] --> src/backend/viviswap.rs:669:14 [INFO] [stdout] | [INFO] [stdout] 669 | pub async fn get_viviswap_orders( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "ab10cb91f2bfab3621cea90a1f231fa05f82da5a8b2c428ea43f1c5b88432415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab10cb91f2bfab3621cea90a1f231fa05f82da5a8b2c428ea43f1c5b88432415", kill_on_drop: false }` [INFO] [stdout] ab10cb91f2bfab3621cea90a1f231fa05f82da5a8b2c428ea43f1c5b88432415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c28b81e8b4bfc2a4e33a240b829f40246c6aad0b8ed08e4b81c5a32a5db24b0e [INFO] running `Command { std: "docker" "start" "-a" "c28b81e8b4bfc2a4e33a240b829f40246c6aad0b8ed08e4b81c5a32a5db24b0e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling tiny-bip39 v2.0.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling dummy v0.11.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling etopay-api-types v0.16.1 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling rstest_reuse v0.7.0 [INFO] [stderr] Compiling fluent-assertions v0.4.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling alloy-json-abi v1.1.2 [INFO] [stderr] Compiling kdbx-rs v0.5.2 [INFO] [stderr] Compiling fake v4.3.0 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling alloy-sol-macro-input v1.1.2 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.1.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling alloy-sol-macro v1.1.2 [INFO] [stderr] Compiling etospheres-labs-merkle v1.11.1-pre [INFO] [stderr] Compiling etospheres-labs-rusty_secrets v0.2.3-pre [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling alloy-sol-types v1.1.2 [INFO] [stderr] Compiling etospheres-labs-merkle_sigs v1.7.1-pre [INFO] [stderr] Compiling hyper-rustls v0.27.6 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling reqwest v0.12.19 [INFO] [stderr] Compiling rstest v0.25.0 [INFO] [stderr] Compiling alloy-json-rpc v1.0.9 [INFO] [stderr] Compiling alloy-rpc-types-eth v1.0.9 [INFO] [stderr] Compiling alloy-dyn-abi v1.1.2 [INFO] [stderr] Compiling alloy-transport v1.0.9 [INFO] [stderr] Compiling alloy-core v1.1.2 [INFO] [stderr] Compiling alloy-transport-http v1.0.9 [INFO] [stderr] Compiling alloy-rpc-client v1.0.9 [INFO] [stderr] Compiling alloy-rpc-types-any v1.0.9 [INFO] [stderr] Compiling alloy-rpc-types v1.0.9 [INFO] [stderr] Compiling alloy-network v1.0.9 [INFO] [stderr] Compiling alloy-provider v1.0.9 [INFO] [stderr] Compiling alloy-signer-local v1.0.9 [INFO] [stderr] Compiling alloy-contract v1.0.9 [INFO] [stderr] Compiling alloy v1.0.9 [INFO] [stderr] Compiling etopay-wallet v0.16.1 [INFO] [stderr] Compiling etopay-sdk v0.16.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ViviswapBackendCall` is never constructed [INFO] [stdout] --> src/backend/viviswap.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct ViviswapBackendCall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_query`, `with_body`, `execute_inner`, `execute_parse`, and `execute` are never used [INFO] [stdout] --> src/backend/viviswap.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ViviswapBackendCall { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 38 | pub fn new(config: &Config, access_token: &AccessToken, method: reqwest::Method, url_path: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn with_query(self, query: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_body(self, body: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | async fn execute_inner(self, ok_transform: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub async fn execute_parse serde::Deserialize<'de>>(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn execute(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_viviswap_user` is never used [INFO] [stdout] --> src/backend/viviswap.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | pub async fn create_viviswap_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_kyc_status` is never used [INFO] [stdout] --> src/backend/viviswap.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | pub async fn get_viviswap_kyc_status(config: &Config, access_token: &AccessToken) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_general_details` is never used [INFO] [stdout] --> src/backend/viviswap.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | pub async fn set_viviswap_kyc_general_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_personal_details` is never used [INFO] [stdout] --> src/backend/viviswap.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | pub async fn set_viviswap_kyc_personal_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_identity_details` is never used [INFO] [stdout] --> src/backend/viviswap.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn set_viviswap_kyc_identity_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_residence_details` is never used [INFO] [stdout] --> src/backend/viviswap.rs:316:14 [INFO] [stdout] | [INFO] [stdout] 316 | pub async fn set_viviswap_kyc_residence_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_kyc_amla_open_questions` is never used [INFO] [stdout] --> src/backend/viviswap.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | pub async fn get_viviswap_kyc_amla_open_questions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_amla_answer` is never used [INFO] [stdout] --> src/backend/viviswap.rs:375:14 [INFO] [stdout] | [INFO] [stdout] 375 | pub async fn set_viviswap_kyc_amla_answer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_kyc_open_documents` is never used [INFO] [stdout] --> src/backend/viviswap.rs:406:14 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn get_viviswap_kyc_open_documents( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_kyc_document` is never used [INFO] [stdout] --> src/backend/viviswap.rs:434:14 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn set_viviswap_kyc_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_viviswap_detail` is never used [INFO] [stdout] --> src/backend/viviswap.rs:464:14 [INFO] [stdout] | [INFO] [stdout] 464 | pub async fn delete_viviswap_detail( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_detail` is never used [INFO] [stdout] --> src/backend/viviswap.rs:500:14 [INFO] [stdout] | [INFO] [stdout] 500 | pub async fn set_viviswap_detail( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_details` is never used [INFO] [stdout] --> src/backend/viviswap.rs:536:14 [INFO] [stdout] | [INFO] [stdout] 536 | pub async fn get_viviswap_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_viviswap_contract` is never used [INFO] [stdout] --> src/backend/viviswap.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | pub async fn set_viviswap_contract( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_payment_method` is never used [INFO] [stdout] --> src/backend/viviswap.rs:612:14 [INFO] [stdout] | [INFO] [stdout] 612 | pub async fn get_viviswap_payment_method( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_order` is never used [INFO] [stdout] --> src/backend/viviswap.rs:639:14 [INFO] [stdout] | [INFO] [stdout] 639 | pub async fn get_viviswap_order(config: &Config, access_token: &AccessToken, order_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viviswap_orders` is never used [INFO] [stdout] --> src/backend/viviswap.rs:669:14 [INFO] [stdout] | [INFO] [stdout] 669 | pub async fn get_viviswap_orders( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> src/testing_utils.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use testing::CleanUp; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> src/user/memory_storage.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use testing::CleanUp; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> src/core/config.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | let cleanup = testing::CleanUp::default(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> src/core/config.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 191 | let cleanup = testing::CleanUp::default(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/07_get_balance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/16_get_tx_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/03_create_new_wallet.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> tests/utils/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::CleanUp; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> tests/rt_transaction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use testing::{USER_HANS48, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/14_get_exchange_rate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> tests/utils/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::CleanUp; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> tests/rt_wallet.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/12_change_password.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/08_create_purchase_request.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/11_reset_pin.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/rt_wallet.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | let keycloak_user = testing::KeycloakUser::from(user.clone()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/04_migrate_wallet_from_mnemonic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/rt_wallet.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | let cleanup = testing::CleanUp::default(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/03_create_new_wallet.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/03_create_new_wallet.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/03_create_new_wallet.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/rt_wallet.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | let keycloak_user = testing::KeycloakUser::from(user.clone()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/07_get_balance.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/07_get_balance.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/16_get_tx_list.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/16_get_tx_list.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/03_create_new_wallet.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / sdk.set_wallet_password( [INFO] [stdout] 19 | | &user.pin, [INFO] [stdout] 20 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 21 | | ) [INFO] [stdout] 22 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/03_create_new_wallet.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/rt_wallet.rs:371:19 [INFO] [stdout] | [INFO] [stdout] 371 | let cleanup = testing::CleanUp::default(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/03_create_new_wallet.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let _ = sdk.get_networks().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/03_create_new_wallet.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | sdk.set_network("iota_rebased_testnet".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/03_create_new_wallet.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let _address = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/19_get_wallet_tx_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/rt_wallet.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | let keycloak_user = testing::KeycloakUser::from(user.clone()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/16_get_tx_list.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/16_get_tx_list.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / sdk.set_wallet_password( [INFO] [stdout] 19 | | &user.pin, [INFO] [stdout] 20 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 21 | | ) [INFO] [stdout] 22 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/07_get_balance.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/07_get_balance.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / sdk.set_wallet_password( [INFO] [stdout] 19 | | &user.pin, [INFO] [stdout] 20 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 21 | | ) [INFO] [stdout] 22 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/07_get_balance.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/16_get_tx_list.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/16_get_tx_list.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let tx_list = sdk.get_tx_list(0, 10).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/07_get_balance.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let _ = sdk.get_networks().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/07_get_balance.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | sdk.set_network("iota_rebased_testnet".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/07_get_balance.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let address = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/07_get_balance.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/11_reset_pin.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 14 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/11_reset_pin.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/11_reset_pin.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/11_reset_pin.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / sdk.set_wallet_password( [INFO] [stdout] 23 | | &user.pin, [INFO] [stdout] 24 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 25 | | ) [INFO] [stdout] 26 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/11_reset_pin.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/11_reset_pin.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | sdk.change_pin(&user.pin, &new_pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/11_reset_pin.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | sdk.verify_pin(&new_pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/rt_wallet.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | let user = testing::TestUser::default(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::TestUser; [INFO] [stdout] | [INFO] [stdout] help: if you import `TestUser`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 257 - let user = testing::TestUser::default(); [INFO] [stdout] 257 + let user = TestUser::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/rt_wallet.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | let user = testing::TestUser::default(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::TestUser; [INFO] [stdout] | [INFO] [stdout] help: if you import `TestUser`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 365 - let user = testing::TestUser::default(); [INFO] [stdout] 365 + let user = TestUser::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/rt_wallet.rs:414:16 [INFO] [stdout] | [INFO] [stdout] 414 | let user = testing::TestUser::default(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::TestUser; [INFO] [stdout] | [INFO] [stdout] help: if you import `TestUser`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 414 - let user = testing::TestUser::default(); [INFO] [stdout] 414 + let user = TestUser::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/19_get_wallet_tx_list.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/19_get_wallet_tx_list.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/19_get_wallet_tx_list.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/19_get_wallet_tx_list.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / sdk.set_wallet_password( [INFO] [stdout] 19 | | &user.pin, [INFO] [stdout] 20 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 21 | | ) [INFO] [stdout] 22 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/19_get_wallet_tx_list.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/19_get_wallet_tx_list.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let _ = sdk.get_networks().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/19_get_wallet_tx_list.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | sdk.set_network("iota_rebased_testnet".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/19_get_wallet_tx_list.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let wallet_tx_list = sdk.get_wallet_tx_list(&user.pin, 0, 10).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "16_get_tx_list") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "19_get_wallet_tx_list") due to 13 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/08_create_purchase_request.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 12 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/08_create_purchase_request.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/08_create_purchase_request.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/08_create_purchase_request.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / sdk.set_wallet_password( [INFO] [stdout] 21 | | &user.pin, [INFO] [stdout] 22 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 23 | | ) [INFO] [stdout] 24 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/08_create_purchase_request.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 27 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/08_create_purchase_request.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let _ = sdk.get_networks().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/08_create_purchase_request.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | sdk.set_network("iota_rebased_testnet".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/08_create_purchase_request.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let address = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "03_create_new_wallet") due to 13 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/08_create_purchase_request.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/08_create_purchase_request.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let purchase_id = sdk [INFO] [stdout] | _______________________^ [INFO] [stdout] 49 | | .create_purchase_request("alice", amount, product_hash, app_data, purchase_type) [INFO] [stdout] 50 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "11_reset_pin") due to 12 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/utils/mod.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let access_token = testing::get_access_token(username, &password).await.access_token; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/04_migrate_wallet_from_mnemonic.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/04_migrate_wallet_from_mnemonic.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/04_migrate_wallet_from_mnemonic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/04_migrate_wallet_from_mnemonic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sdk.set_wallet_password( [INFO] [stdout] 17 | | &user.pin, [INFO] [stdout] 18 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 19 | | ) [INFO] [stdout] 20 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/04_migrate_wallet_from_mnemonic.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/04_migrate_wallet_from_mnemonic.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let _ = sdk.get_networks().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/04_migrate_wallet_from_mnemonic.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | sdk.set_network("iota_rebased_testnet".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "07_get_balance") due to 14 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/04_migrate_wallet_from_mnemonic.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let _address = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "08_create_purchase_request") due to 15 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "04_migrate_wallet_from_mnemonic") due to 13 previous errors [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/20_send_compliment.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use testing::USER_HANS34; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/utils/mod.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let access_token = testing::get_access_token(username, &password).await.access_token; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testing::{CleanUp, USER_SATOSHI}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing` [INFO] [stdout] --> examples/01_create_new_user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use testing::USER_SATOSHI; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_transaction.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 15 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 21 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let result = sdk.get_purchase_details(purchase_id).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | let purchase_status = result.unwrap().status; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let result: /* Type */ = sdk.get_purchase_details(purchase_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 12 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let _ = sdk.get_networks().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | sdk.set_network("iota_rebased_testnet".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | / sdk.set_wallet_password( [INFO] [stdout] 34 | | &user.pin, [INFO] [stdout] 35 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 36 | | ) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let result = sdk.generate_new_address(&user.pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | if result.is_ok() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 40 | let result: /* Type */ = sdk.generate_new_address(&user.pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | sdk.set_recovery_share(share).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let result = sdk.generate_new_address(&user.pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | if result.is_ok() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | let result: /* Type */ = sdk.generate_new_address(&user.pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | / sdk.set_wallet_password( [INFO] [stdout] 64 | | &user.pin, [INFO] [stdout] 65 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 66 | | ) [INFO] [stdout] 67 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 70 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let result = sdk.generate_new_address(&user.pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | if result.is_ok() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 73 | let result: /* Type */ = sdk.generate_new_address(&user.pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let address = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/22_init_wallet_from_shares.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_transaction.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 38 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 44 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | let recipient_address = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let result = sdk.send_amount(&user.pin, &recipient_address, amount, None).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | let result: /* Type */ = sdk.send_amount(&user.pin, &recipient_address, amount, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | sdk.refresh_access_token(None).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 14 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sdk.refresh_access_token(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(!sdk.is_wallet_password_set().await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | sdk.set_wallet_password(&user.pin, &new_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | [INFO] [stdout] 36 | sdk.refresh_access_token(None).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 34 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | sdk.refresh_access_token(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | assert!(!sdk.is_wallet_password_set().await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | sdk.set_wallet_password(&user.pin, &new_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_transaction.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | [INFO] [stdout] 63 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 61 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 67 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let result = sdk.get_tx_list(0, 10).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | let tx_list = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let result: /* Type */ = sdk.get_tx_list(0, 10).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | [INFO] [stdout] 54 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 52 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let result = sdk.create_wallet_from_new_mnemonic(&user.pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | let mnemonic = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let result: /* Type */ = sdk.create_wallet_from_new_mnemonic(&user.pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | sdk.refresh_access_token(None).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 70 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | sdk.refresh_access_token(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_transaction.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | [INFO] [stdout] 85 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let result = sdk.create_wallet_from_new_mnemonic(&user.pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | let mnemonic = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 80 | let result: /* Type */ = sdk.create_wallet_from_new_mnemonic(&user.pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 89 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let _address = sdk.generate_new_address(&user.pin).await.unwrap(); // this is needed, otherwise the balance will be 0 and tx wil... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | [INFO] [stdout] 93 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 91 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let mnemonic = sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let purchase_id = sdk [INFO] [stdout] | _______________________^ [INFO] [stdout] 103 | | .create_purchase_request("alice", amount, product_hash, app_data, purchase_type) [INFO] [stdout] 104 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let result = sdk.verify_mnemonic(&user.pin, &mnemonic).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 99 | let result: /* Type */ = sdk.verify_mnemonic(&user.pin, &mnemonic).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | [INFO] [stdout] 112 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 110 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 117 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let result = sdk.generate_new_address(&user.pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 121 | let result: /* Type */ = sdk.generate_new_address(&user.pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | [INFO] [stdout] 133 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 131 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let result = sdk.generate_new_address(&user.pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | let address = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 140 | let result: /* Type */ = sdk.generate_new_address(&user.pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | let details = sdk.get_purchase_details(&purchase_id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | [INFO] [stdout] 153 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 151 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let _ = sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | sdk.confirm_purchase_request(&user.pin, &purchase_id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | let status = sdk.get_purchase_details(&purchase_id).await.unwrap().status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let result = sdk.get_balance(&user.pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | let balance = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 159 | let result: /* Type */ = sdk.get_balance(&user.pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | [INFO] [stdout] 172 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 170 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_transaction.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | sdk.set_network("iota_rebased_mainnet".to_string()).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 162 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | sdk.set_network("iota_rebased_mainnet".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let _ = sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let result = sdk.get_balance(&wrong_pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | let error = result.unwrap_err(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 180 | let result: /* Type */ = sdk.get_balance(&wrong_pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 195 | [INFO] [stdout] 196 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 194 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/12_change_password.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 10 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 171 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | let _address = sdk.generate_new_address(&user.pin).await.unwrap(); // this is needed, otherwise the balance will be 0 and tx wi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let _ = sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | let purchase_id = sdk [INFO] [stdout] | _______________________^ [INFO] [stdout] 185 | | .create_purchase_request( [INFO] [stdout] 186 | | "vivi", // vivi is not verified [INFO] [stdout] 187 | | amount, [INFO] [stdout] ... | [INFO] [stdout] 192 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let result = sdk.create_wallet_backup(&user.pin, &backup_password).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | let backup = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 203 | let result: /* Type */ = sdk.create_wallet_backup(&user.pin, &backup_password).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:201:27 [INFO] [stdout] | [INFO] [stdout] 201 | let details = sdk.get_purchase_details(&purchase_id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 215 | [INFO] [stdout] 216 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 214 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/12_change_password.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let _ = sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let result = sdk.change_pin(&user.pin, &new_pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 223 | let result: /* Type */ = sdk.change_pin(&user.pin, &new_pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_transaction.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let res = sdk.confirm_purchase_request(&user.pin, &purchase_id).await; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | res.unwrap_err(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 218 | let res: /* Type */ = sdk.confirm_purchase_request(&user.pin, &purchase_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/12_change_password.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | [INFO] [stdout] 235 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 233 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/12_change_password.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / sdk.set_wallet_password( [INFO] [stdout] 19 | | &user.pin, [INFO] [stdout] 20 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 21 | | ) [INFO] [stdout] 22 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/12_change_password.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/12_change_password.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | sdk.set_wallet_password(&user.pin, &new_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/12_change_password.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let _ = sdk.get_networks().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/12_change_password.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | sdk.set_network("iota_rebased_testnet".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/12_change_password.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | let _address = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 240 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let result = sdk.get_wallet_tx_list(&user.pin, 0, 10).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | let txs = result.unwrap().transactions; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 244 | let result: /* Type */ = sdk.get_wallet_tx_list(&user.pin, 0, 10).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | keycloak_user.create().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 263 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 262 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "22_init_wallet_from_shares") due to 19 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | sdk.delete_wallet(&user.pin).await.unwrap(); // make sure the wallet does not exist [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let result = sdk.get_balance(&user.pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | let error = result.unwrap_err(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 270 | let result: /* Type */ = sdk.get_balance(&user.pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | keycloak_user.delete().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 292 | [INFO] [stdout] 293 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 291 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | sdk.create_wallet_from_new_mnemonic(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | let result = sdk.delete_wallet(&user.pin).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 299 | let result: /* Type */ = sdk.delete_wallet(&user.pin).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let (mut sdk, cleanup) = init_sdk_with_cleanup(&user.username, cleanup).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 315 | sdk.refresh_access_token(None).await.unwrap(); // reset the access token [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 314 | let (mut sdk, cleanup): (_, _) = init_sdk_with_cleanup(&user.username, cleanup).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | sdk.refresh_access_token(None).await.unwrap(); // reset the access token [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 323 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:327:26 [INFO] [stdout] | [INFO] [stdout] 327 | let recovery_share = sdk.get_recovery_share().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | let (mut sdk, _cleanup) = init_sdk_with_cleanup(&user.username, cleanup).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 334 | sdk.refresh_access_token(None).await.unwrap(); // reset the access token [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 333 | let (mut sdk, _cleanup): (_, _) = init_sdk_with_cleanup(&user.username, cleanup).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | sdk.refresh_access_token(None).await.unwrap(); // reset the access token [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | sdk.set_recovery_share(recovery_share).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | let _ = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 355 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | keycloak_user.create().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/utils/mod.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/utils/mod.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | let (mut sdk, cleanup) = init_sdk_with_cleanup(&user.username, cleanup).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 374 | let (mut sdk, cleanup): (_, _) = init_sdk_with_cleanup(&user.username, cleanup).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 384 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | let (mut sdk, cleanup) = init_sdk_with_cleanup(&user.username, cleanup).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 392 | [INFO] [stdout] 393 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 391 | let (mut sdk, cleanup): (_, _) = init_sdk_with_cleanup(&user.username, cleanup).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let _ = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:401:19 [INFO] [stdout] | [INFO] [stdout] 401 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | keycloak_user.delete().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | keycloak_user.create().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/rt_wallet.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (test "rt_transaction") due to 46 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/transaction.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | srv.mock("POST", "/api/transactions/create") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 468 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | let (mut sdk, _cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 430 | [INFO] [stdout] 431 | sdk.refresh_access_token(Some(access_token.clone())).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 429 | let (mut sdk, _cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | sdk.refresh_access_token(Some(access_token.clone())).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "12_change_password") due to 14 previous errors [INFO] [stderr] error: could not compile `etopay-sdk` (example "utils") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 439 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | let (mut sdk, cleanup) = init_sdk(&user.username).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 447 | { [INFO] [stdout] 448 | sdk.create_new_user(&user.username).await.unwrap(); // recreate user since we cleaned the db [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 446 | let (mut sdk, cleanup): (_, _) = init_sdk(&user.username).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | sdk.create_new_user(&user.username).await.unwrap(); // recreate user since we cleaned the db [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | sdk.set_wallet_password(&user.pin, &user.wallet_password).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | let _ = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:455:23 [INFO] [stdout] | [INFO] [stdout] 455 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/rt_wallet.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | let (mut sdk, cleanup) = init_sdk_with_cleanup(&user.username, cleanup).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 464 | [INFO] [stdout] 465 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 463 | let (mut sdk, cleanup): (_, _) = init_sdk_with_cleanup(&user.username, cleanup).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | let _ = sdk.generate_new_address(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rt_wallet.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 478 | keycloak_user.delete().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/transaction.rs:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 595 | srv.mock("GET", "/api/transactions/details?index=123") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 535 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/14_get_exchange_rate.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/14_get_exchange_rate.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/14_get_exchange_rate.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/14_get_exchange_rate.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let _ = sdk.get_networks().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/14_get_exchange_rate.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | sdk.set_network("iota_rebased_testnet".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/14_get_exchange_rate.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let exchange_rate = sdk.get_exchange_rate().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/01_create_new_user.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/01_create_new_user.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/01_create_new_user.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/utils/mod.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> tests/utils/mod.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "14_get_exchange_rate") due to 11 previous errors [INFO] [stderr] error: could not compile `etopay-sdk` (example "01_create_new_user") due to 8 previous errors [INFO] [stderr] error: could not compile `etopay-sdk` (test "rt_wallet") due to 144 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let access_token = testing::get_access_token(&user.username, &user.password) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/transaction.rs:675:13 [INFO] [stdout] | [INFO] [stdout] 675 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 693 | srv.mock("GET", "/api/transactions/details?index=123") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 675 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/transaction.rs:882:13 [INFO] [stdout] | [INFO] [stdout] 882 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 904 | srv.mock("GET", "/api/transactions/txs-details") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 882 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/20_send_compliment.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let access_token = testing::get_access_token(&user.username, user.password.as_str()) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/20_send_compliment.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut sdk, _cleanup) = init_sdk().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | sdk.refresh_access_token(Some(access_token)).await.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 15 | let (mut sdk, _cleanup): (_, _) = init_sdk().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | sdk.refresh_access_token(Some(access_token)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | sdk.create_new_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | sdk.init_user(&user.username).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / sdk.set_wallet_password( [INFO] [stdout] 32 | | &user.pin, [INFO] [stdout] 33 | | &PlainPassword::try_from_string("correcthorsebatterystaple").unwrap(), [INFO] [stdout] 34 | | ) [INFO] [stdout] 35 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / sdk.create_wallet_from_existing_mnemonic(&user.pin, &user.mnemonic) [INFO] [stdout] 38 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let _ = sdk.get_networks().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | sdk.set_network("iota_rebased_testnet".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let address = sdk.generate_new_address(&user.pin).await.unwrap(); // this is needed, otherwise the balance will be 0 and tx will... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | let purchase_id = sdk [INFO] [stdout] | _______________________^ [INFO] [stdout] 57 | | .create_purchase_request("alice", amount, product_hash, app_data, purchase_type) [INFO] [stdout] 58 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | let details = sdk.get_purchase_details(&purchase_id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | sdk.confirm_purchase_request(&user.pin, &purchase_id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let status = sdk.get_purchase_details(&purchase_id).await.unwrap().status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/20_send_compliment.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | let balance = sdk.get_balance(&user.pin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/user.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | srv.mock("DELETE", "/api/user") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 352 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/user.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | srv.mock("GET", "/api/kyc/check-status") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 421 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/user.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | srv.mock("GET", "/api/kyc/check-status") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 482 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(value: testing::TestUser) -> Self { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> examples/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | impl From for TestUser { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/user.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | srv.mock("PUT", "/api/user/network") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 543 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/user.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | srv.mock("GET", "/api/user/network") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 593 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (example "20_send_compliment") due to 21 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/wallet.rs:1093:13 [INFO] [stdout] | [INFO] [stdout] 1093 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1126 | srv.mock("PUT", "/api/user/address") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1093 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/exchange.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | srv.mock("GET", "/api/courses") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 56 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/mod.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | srv.mock("GET", "/api/config/networks") [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 258 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/dlt.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | let mock = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 208 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/dlt.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 254 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/dlt.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 305 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/kyc.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 94 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/shares.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 281 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/shares.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 332 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/shares.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 381 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/shares.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 430 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/transactions.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 294 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/transactions.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 357 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/transactions.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 404 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/transactions.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 450 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/user.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 183 | [INFO] [stdout] 184 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 182 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/user.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 220 | [INFO] [stdout] 221 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 219 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/user.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 263 | [INFO] [stdout] 264 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 262 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 825 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 812 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:867:13 [INFO] [stdout] | [INFO] [stdout] 867 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 871 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 867 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:912:13 [INFO] [stdout] | [INFO] [stdout] 912 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 924 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 912 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:960:13 [INFO] [stdout] | [INFO] [stdout] 960 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 968 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 960 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1005:13 [INFO] [stdout] | [INFO] [stdout] 1005 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1006 | [INFO] [stdout] 1007 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1005 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1048:13 [INFO] [stdout] | [INFO] [stdout] 1048 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1058 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1048 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1105:13 [INFO] [stdout] | [INFO] [stdout] 1105 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1109 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1105 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1157:13 [INFO] [stdout] | [INFO] [stdout] 1157 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1171 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1157 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1224:13 [INFO] [stdout] | [INFO] [stdout] 1224 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1229 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1224 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1269:13 [INFO] [stdout] | [INFO] [stdout] 1269 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1273 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1269 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1314:13 [INFO] [stdout] | [INFO] [stdout] 1314 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1319 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1314 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1360:13 [INFO] [stdout] | [INFO] [stdout] 1360 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1369 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1360 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1406:13 [INFO] [stdout] | [INFO] [stdout] 1406 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1411 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1406 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1451:13 [INFO] [stdout] | [INFO] [stdout] 1451 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1456 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1451 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1496:13 [INFO] [stdout] | [INFO] [stdout] 1496 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1501 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1496 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1541:13 [INFO] [stdout] | [INFO] [stdout] 1541 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1546 | let mut mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1541 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> src/backend/viviswap.rs:1586:13 [INFO] [stdout] | [INFO] [stdout] 1586 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | let mock_server = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1586 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, core::config::Config, _)` [INFO] [stdout] --> src/core/exchange.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let (mut srv, config, _cleanup) = set_config().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | let get_exchange_rate = srv [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 110 | let (mut srv, config, _cleanup): (_, _, _) = set_config().await; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> src/core/config.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn new_test_with_cleanup() -> (Self, testing::CleanUp) { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testing` [INFO] [stdout] --> src/core/config.rs:190:59 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new_test_with_cleanup_url(url: &str) -> (Self, testing::CleanUp) { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testing`, use `cargo add testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `etopay-sdk` (lib test) due to 51 previous errors [INFO] running `Command { std: "docker" "inspect" "c28b81e8b4bfc2a4e33a240b829f40246c6aad0b8ed08e4b81c5a32a5db24b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28b81e8b4bfc2a4e33a240b829f40246c6aad0b8ed08e4b81c5a32a5db24b0e", kill_on_drop: false }` [INFO] [stdout] c28b81e8b4bfc2a4e33a240b829f40246c6aad0b8ed08e4b81c5a32a5db24b0e