[INFO] cloning repository https://github.com/demigohu/Fintrack_new [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/demigohu/Fintrack_new" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemigohu%2FFintrack_new", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemigohu%2FFintrack_new'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75265a564269a6ff1ca6b7c7f9fa1ebef839db23 [INFO] building demigohu/Fintrack_new against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemigohu%2FFintrack_new" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/demigohu/Fintrack_new [INFO] finished tweaking git repo https://github.com/demigohu/Fintrack_new [INFO] tweaked toml for git repo https://github.com/demigohu/Fintrack_new written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/demigohu/Fintrack_new on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/demigohu/Fintrack_new 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f996c6598b2015bea7e308c24bb7b0019d45321e49c22960582f6e8bf52036b [INFO] running `Command { std: "docker" "start" "-a" "5f996c6598b2015bea7e308c24bb7b0019d45321e49c22960582f6e8bf52036b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f996c6598b2015bea7e308c24bb7b0019d45321e49c22960582f6e8bf52036b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f996c6598b2015bea7e308c24bb7b0019d45321e49c22960582f6e8bf52036b", kill_on_drop: false }` [INFO] [stdout] 5f996c6598b2015bea7e308c24bb7b0019d45321e49c22960582f6e8bf52036b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0133666a3866d8d085a3cd83ce0947ea6a3f7465ea752f430d977f43d759e132 [INFO] running `Command { std: "docker" "start" "-a" "0133666a3866d8d085a3cd83ce0947ea6a3f7465ea752f430d977f43d759e132", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling const-hex v1.16.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ic-cdk-executor v1.0.2 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling syn-solidity v0.7.7 [INFO] [stderr] Compiling ic0 v1.0.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.12 [INFO] [stderr] Compiling candid_derive v0.10.19 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling alloy-rlp v0.3.12 [INFO] [stderr] Compiling ruint v1.16.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling alloy-sol-macro-input v0.7.7 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling alloy-sol-macro-expander v0.7.7 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ic-sha3 v1.0.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling alloy-primitives v0.7.7 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling candid v0.10.19 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling alloy-eips v0.1.4 [INFO] [stderr] Compiling alloy-sol-macro v0.7.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling alloy-sol-types v0.7.6 [INFO] [stderr] Compiling ic-ethereum-types v1.0.0 (https://github.com/dfinity/ic?tag=release-2025-07-03_03-27-base#e915efec) [INFO] [stderr] Compiling ic-secp256k1 v0.1.0 (https://github.com/dfinity/ic?tag=release-2025-07-03_03-27-base#e915efec) [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling alloy-consensus v0.1.4 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling ic-sha3 v1.0.0 (https://github.com/dfinity/ic?tag=release-2025-07-03_03-27-base#e915efec) [INFO] [stderr] Compiling ic-stable-structures v0.5.6 [INFO] [stderr] Compiling ic-management-canister-types v0.3.3 [INFO] [stderr] Compiling ic-cdk-macros v0.18.7 [INFO] [stderr] Compiling ic-cdk v0.18.7 [INFO] [stderr] Compiling ic-cdk-timers v0.12.2 [INFO] [stderr] Compiling fintrack_backend v0.1.0 (/opt/rustwide/workdir/fintrack_backend) [INFO] [stdout] warning: unused imports: `GetBlockHeadersRequest`, `GetBlockHeadersResponse`, `bitcoin_get_current_fee_percentiles`, and `bitcoin_get_utxos` [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{bitcoin_get_utxos, bitcoin_get_current_fee_percentiles, GetUtxosRequest, GetUtxosResponse, GetCurrentFeePercentilesRequest, GetBlockHeadersRequest, GetBlockHeadersResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTag`, `CallArgs`, `MultiCallResult`, `RpcConfig`, `RpcServices`, and `TransactionRequest` [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::services::evm_rpc_canister::{RpcServices, RpcConfig, JsonRpcSource, CallArgs, MultiCallResult, TransactionRequest, BlockTag}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bitcoin_get_balance`, `bitcoin_get_current_fee_percentiles`, `bitcoin_get_utxos`, and `bitcoin_send_transaction` [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | bitcoin_get_utxos, bitcoin_send_transaction, bitcoin_get_current_fee_percentiles, bitcoin_get_balance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `call` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::{call, call_with_payment128}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Zero` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use num_traits::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize as SerdeDeserialize` [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize as SerdeDeserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::http_request::HttpMethod`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:58 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:91 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::http_request::HttpMethod`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | TransformArgs, HttpResponse, TransformContext, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | TransformArgs, HttpResponse, TransformContext, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | TransformArgs, HttpResponse, TransformContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/lib.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::api::management_canister::http_request::{TransformArgs, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/lib.rs:4:69 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::api::management_canister::http_request::{TransformArgs, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let (address,): (String,) = call_with_payment128(minter, "get_btc_address", arg, 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::{call, call_with_payment128}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::{call, call_with_payment128}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | let (res,): (UpdateResult,) = call_with_payment128(minter, "update_balance", arg, 5_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:105 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | let (contract_address,): (String,) = call_with_payment128(minter, "smart_contract_address", (), 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let caller = ic_cdk::caller(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | let (balance,): (Nat,) = call_with_payment128(ledger, "icrc1_balance_of", arg, 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | let (address,): (String,) = call_with_payment128(minter, "minter_address", (), 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | let (info,): (MinterInfoPartial,) = call_with_payment128(minter, "get_minter_info", (), 2_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn transform(args: TransformArgs) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | let (fee_info,): (String,) = call_with_payment128(minter, "eip_1559_transaction_price", (None::>,), 2_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn transform(args: TransformArgs) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::{caller}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | let caller = ic_cdk::caller(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | let (balance,): (Nat,) = call_with_payment128(ledger, "icrc1_balance_of", arg, 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | let (fee_history_result,): (String,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | ic_cdk::call::<_, (Result,)>(token, "icrc2_transfer_from", (arg,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | ic_cdk::call::<_, (Result,)>(token, "icrc1_transfer", (arg,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | let (fee,): (Nat,) = ic_cdk::api::call::call_with_payment128(token, "icrc1_fee", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | Account { owner: ic_cdk::id(), subaccount: Some(sub.to_vec()) } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | let owner = caller(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:300:36 [INFO] [stdout] | [INFO] [stdout] 300 | let who = owner.unwrap_or_else(caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:403:36 [INFO] [stdout] | [INFO] [stdout] 403 | let who = owner.unwrap_or_else(caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:416:29 [INFO] [stdout] | [INFO] [stdout] 416 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:426:29 [INFO] [stdout] | [INFO] [stdout] 426 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:499:29 [INFO] [stdout] | [INFO] [stdout] 499 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:539:25 [INFO] [stdout] | [INFO] [stdout] 539 | Some(o) if o == caller() => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:554:29 [INFO] [stdout] | [INFO] [stdout] 554 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:567:29 [INFO] [stdout] | [INFO] [stdout] 567 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:590:156 [INFO] [stdout] | [INFO] [stdout] 590 | ...om(0u32)), Nat(num::BigUint::from(0u32)), Account{ owner: ic_cdk::id(), subaccount: None }) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:594:17 [INFO] [stdout] | [INFO] [stdout] 594 | if owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:626:29 [INFO] [stdout] | [INFO] [stdout] 626 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:638:29 [INFO] [stdout] | [INFO] [stdout] 638 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | if owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::{caller, api::time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/lib.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | ic_cdk::export_candid!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `::candid::export_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::ecdsa::EcdsaCurve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:83 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:95 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/lib.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | ic_cdk::export_candid!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `::candid::export_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | let (response,): (GetUtxosResponse,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | HttpHeader { name: "Content-Type".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:187:85 [INFO] [stdout] | [INFO] [stdout] 187 | let (fee_percentiles,): (Vec,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | ic_cdk::call::<_, (Result,)>(token, "icrc2_transfer_from", (arg,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:44:104 [INFO] [stdout] | [INFO] [stdout] 44 | let (cost_result,): (Result,) = ic_cdk::api::call::call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:223:53 [INFO] [stdout] | [INFO] [stdout] 223 | let (utxo_response,): (GetUtxosResponse,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | impl From for EcdsaPublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 222 | let owner = owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | let (result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:321:50 [INFO] [stdout] | [INFO] [stdout] 321 | let owner = req.owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | let (result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:449:50 [INFO] [stdout] | [INFO] [stdout] 449 | let owner = req.owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:502:21 [INFO] [stdout] | [INFO] [stdout] 502 | let (result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:554:46 [INFO] [stdout] | [INFO] [stdout] 554 | let owner = owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:570:33 [INFO] [stdout] | [INFO] [stdout] 570 | let (gas_price_response,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | fn from(value: EcdsaPublicKeyResponse) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let args = EcdsaPublicKeyArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | key_id: EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | let (res,) = ecdsa_public_key(args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | let key_id = EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:167:66 [INFO] [stdout] | [INFO] [stdout] 167 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:167:82 [INFO] [stdout] | [INFO] [stdout] 167 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | let arg = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::POST`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | method: HttpMethod::POST, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:283:84 [INFO] [stdout] | [INFO] [stdout] 283 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, 2_500_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:283:67 [INFO] [stdout] | [INFO] [stdout] 283 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, 2_500_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | let arg = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::GET`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:308:29 [INFO] [stdout] | [INFO] [stdout] 308 | method: HttpMethod::GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:314:84 [INFO] [stdout] | [INFO] [stdout] 314 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, cycles).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:314:67 [INFO] [stdout] | [INFO] [stdout] 314 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, cycles).await [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | ic_cdk::call::<_, (Result,)>(token, "icrc1_transfer", (arg,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | let (fee,): (Nat,) = ic_cdk::api::call::call_with_payment128(token, "icrc1_fee", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:133:81 [INFO] [stdout] | [INFO] [stdout] 133 | fn canister_escrow_account(sub: [u8; 32]) -> Account { Account { owner: ic_cdk::id(), subaccount: Some(sub.to_vec()) } } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let owner = caller(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | let who = owner.unwrap_or_else(caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | if gi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | if gi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:349:29 [INFO] [stdout] | [INFO] [stdout] 349 | if gi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:71 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::ecdsa::EcdsaCurve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:83 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:95 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:43:79 [INFO] [stdout] | [INFO] [stdout] 43 | let (cost_result,): (Result,) = ic_cdk::api::call::call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | impl From for EcdsaPublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:280:54 [INFO] [stdout] | [INFO] [stdout] 280 | let owner = request.owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 339 | let (result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:429:33 [INFO] [stdout] | [INFO] [stdout] 429 | let (gas_price_response,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:460:32 [INFO] [stdout] | [INFO] [stdout] 460 | let (base_fee_response,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:334:22 [INFO] [stdout] | [INFO] [stdout] 334 | headers.push(HttpHeader { name, value }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | let arg = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::GET`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:351:29 [INFO] [stdout] | [INFO] [stdout] 351 | method: HttpMethod::GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | transform: Some(TransformContext::from_name("moralis_transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:357:84 [INFO] [stdout] | [INFO] [stdout] 357 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, cycles).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:357:67 [INFO] [stdout] | [INFO] [stdout] 357 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, cycles).await [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:484:54 [INFO] [stdout] | [INFO] [stdout] 484 | let (result,): (GetAccountTransactionsResult,) = call_with_payment128(index, "get_account_transactions", arg, 5_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | let (result,): (GetAccountTransactionsResult,) = call_with_payment128(index, "get_account_transactions", arg, 5_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1007:32 [INFO] [stdout] | [INFO] [stdout] 1007 | pub fn moralis_transform(args: TransformArgs) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1007:50 [INFO] [stdout] | [INFO] [stdout] 1007 | pub fn moralis_transform(args: TransformArgs) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1011:26 [INFO] [stdout] | [INFO] [stdout] 1011 | Err(_) => return HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1023:43 [INFO] [stdout] | [INFO] [stdout] 1023 | Ok(deterministic_json) => HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1028:27 [INFO] [stdout] | [INFO] [stdout] 1028 | Err(_) => HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1037:13 [INFO] [stdout] | [INFO] [stdout] 1037 | HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1069:114 [INFO] [stdout] | [INFO] [stdout] 1069 | let (cost_result,): (Result,) = ic_cdk::api::call::call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1124:74 [INFO] [stdout] | [INFO] [stdout] 1124 | let (result,): (crate::services::evm_rpc_canister::RequestResult,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1502:30 [INFO] [stdout] | [INFO] [stdout] 1502 | let (balance,): (Nat,) = call_with_payment128(ledger, "icrc1_balance_of", arg, 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:545:23 [INFO] [stdout] | [INFO] [stdout] 545 | let (response,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1516:30 [INFO] [stdout] | [INFO] [stdout] 1516 | let (balance,): (Nat,) = call_with_payment128(ledger, "icrc1_balance_of", arg, 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:579:46 [INFO] [stdout] | [INFO] [stdout] 579 | let owner = owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:589:21 [INFO] [stdout] | [INFO] [stdout] 589 | let (result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let request = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::GET`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | method: HttpMethod::GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | match mgmt_http_request(request, 100_000_000).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let request = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::GET`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | method: HttpMethod::GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | let (btc, eth, sol) = match mgmt_http_request(request, 100_000_000).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | let request = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::GET`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | method: HttpMethod::GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | fn from(value: EcdsaPublicKeyResponse) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | match mgmt_http_request(request, 600_000_000).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | let args = EcdsaPublicKeyArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | key_id: EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:175:36 [INFO] [stdout] | [INFO] [stdout] 175 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let (res,) = ecdsa_public_key(args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | let key_id = EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:204:66 [INFO] [stdout] | [INFO] [stdout] 204 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:204:82 [INFO] [stdout] | [INFO] [stdout] 204 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::management_canister::ecdsa::{ecdsa_public_key, EcdsaKeyId, EcdsaPublicKeyArgument}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::management_canister::ecdsa::{ecdsa_public_key, EcdsaKeyId, EcdsaPublicKeyArgument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:2:77 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::management_canister::ecdsa::{ecdsa_public_key, EcdsaKeyId, EcdsaPublicKeyArgument}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | let args = EcdsaPublicKeyArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | key_id: EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:20:73 [INFO] [stdout] | [INFO] [stdout] 20 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let (res,) = ecdsa_public_key(args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/address.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | let owner = owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/address.rs:51:51 [INFO] [stdout] | [INFO] [stdout] 51 | let owner = owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use ic_cdk::api::call::CallResult as Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | let (response,): (ic_cdk::bitcoin_canister::GetUtxosResponse,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 80 | let (fee_percentiles,): (Vec,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | let (balance,): (u64,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:119:57 [INFO] [stdout] | [INFO] [stdout] 119 | let args = ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:122:58 [INFO] [stdout] | [INFO] [stdout] 122 | key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:123:73 [INFO] [stdout] | [INFO] [stdout] 123 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | let (res,) = ic_cdk::api::management_canister::ecdsa::ecdsa_public_key(args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:141:74 [INFO] [stdout] | [INFO] [stdout] 141 | let (signature_response,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 142 | ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:145:62 [INFO] [stdout] | [INFO] [stdout] 145 | key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:146:77 [INFO] [stdout] | [INFO] [stdout] 146 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:352:51 [INFO] [stdout] | [INFO] [stdout] 352 | let owner = owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:431:59 [INFO] [stdout] | [INFO] [stdout] 431 | let owner = request.owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:503:43 [INFO] [stdout] | [INFO] [stdout] 503 | let send_result: Result<(), String> = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:401:43 [INFO] [stdout] | [INFO] [stdout] 401 | let (result,): (SwapAmountsResult,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:420:45 [INFO] [stdout] | [INFO] [stdout] 420 | let (result,): (Result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:436:40 [INFO] [stdout] | [INFO] [stdout] 436 | let (result,): (RequestsResult,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:374:98 [INFO] [stdout] | [INFO] [stdout] 374 | pub async fn eth_call(&self, arg0: &RpcServices, arg1: &Option, arg2: &CallArgs) -> Result<(MultiCallResult,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:375:24 [INFO] [stdout] | [INFO] [stdout] 375 | ic_cdk::api::call::call_with_payment128(self.0, "eth_call", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:377:111 [INFO] [stdout] | [INFO] [stdout] 377 | pub async fn eth_fee_history(&self, arg0: &RpcServices, arg1: &Option, arg2: &FeeHistoryArgs) -> Result<(MultiFeeHistoryResu... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:378:24 [INFO] [stdout] | [INFO] [stdout] 378 | ic_cdk::api::call::call_with_payment128(self.0, "eth_feeHistory", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:380:113 [INFO] [stdout] | [INFO] [stdout] 380 | pub async fn eth_get_block_by_number(&self, arg0: &RpcServices, arg1: &Option, arg2: &BlockTag) -> Result<(MultiGetBlockByNu... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | ic_cdk::api::call::call_with_payment128(self.0, "eth_getBlockByNumber", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:383:105 [INFO] [stdout] | [INFO] [stdout] 383 | pub async fn eth_get_logs(&self, arg0: &RpcServices, arg1: &Option, arg2: &GetLogsArgs) -> Result<(MultiGetLogsResult,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:384:24 [INFO] [stdout] | [INFO] [stdout] 384 | ic_cdk::api::call::call_with_payment128(self.0, "eth_getLogs", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:386:130 [INFO] [stdout] | [INFO] [stdout] 386 | ...s, arg1: &Option, arg2: &GetTransactionCountArgs) -> Result<(MultiGetTransactionCountResult,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:387:24 [INFO] [stdout] | [INFO] [stdout] 387 | ic_cdk::api::call::call_with_payment128(self.0, "eth_getTransactionCount", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:389:115 [INFO] [stdout] | [INFO] [stdout] 389 | pub async fn eth_get_transaction_receipt(&self, arg0: &RpcServices, arg1: &Option, arg2: &String) -> Result<(MultiGetTransac... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:390:24 [INFO] [stdout] | [INFO] [stdout] 390 | ic_cdk::api::call::call_with_payment128(self.0, "eth_getTransactionReceipt", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:392:112 [INFO] [stdout] | [INFO] [stdout] 392 | pub async fn eth_send_raw_transaction(&self, arg0: &RpcServices, arg1: &Option, arg2: &String) -> Result<(MultiSendRawTransa... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:393:24 [INFO] [stdout] | [INFO] [stdout] 393 | ic_cdk::api::call::call_with_payment128(self.0, "eth_sendRawTransaction", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:397:38 [INFO] [stdout] | [INFO] [stdout] 397 | pub async fn get_metrics(&self) -> Result<(Metrics,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:398:24 [INFO] [stdout] | [INFO] [stdout] 398 | ic_cdk::api::call::call_with_payment128(self.0, "getMetrics", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | pub async fn get_nodes_in_subnet(&self) -> Result<(u32,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:401:24 [INFO] [stdout] | [INFO] [stdout] 401 | ic_cdk::api::call::call_with_payment128(self.0, "getNodesInSubnet", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:403:40 [INFO] [stdout] | [INFO] [stdout] 403 | pub async fn get_providers(&self) -> Result<(Vec,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:404:24 [INFO] [stdout] | [INFO] [stdout] 404 | ic_cdk::api::call::call_with_payment128(self.0, "getProviders", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:406:51 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn get_service_provider_map(&self) -> Result<(Vec<(RpcService,ProviderId,)>,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:407:24 [INFO] [stdout] | [INFO] [stdout] 407 | ic_cdk::api::call::call_with_payment128(self.0, "getServiceProviderMap", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:409:80 [INFO] [stdout] | [INFO] [stdout] 409 | pub async fn request(&self, arg0: &RpcService, arg1: &String, arg2: &u64) -> Result<(RequestResult,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | ic_cdk::api::call::call_with_payment128(self.0, "request", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:412:85 [INFO] [stdout] | [INFO] [stdout] 412 | pub async fn request_cost(&self, arg0: &RpcService, arg1: &String, arg2: &u64) -> Result<(RequestCostResult,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | ic_cdk::api::call::call_with_payment128(self.0, "requestCost", (arg0,arg1,arg2,), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:415:84 [INFO] [stdout] | [INFO] [stdout] 415 | pub async fn update_api_keys(&self, arg0: &Vec<(ProviderId,Option,)>) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 416 | ic_cdk::api::call::call_with_payment128(self.0, "updateApiKeys", (arg0,), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::canister_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | canister_id: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | derivation_path: principal_derivation_path(&owner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | / key_id: EcdsaKeyId { [INFO] [stdout] 138 | | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] 139 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 140 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::message_hash`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | message_hash: message_hash.to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | derivation_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | key_id, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaResponse::signature`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | let signature_length = result.signature.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaResponse::signature`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | let signature = <[u8; 64]>::try_from(result.signature).unwrap_or_else(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available` [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:423:24 [INFO] [stdout] | [INFO] [stdout] 423 | let (asset, owner, available, escrow, start, end, period_locked, unlocked_so_far) = BUDGETS.with(|b| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::canister_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | canister_id: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | derivation_path: principal_derivation_path(owner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / key_id: EcdsaKeyId { [INFO] [stdout] 20 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] 21 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 22 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(res.public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | if let Some(mut bi) = map.get_mut(&id) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_kind` [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:679:5 [INFO] [stdout] | [INFO] [stdout] 679 | asset_kind: AssetKind, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_address` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | let to_address = Address::from_str(&req.to) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_transaction_hash` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let raw_transaction_hash = *signed_tx.hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_transaction_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `own_public_key` [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | let own_public_key = PublicKey::from_slice(&public_key_bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_own_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slow_fee_rate` [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | let slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 382 | let _slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SEC_PER_DAY` [INFO] [stdout] | [INFO] [stdout] 382 - let slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stdout] 382 + let services::timers::SEC_PER_DAY = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::canister_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | canister_id: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | derivation_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | / key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] 123 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] 124 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 125 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | Ok(res.public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | HttpHeader { name: "Content-Type".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::message_hash`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | message_hash, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | derivation_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | / key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] 146 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] 147 | | name: key_name, [INFO] [stdout] 148 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | name: key_name, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaResponse::signature`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | SecpSignature::from_compact(&signature_response.signature).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:272:51 [INFO] [stdout] | [INFO] [stdout] 272 | HttpHeader { name: "Content-Type".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:273:45 [INFO] [stdout] | [INFO] [stdout] 273 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | url: url.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | method: HttpMethod::POST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | body: Some(body.into_bytes()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | max_response_bytes: Some(max_response_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | transform: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:95:45 [INFO] [stdout] | [INFO] [stdout] 95 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:96:56 [INFO] [stdout] | [INFO] [stdout] 96 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | url, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | method: HttpMethod::GET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | body: None, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | max_response_bytes: Some(4000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ic_cdk::api::management_canister::http_request::TransformContext::from_name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | let str_body = String::from_utf8(response.body).map_err(|_| "Failed to decode response body".to_string())?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | String::from_utf8(resp.body).map_err(|_| "Failed to decode response body".to_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::canister_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | canister_id: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | derivation_path: principal_derivation_path(&owner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | / key_id: EcdsaKeyId { [INFO] [stdout] 175 | | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] 176 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 177 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::message_hash`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | message_hash: message_hash.to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | derivation_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | key_id, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaResponse::signature`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:212:32 [INFO] [stdout] | [INFO] [stdout] 212 | let signature_length = result.signature.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaResponse::signature`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | let signature = <[u8; 64]>::try_from(result.signature).unwrap_or_else(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:290:45 [INFO] [stdout] | [INFO] [stdout] 290 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:291:49 [INFO] [stdout] | [INFO] [stdout] 291 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_locked` [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | let (asset, owner, current_locked, escrow) = GOALS.with(|g| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_locked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | url: url.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | method: HttpMethod::GET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | body: None, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | max_response_bytes: Some(max_response_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ic_cdk::api::management_canister::http_request::TransformContext::from_name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:311:43 [INFO] [stdout] | [INFO] [stdout] 311 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | String::from_utf8(resp.body).map_err(|_| "Failed to decode response body".to_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:148:56 [INFO] [stdout] | [INFO] [stdout] 148 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | url, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | method: HttpMethod::GET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | body: None, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | max_response_bytes: Some(50000), // Larger response for historical data [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ic_cdk::api::management_canister::http_request::TransformContext::from_name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:156:43 [INFO] [stdout] | [INFO] [stdout] 156 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | let str_body = String::from_utf8(response.body) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:329:22 [INFO] [stdout] | [INFO] [stdout] 329 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:334:35 [INFO] [stdout] | [INFO] [stdout] 334 | headers.push(HttpHeader { name, value }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:334:41 [INFO] [stdout] | [INFO] [stdout] 334 | headers.push(HttpHeader { name, value }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | url: url.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | method: HttpMethod::GET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | body: None, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | max_response_bytes: Some(max_response_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | transform: Some(TransformContext::from_name("moralis_transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ic_cdk::api::management_canister::http_request::TransformContext::from_name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:354:43 [INFO] [stdout] | [INFO] [stdout] 354 | transform: Some(TransformContext::from_name("moralis_transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_address` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | let to_address = Address::from_str(&req.to) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_transaction_hash` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | let raw_transaction_hash = *signed_tx.hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_transaction_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | String::from_utf8(resp.body).map_err(|_| "Failed to decode response body".to_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `estimated_cycles` [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:859:9 [INFO] [stdout] | [INFO] [stdout] 859 | let estimated_cycles = (calculated_cycles * 110) / 100; // 10% buffer [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 859 | let _estimated_cycles = (calculated_cycles * 110) / 100; // 10% buffer [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SEC_PER_DAY` [INFO] [stdout] | [INFO] [stdout] 859 - let estimated_cycles = (calculated_cycles * 110) / 100; // 10% buffer [INFO] [stdout] 859 + let services::timers::SEC_PER_DAY = (calculated_cycles * 110) / 100; // 10% buffer [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | url, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | method: HttpMethod::GET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | body: None, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | max_response_bytes: Some(2000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ic_cdk::api::management_canister::http_request::TransformContext::from_name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:76:46 [INFO] [stdout] | [INFO] [stdout] 76 | let str_body = String::from_utf8(response.body) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_address` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | destination_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | amount: Nat, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slow_max_fee` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | let slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 499 | let _slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_PRIORITY_FEE_PER_GAS` [INFO] [stdout] | [INFO] [stdout] 499 - let slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stdout] 499 + let services::uniswap::estimate_approval_fees::MAX_PRIORITY_FEE_PER_GAS = base_fee_per_gas + slow_priority_fee; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fast_max_fee` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | let fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 501 | let _fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_PRIORITY_FEE_PER_GAS` [INFO] [stdout] | [INFO] [stdout] 501 - let fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stdout] 501 + let services::uniswap::estimate_approval_fees::MAX_PRIORITY_FEE_PER_GAS = base_fee_per_gas + fast_priority_fee; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:565:12 [INFO] [stdout] | [INFO] [stdout] 565 | Ok(mut txs) => { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | public_key: PublicKey::deserialize_sec1(&value.public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::chain_code`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | chain_code: value.chain_code, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:107:54 [INFO] [stdout] | [INFO] [stdout] 107 | public_key: PublicKey::deserialize_sec1(&value.public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::chain_code`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | chain_code: value.chain_code, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1009:44 [INFO] [stdout] | [INFO] [stdout] 1009 | let body_str = match String::from_utf8(args.response.body.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1009:44 [INFO] [stdout] | [INFO] [stdout] 1009 | let body_str = match String::from_utf8(args.response.body.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1012:13 [INFO] [stdout] | [INFO] [stdout] 1012 | status: candid::Nat::from(500u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | body: b"Invalid response encoding".to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1014:13 [INFO] [stdout] | [INFO] [stdout] 1014 | headers: vec![] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1024:21 [INFO] [stdout] | [INFO] [stdout] 1024 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1024:29 [INFO] [stdout] | [INFO] [stdout] 1024 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1024:29 [INFO] [stdout] | [INFO] [stdout] 1024 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1025:21 [INFO] [stdout] | [INFO] [stdout] 1025 | body: deterministic_json.into_bytes(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1026:21 [INFO] [stdout] | [INFO] [stdout] 1026 | headers: vec![] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1029:21 [INFO] [stdout] | [INFO] [stdout] 1029 | status: candid::Nat::from(500u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1030:21 [INFO] [stdout] | [INFO] [stdout] 1030 | body: b"Failed to serialize response".to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1031:21 [INFO] [stdout] | [INFO] [stdout] 1031 | headers: vec![] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1038:17 [INFO] [stdout] | [INFO] [stdout] 1038 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1038:25 [INFO] [stdout] | [INFO] [stdout] 1038 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1038:25 [INFO] [stdout] | [INFO] [stdout] 1038 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1039:17 [INFO] [stdout] | [INFO] [stdout] 1039 | body: args.response.body, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1039:23 [INFO] [stdout] | [INFO] [stdout] 1039 | body: args.response.body, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1039:23 [INFO] [stdout] | [INFO] [stdout] 1039 | body: args.response.body, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1040:17 [INFO] [stdout] | [INFO] [stdout] 1040 | headers: vec![] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:50 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:56 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:56 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:76 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{self, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(self.0.clone()) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 207 | fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(self.0.clone()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarketCapData` is never constructed [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MarketCapData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VolumeData` is never constructed [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct VolumeData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKCYPHER_MAINNET_URL` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:260:7 [INFO] [stdout] | [INFO] [stdout] 260 | const BLOCKCYPHER_MAINNET_URL: &str = "https://api.blockcypher.com/v1/btc/main"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKCYPHER_TOKEN` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | const BLOCKCYPHER_TOKEN: &str = "dce63e3270ec49cfbc91eff20cbece20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `http_post_json` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:270:10 [INFO] [stdout] | [INFO] [stdout] 270 | async fn http_post_json(url: &str, body: String, max_response_bytes: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_eth_decimal_to_wei` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:362:4 [INFO] [stdout] | [INFO] [stdout] 362 | fn parse_eth_decimal_to_wei(value: &str) -> Nat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_etherscan_transactions_json` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:638:4 [INFO] [stdout] | [INFO] [stdout] 638 | fn parse_etherscan_transactions_json(body: &str, user_address: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NS_PER_SEC` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const NS_PER_SEC: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEC_PER_MIN` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const SEC_PER_MIN: u64 = 60; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEC_PER_HOUR` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SEC_PER_HOUR: u64 = 60 * 60; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEC_PER_DAY` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SEC_PER_DAY: u64 = 24 * SEC_PER_HOUR; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schedule_in` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn schedule_in(ns_delay: u64, f: impl FnOnce() + 'static) -> TimerId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cancel_timer` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn cancel_timer(timer: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenReply` is never constructed [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct TokenReply { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ICTokenReply` is never constructed [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct ICTokenReply { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoolReply` is never constructed [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct PoolReply { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SwapResult` is never used [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:283:10 [INFO] [stdout] | [INFO] [stdout] 283 | pub enum SwapResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokensResult` is never used [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | pub enum TokensResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PoolsResult` is never used [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | pub enum PoolsResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `budget_key` is never used [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn budget_key(owner: &Principal, id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 52s [INFO] running `Command { std: "docker" "inspect" "0133666a3866d8d085a3cd83ce0947ea6a3f7465ea752f430d977f43d759e132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0133666a3866d8d085a3cd83ce0947ea6a3f7465ea752f430d977f43d759e132", kill_on_drop: false }` [INFO] [stdout] 0133666a3866d8d085a3cd83ce0947ea6a3f7465ea752f430d977f43d759e132 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2731bfbcff5e3fb7a2ff9e86f6e8da1b855a50b4e8df4c10628ed88eb34c38e [INFO] running `Command { std: "docker" "start" "-a" "f2731bfbcff5e3fb7a2ff9e86f6e8da1b855a50b4e8df4c10628ed88eb34c38e", kill_on_drop: false }` [INFO] [stderr] Compiling fintrack_backend v0.1.0 (/opt/rustwide/workdir/fintrack_backend) [INFO] [stdout] warning: unused imports: `GetBlockHeadersRequest`, `GetBlockHeadersResponse`, `bitcoin_get_current_fee_percentiles`, and `bitcoin_get_utxos` [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{bitcoin_get_utxos, bitcoin_get_current_fee_percentiles, GetUtxosRequest, GetUtxosResponse, GetCurrentFeePercentilesRequest, GetBlockHeadersRequest, GetBlockHeadersResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTag`, `CallArgs`, `MultiCallResult`, `RpcConfig`, `RpcServices`, and `TransactionRequest` [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::services::evm_rpc_canister::{RpcServices, RpcConfig, JsonRpcSource, CallArgs, MultiCallResult, TransactionRequest, BlockTag}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bitcoin_get_balance`, `bitcoin_get_current_fee_percentiles`, `bitcoin_get_utxos`, and `bitcoin_send_transaction` [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | bitcoin_get_utxos, bitcoin_send_transaction, bitcoin_get_current_fee_percentiles, bitcoin_get_balance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `call` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::{call, call_with_payment128}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Zero` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use num_traits::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize as SerdeDeserialize` [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize as SerdeDeserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::{call, call_with_payment128}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::{call, call_with_payment128}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::ecdsa::EcdsaCurve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:83 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:5:95 [INFO] [stdout] | [INFO] [stdout] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:44:104 [INFO] [stdout] | [INFO] [stdout] 44 | let (cost_result,): (Result,) = ic_cdk::api::call::call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | impl From for EcdsaPublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 222 | let owner = owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | let (result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:321:50 [INFO] [stdout] | [INFO] [stdout] 321 | let owner = req.owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | let (result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:449:50 [INFO] [stdout] | [INFO] [stdout] 449 | let owner = req.owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:502:21 [INFO] [stdout] | [INFO] [stdout] 502 | let (result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:554:46 [INFO] [stdout] | [INFO] [stdout] 554 | let owner = owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:570:33 [INFO] [stdout] | [INFO] [stdout] 570 | let (gas_price_response,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | fn from(value: EcdsaPublicKeyResponse) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let args = EcdsaPublicKeyArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | key_id: EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | let (res,) = ecdsa_public_key(args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | let key_id = EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:167:66 [INFO] [stdout] | [INFO] [stdout] 167 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:167:82 [INFO] [stdout] | [INFO] [stdout] 167 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::{caller}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | ic_cdk::call::<_, (Result,)>(token, "icrc2_transfer_from", (arg,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | ic_cdk::call::<_, (Result,)>(token, "icrc1_transfer", (arg,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | let (fee,): (Nat,) = ic_cdk::api::call::call_with_payment128(token, "icrc1_fee", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | Account { owner: ic_cdk::id(), subaccount: Some(sub.to_vec()) } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | let owner = caller(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:300:36 [INFO] [stdout] | [INFO] [stdout] 300 | let who = owner.unwrap_or_else(caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:403:36 [INFO] [stdout] | [INFO] [stdout] 403 | let who = owner.unwrap_or_else(caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:416:29 [INFO] [stdout] | [INFO] [stdout] 416 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:426:29 [INFO] [stdout] | [INFO] [stdout] 426 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:499:29 [INFO] [stdout] | [INFO] [stdout] 499 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:539:25 [INFO] [stdout] | [INFO] [stdout] 539 | Some(o) if o == caller() => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:554:29 [INFO] [stdout] | [INFO] [stdout] 554 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:567:29 [INFO] [stdout] | [INFO] [stdout] 567 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:590:156 [INFO] [stdout] | [INFO] [stdout] 590 | ...om(0u32)), Nat(num::BigUint::from(0u32)), Account{ owner: ic_cdk::id(), subaccount: None }) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:594:17 [INFO] [stdout] | [INFO] [stdout] 594 | if owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:626:29 [INFO] [stdout] | [INFO] [stdout] 626 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:638:29 [INFO] [stdout] | [INFO] [stdout] 638 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | if owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::http_request::HttpMethod`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:58 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:91 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:3:105 [INFO] [stdout] | [INFO] [stdout] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn transform(args: TransformArgs) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn transform(args: TransformArgs) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let request = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::GET`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | method: HttpMethod::GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | match mgmt_http_request(request, 100_000_000).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let request = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:71 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::ecdsa::EcdsaCurve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:83 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:6:95 [INFO] [stdout] | [INFO] [stdout] 6 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:43:79 [INFO] [stdout] | [INFO] [stdout] 43 | let (cost_result,): (Result,) = ic_cdk::api::call::call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | impl From for EcdsaPublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:280:54 [INFO] [stdout] | [INFO] [stdout] 280 | let owner = request.owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 339 | let (result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:429:33 [INFO] [stdout] | [INFO] [stdout] 429 | let (gas_price_response,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:460:32 [INFO] [stdout] | [INFO] [stdout] 460 | let (base_fee_response,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:545:23 [INFO] [stdout] | [INFO] [stdout] 545 | let (response,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:579:46 [INFO] [stdout] | [INFO] [stdout] 579 | let owner = owner.unwrap_or_else(ic_cdk::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:589:21 [INFO] [stdout] | [INFO] [stdout] 589 | let (result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | fn from(value: EcdsaPublicKeyResponse) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | let args = EcdsaPublicKeyArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | key_id: EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:175:36 [INFO] [stdout] | [INFO] [stdout] 175 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let (res,) = ecdsa_public_key(args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | let key_id = EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:204:66 [INFO] [stdout] | [INFO] [stdout] 204 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:204:82 [INFO] [stdout] | [INFO] [stdout] 204 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/lib.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::api::management_canister::http_request::{TransformArgs, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/lib.rs:4:69 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::api::management_canister::http_request::{TransformArgs, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/lib.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | ic_cdk::export_candid!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `::candid::export_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/lib.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | ic_cdk::export_candid!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `::candid::export_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::{caller, api::time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | ic_cdk::call::<_, (Result,)>(token, "icrc2_transfer_from", (arg,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:401:43 [INFO] [stdout] | [INFO] [stdout] 401 | let (result,): (SwapAmountsResult,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | ic_cdk::call::<_, (Result,)>(token, "icrc1_transfer", (arg,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | let (fee,): (Nat,) = ic_cdk::api::call::call_with_payment128(token, "icrc1_fee", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:133:81 [INFO] [stdout] | [INFO] [stdout] 133 | fn canister_escrow_account(sub: [u8; 32]) -> Account { Account { owner: ic_cdk::id(), subaccount: Some(sub.to_vec()) } } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let owner = caller(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | let who = owner.unwrap_or_else(caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | if gi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | if gi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:349:29 [INFO] [stdout] | [INFO] [stdout] 349 | if gi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::http_request::HttpMethod`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | TransformArgs, HttpResponse, TransformContext, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | TransformArgs, HttpResponse, TransformContext, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | TransformArgs, HttpResponse, TransformContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | HttpHeader { name: "Content-Type".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | let arg = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::POST`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | method: HttpMethod::POST, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:283:84 [INFO] [stdout] | [INFO] [stdout] 283 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, 2_500_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:283:67 [INFO] [stdout] | [INFO] [stdout] 283 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, 2_500_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | let arg = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::GET`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:308:29 [INFO] [stdout] | [INFO] [stdout] 308 | method: HttpMethod::GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:314:84 [INFO] [stdout] | [INFO] [stdout] 314 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, cycles).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:314:67 [INFO] [stdout] | [INFO] [stdout] 314 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, cycles).await [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:334:22 [INFO] [stdout] | [INFO] [stdout] 334 | headers.push(HttpHeader { name, value }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | let arg = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::GET`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:351:29 [INFO] [stdout] | [INFO] [stdout] 351 | method: HttpMethod::GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | transform: Some(TransformContext::from_name("moralis_transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:357:84 [INFO] [stdout] | [INFO] [stdout] 357 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, cycles).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::GET`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | method: HttpMethod::GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let (address,): (String,) = call_with_payment128(minter, "get_btc_address", arg, 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | let (res,): (UpdateResult,) = call_with_payment128(minter, "update_balance", arg, 5_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | let caller = ic_cdk::caller(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | let (balance,): (Nat,) = call_with_payment128(ledger, "icrc1_balance_of", arg, 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | let (response,): (GetUtxosResponse,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:187:85 [INFO] [stdout] | [INFO] [stdout] 187 | let (fee_percentiles,): (Vec,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btc.rs:223:53 [INFO] [stdout] | [INFO] [stdout] 223 | let (utxo_response,): (GetUtxosResponse,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | let (contract_address,): (String,) = call_with_payment128(minter, "smart_contract_address", (), 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let caller = ic_cdk::caller(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | let (balance,): (Nat,) = call_with_payment128(ledger, "icrc1_balance_of", arg, 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | let (address,): (String,) = call_with_payment128(minter, "minter_address", (), 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | let (info,): (MinterInfoPartial,) = call_with_payment128(minter, "get_minter_info", (), 2_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | let (fee_info,): (String,) = call_with_payment128(minter, "eip_1559_transaction_price", (None::>,), 2_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | let (fee_history_result,): (String,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::management_canister::ecdsa::{ecdsa_public_key, EcdsaKeyId, EcdsaPublicKeyArgument}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::management_canister::ecdsa::{ecdsa_public_key, EcdsaKeyId, EcdsaPublicKeyArgument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:2:77 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::management_canister::ecdsa::{ecdsa_public_key, EcdsaKeyId, EcdsaPublicKeyArgument}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | let args = EcdsaPublicKeyArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | key_id: EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:20:73 [INFO] [stdout] | [INFO] [stdout] 20 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let (res,) = ecdsa_public_key(args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/address.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | let owner = owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/address.rs:51:51 [INFO] [stdout] | [INFO] [stdout] 51 | let owner = owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call_with_payment128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | let (response,): (ic_cdk::bitcoin_canister::GetUtxosResponse,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 80 | let (fee_percentiles,): (Vec,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | let (balance,): (u64,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:119:57 [INFO] [stdout] | [INFO] [stdout] 119 | let args = ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:122:58 [INFO] [stdout] | [INFO] [stdout] 122 | key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:123:73 [INFO] [stdout] | [INFO] [stdout] 123 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | let (btc, eth, sol) = match mgmt_http_request(request, 100_000_000).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpHeader`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | let request = CanisterHttpRequestArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::http_request::HttpMethod::GET`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | method: HttpMethod::GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformContext`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::http_request::http_request`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | match mgmt_http_request(request, 600_000_000).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:357:67 [INFO] [stdout] | [INFO] [stdout] 357 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, cycles).await [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:484:54 [INFO] [stdout] | [INFO] [stdout] 484 | let (result,): (GetAccountTransactionsResult,) = call_with_payment128(index, "get_account_transactions", arg, 5_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | let (result,): (GetAccountTransactionsResult,) = call_with_payment128(index, "get_account_transactions", arg, 5_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::TransformArgs`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1007:32 [INFO] [stdout] | [INFO] [stdout] 1007 | pub fn moralis_transform(args: TransformArgs) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1007:50 [INFO] [stdout] | [INFO] [stdout] 1007 | pub fn moralis_transform(args: TransformArgs) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1011:26 [INFO] [stdout] | [INFO] [stdout] 1011 | Err(_) => return HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1023:43 [INFO] [stdout] | [INFO] [stdout] 1023 | Ok(deterministic_json) => HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1028:27 [INFO] [stdout] | [INFO] [stdout] 1028 | Err(_) => HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::http_request::HttpResponse`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1037:13 [INFO] [stdout] | [INFO] [stdout] 1037 | HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1069:114 [INFO] [stdout] | [INFO] [stdout] 1069 | let (cost_result,): (Result,) = ic_cdk::api::call::call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1124:74 [INFO] [stdout] | [INFO] [stdout] 1124 | let (result,): (crate::services::evm_rpc_canister::RequestResult,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1502:30 [INFO] [stdout] | [INFO] [stdout] 1502 | let (balance,): (Nat,) = call_with_payment128(ledger, "icrc1_balance_of", arg, 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1516:30 [INFO] [stdout] | [INFO] [stdout] 1516 | let (balance,): (Nat,) = call_with_payment128(ledger, "icrc1_balance_of", arg, 1_000_000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:420:45 [INFO] [stdout] | [INFO] [stdout] 420 | let (result,): (Result,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use ic_cdk::api::call::CallResult as Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:436:40 [INFO] [stdout] | [INFO] [stdout] 436 | let (result,): (RequestsResult,) = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::ecdsa_public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | let (res,) = ic_cdk::api::management_canister::ecdsa::ecdsa_public_key(args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:141:74 [INFO] [stdout] | [INFO] [stdout] 141 | let (signature_response,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 142 | ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:145:62 [INFO] [stdout] | [INFO] [stdout] 145 | key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:146:77 [INFO] [stdout] | [INFO] [stdout] 146 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:352:51 [INFO] [stdout] | [INFO] [stdout] 352 | let owner = owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:431:59 [INFO] [stdout] | [INFO] [stdout] 431 | let owner = request.owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:503:43 [INFO] [stdout] | [INFO] [stdout] 503 | let send_result: Result<(), String> = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:374:98 [INFO] [stdout] | [INFO] [stdout] 374 | pub async fn eth_call(&self, arg0: &RpcServices, arg1: &Option, arg2: &CallArgs) -> Result<(MultiCallResult,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:375:24 [INFO] [stdout] | [INFO] [stdout] 375 | ic_cdk::api::call::call_with_payment128(self.0, "eth_call", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:377:111 [INFO] [stdout] | [INFO] [stdout] 377 | pub async fn eth_fee_history(&self, arg0: &RpcServices, arg1: &Option, arg2: &FeeHistoryArgs) -> Result<(MultiFeeHistoryResu... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:378:24 [INFO] [stdout] | [INFO] [stdout] 378 | ic_cdk::api::call::call_with_payment128(self.0, "eth_feeHistory", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:380:113 [INFO] [stdout] | [INFO] [stdout] 380 | pub async fn eth_get_block_by_number(&self, arg0: &RpcServices, arg1: &Option, arg2: &BlockTag) -> Result<(MultiGetBlockByNu... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | ic_cdk::api::call::call_with_payment128(self.0, "eth_getBlockByNumber", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:383:105 [INFO] [stdout] | [INFO] [stdout] 383 | pub async fn eth_get_logs(&self, arg0: &RpcServices, arg1: &Option, arg2: &GetLogsArgs) -> Result<(MultiGetLogsResult,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:384:24 [INFO] [stdout] | [INFO] [stdout] 384 | ic_cdk::api::call::call_with_payment128(self.0, "eth_getLogs", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:386:130 [INFO] [stdout] | [INFO] [stdout] 386 | ...s, arg1: &Option, arg2: &GetTransactionCountArgs) -> Result<(MultiGetTransactionCountResult,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:387:24 [INFO] [stdout] | [INFO] [stdout] 387 | ic_cdk::api::call::call_with_payment128(self.0, "eth_getTransactionCount", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:389:115 [INFO] [stdout] | [INFO] [stdout] 389 | pub async fn eth_get_transaction_receipt(&self, arg0: &RpcServices, arg1: &Option, arg2: &String) -> Result<(MultiGetTransac... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:390:24 [INFO] [stdout] | [INFO] [stdout] 390 | ic_cdk::api::call::call_with_payment128(self.0, "eth_getTransactionReceipt", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:392:112 [INFO] [stdout] | [INFO] [stdout] 392 | pub async fn eth_send_raw_transaction(&self, arg0: &RpcServices, arg1: &Option, arg2: &String) -> Result<(MultiSendRawTransa... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:393:24 [INFO] [stdout] | [INFO] [stdout] 393 | ic_cdk::api::call::call_with_payment128(self.0, "eth_sendRawTransaction", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:397:38 [INFO] [stdout] | [INFO] [stdout] 397 | pub async fn get_metrics(&self) -> Result<(Metrics,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:398:24 [INFO] [stdout] | [INFO] [stdout] 398 | ic_cdk::api::call::call_with_payment128(self.0, "getMetrics", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | pub async fn get_nodes_in_subnet(&self) -> Result<(u32,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:401:24 [INFO] [stdout] | [INFO] [stdout] 401 | ic_cdk::api::call::call_with_payment128(self.0, "getNodesInSubnet", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:403:40 [INFO] [stdout] | [INFO] [stdout] 403 | pub async fn get_providers(&self) -> Result<(Vec,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:404:24 [INFO] [stdout] | [INFO] [stdout] 404 | ic_cdk::api::call::call_with_payment128(self.0, "getProviders", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:406:51 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn get_service_provider_map(&self) -> Result<(Vec<(RpcService,ProviderId,)>,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:407:24 [INFO] [stdout] | [INFO] [stdout] 407 | ic_cdk::api::call::call_with_payment128(self.0, "getServiceProviderMap", (), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:409:80 [INFO] [stdout] | [INFO] [stdout] 409 | pub async fn request(&self, arg0: &RpcService, arg1: &String, arg2: &u64) -> Result<(RequestResult,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | ic_cdk::api::call::call_with_payment128(self.0, "request", (arg0,arg1,arg2,), 10_000_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:412:85 [INFO] [stdout] | [INFO] [stdout] 412 | pub async fn request_cost(&self, arg0: &RpcService, arg1: &String, arg2: &u64) -> Result<(RequestCostResult,)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | ic_cdk::api::call::call_with_payment128(self.0, "requestCost", (arg0,arg1,arg2,), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:415:84 [INFO] [stdout] | [INFO] [stdout] 415 | pub async fn update_api_keys(&self, arg0: &Vec<(ProviderId,Option,)>) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 416 | ic_cdk::api::call::call_with_payment128(self.0, "updateApiKeys", (arg0,), 1_000_000).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::canister_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | canister_id: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | derivation_path: principal_derivation_path(&owner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | / key_id: EcdsaKeyId { [INFO] [stdout] 138 | | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] 139 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 140 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::message_hash`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | message_hash: message_hash.to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | derivation_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | key_id, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaResponse::signature`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | let signature_length = result.signature.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaResponse::signature`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | let signature = <[u8; 64]>::try_from(result.signature).unwrap_or_else(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available` [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:423:24 [INFO] [stdout] | [INFO] [stdout] 423 | let (asset, owner, available, escrow, start, end, period_locked, unlocked_so_far) = BUDGETS.with(|b| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | if let Some(mut bi) = map.get_mut(&id) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_address` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | let to_address = Address::from_str(&req.to) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_transaction_hash` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let raw_transaction_hash = *signed_tx.hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_transaction_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_address` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | let to_address = Address::from_str(&req.to) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_transaction_hash` [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | let raw_transaction_hash = *signed_tx.hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_transaction_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_locked` [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | let (asset, owner, current_locked, escrow) = GOALS.with(|g| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_locked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_kind` [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:679:5 [INFO] [stdout] | [INFO] [stdout] 679 | asset_kind: AssetKind, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | HttpHeader { name: "Content-Type".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:272:51 [INFO] [stdout] | [INFO] [stdout] 272 | HttpHeader { name: "Content-Type".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:273:45 [INFO] [stdout] | [INFO] [stdout] 273 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | url: url.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | method: HttpMethod::POST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | body: Some(body.into_bytes()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | max_response_bytes: Some(max_response_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | transform: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | String::from_utf8(resp.body).map_err(|_| "Failed to decode response body".to_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:290:45 [INFO] [stdout] | [INFO] [stdout] 290 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:291:49 [INFO] [stdout] | [INFO] [stdout] 291 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | url: url.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | method: HttpMethod::GET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | body: None, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | max_response_bytes: Some(max_response_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ic_cdk::api::management_canister::http_request::TransformContext::from_name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:311:43 [INFO] [stdout] | [INFO] [stdout] 311 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | String::from_utf8(resp.body).map_err(|_| "Failed to decode response body".to_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:329:22 [INFO] [stdout] | [INFO] [stdout] 329 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | HttpHeader { name: "User-Agent".into(), value: "Fintrack-Backend/1.0".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:334:35 [INFO] [stdout] | [INFO] [stdout] 334 | headers.push(HttpHeader { name, value }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:334:41 [INFO] [stdout] | [INFO] [stdout] 334 | headers.push(HttpHeader { name, value }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | url: url.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | method: HttpMethod::GET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | body: None, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | max_response_bytes: Some(max_response_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | transform: Some(TransformContext::from_name("moralis_transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ic_cdk::api::management_canister::http_request::TransformContext::from_name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:354:43 [INFO] [stdout] | [INFO] [stdout] 354 | transform: Some(TransformContext::from_name("moralis_transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | String::from_utf8(resp.body).map_err(|_| "Failed to decode response body".to_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `estimated_cycles` [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:859:9 [INFO] [stdout] | [INFO] [stdout] 859 | let estimated_cycles = (calculated_cycles * 110) / 100; // 10% buffer [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 859 | let _estimated_cycles = (calculated_cycles * 110) / 100; // 10% buffer [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SEC_PER_DAY` [INFO] [stdout] | [INFO] [stdout] 859 - let estimated_cycles = (calculated_cycles * 110) / 100; // 10% buffer [INFO] [stdout] 859 + let services::timers::SEC_PER_DAY = (calculated_cycles * 110) / 100; // 10% buffer [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `own_public_key` [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | let own_public_key = PublicKey::from_slice(&public_key_bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_own_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slow_fee_rate` [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | let slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 382 | let _slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SEC_PER_DAY` [INFO] [stdout] | [INFO] [stdout] 382 - let slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stdout] 382 + let services::timers::SEC_PER_DAY = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::canister_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | canister_id: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | derivation_path: principal_derivation_path(owner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / key_id: EcdsaKeyId { [INFO] [stdout] 20 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] 21 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 22 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/address.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(res.public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::canister_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | canister_id: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | derivation_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | / key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] 123 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] 124 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 125 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | Ok(res.public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:565:12 [INFO] [stdout] | [INFO] [stdout] 565 | Ok(mut txs) => { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:95:45 [INFO] [stdout] | [INFO] [stdout] 95 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:96:56 [INFO] [stdout] | [INFO] [stdout] 96 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | url, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::message_hash`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | message_hash, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | derivation_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | / key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] 146 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] 147 | | name: key_name, [INFO] [stdout] 148 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | name: key_name, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | method: HttpMethod::GET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | body: None, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaResponse::signature`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | SecpSignature::from_compact(&signature_response.signature).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | max_response_bytes: Some(4000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ic_cdk::api::management_canister::http_request::TransformContext::from_name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | let str_body = String::from_utf8(response.body).map_err(|_| "Failed to decode response body".to_string())?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::canister_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | canister_id: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | derivation_path: principal_derivation_path(&owner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | / key_id: EcdsaKeyId { [INFO] [stdout] 175 | | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] 176 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 177 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::curve`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaKeyId::name`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::message_hash`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | message_hash: message_hash.to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::derivation_path`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | derivation_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument::key_id`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | key_id, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaResponse::signature`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:212:32 [INFO] [stdout] | [INFO] [stdout] 212 | let signature_length = result.signature.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::SignWithEcdsaResponse::signature`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | let signature = <[u8; 64]>::try_from(result.signature).unwrap_or_else(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:148:56 [INFO] [stdout] | [INFO] [stdout] 148 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | url, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | method: HttpMethod::GET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | body: None, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | max_response_bytes: Some(50000), // Larger response for historical data [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ic_cdk::api::management_canister::http_request::TransformContext::from_name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:156:43 [INFO] [stdout] | [INFO] [stdout] 156 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | let str_body = String::from_utf8(response.body) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpHeader::value`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::url`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | url, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::method`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | method: HttpMethod::GET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | body: None, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::max_response_bytes`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | max_response_bytes: Some(2000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::transform`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ic_cdk::api::management_canister::http_request::TransformContext::from_name`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::CanisterHttpRequestArgument::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | headers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:76:46 [INFO] [stdout] | [INFO] [stdout] 76 | let str_body = String::from_utf8(response.body) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_address` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | destination_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | amount: Nat, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slow_max_fee` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | let slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 499 | let _slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_PRIORITY_FEE_PER_GAS` [INFO] [stdout] | [INFO] [stdout] 499 - let slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stdout] 499 + let services::uniswap::estimate_approval_fees::MAX_PRIORITY_FEE_PER_GAS = base_fee_per_gas + slow_priority_fee; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fast_max_fee` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | let fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 501 | let _fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_PRIORITY_FEE_PER_GAS` [INFO] [stdout] | [INFO] [stdout] 501 - let fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stdout] 501 + let services::uniswap::estimate_approval_fees::MAX_PRIORITY_FEE_PER_GAS = base_fee_per_gas + fast_priority_fee; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | public_key: PublicKey::deserialize_sec1(&value.public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::chain_code`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | chain_code: value.chain_code, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::public_key`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:107:54 [INFO] [stdout] | [INFO] [stdout] 107 | public_key: PublicKey::deserialize_sec1(&value.public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyResponse::chain_code`: The `api::management_canister::ecdsa` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/uniswap.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | chain_code: value.chain_code, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1009:44 [INFO] [stdout] | [INFO] [stdout] 1009 | let body_str = match String::from_utf8(args.response.body.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1009:44 [INFO] [stdout] | [INFO] [stdout] 1009 | let body_str = match String::from_utf8(args.response.body.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1012:13 [INFO] [stdout] | [INFO] [stdout] 1012 | status: candid::Nat::from(500u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | body: b"Invalid response encoding".to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1014:13 [INFO] [stdout] | [INFO] [stdout] 1014 | headers: vec![] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1024:21 [INFO] [stdout] | [INFO] [stdout] 1024 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1024:29 [INFO] [stdout] | [INFO] [stdout] 1024 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1024:29 [INFO] [stdout] | [INFO] [stdout] 1024 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1025:21 [INFO] [stdout] | [INFO] [stdout] 1025 | body: deterministic_json.into_bytes(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1026:21 [INFO] [stdout] | [INFO] [stdout] 1026 | headers: vec![] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1029:21 [INFO] [stdout] | [INFO] [stdout] 1029 | status: candid::Nat::from(500u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1030:21 [INFO] [stdout] | [INFO] [stdout] 1030 | body: b"Failed to serialize response".to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1031:21 [INFO] [stdout] | [INFO] [stdout] 1031 | headers: vec![] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1038:17 [INFO] [stdout] | [INFO] [stdout] 1038 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1038:25 [INFO] [stdout] | [INFO] [stdout] 1038 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1038:25 [INFO] [stdout] | [INFO] [stdout] 1038 | status: args.response.status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1039:17 [INFO] [stdout] | [INFO] [stdout] 1039 | body: args.response.body, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1039:23 [INFO] [stdout] | [INFO] [stdout] 1039 | body: args.response.body, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1039:23 [INFO] [stdout] | [INFO] [stdout] 1039 | body: args.response.body, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:1040:17 [INFO] [stdout] | [INFO] [stdout] 1040 | headers: vec![] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::status`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:50 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::TransformArgs::response`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:56 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::body`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:56 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::http_request::HttpResponse::headers`: The `api::management_canister::http_request` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:43:76 [INFO] [stdout] | [INFO] [stdout] 43 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{self, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(self.0.clone()) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 207 | fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(self.0.clone()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKCYPHER_MAINNET_URL` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:260:7 [INFO] [stdout] | [INFO] [stdout] 260 | const BLOCKCYPHER_MAINNET_URL: &str = "https://api.blockcypher.com/v1/btc/main"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKCYPHER_TOKEN` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | const BLOCKCYPHER_TOKEN: &str = "dce63e3270ec49cfbc91eff20cbece20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `http_post_json` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:270:10 [INFO] [stdout] | [INFO] [stdout] 270 | async fn http_post_json(url: &str, body: String, max_response_bytes: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_eth_decimal_to_wei` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:362:4 [INFO] [stdout] | [INFO] [stdout] 362 | fn parse_eth_decimal_to_wei(value: &str) -> Nat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_etherscan_transactions_json` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:638:4 [INFO] [stdout] | [INFO] [stdout] 638 | fn parse_etherscan_transactions_json(body: &str, user_address: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenReply` is never constructed [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct TokenReply { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ICTokenReply` is never constructed [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct ICTokenReply { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoolReply` is never constructed [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct PoolReply { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SwapResult` is never used [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:283:10 [INFO] [stdout] | [INFO] [stdout] 283 | pub enum SwapResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokensResult` is never used [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | pub enum TokensResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PoolsResult` is never used [INFO] [stdout] --> fintrack_backend/src/services/kongswap.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | pub enum PoolsResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NS_PER_SEC` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const NS_PER_SEC: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEC_PER_MIN` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const SEC_PER_MIN: u64 = 60; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEC_PER_HOUR` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SEC_PER_HOUR: u64 = 60 * 60; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEC_PER_DAY` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SEC_PER_DAY: u64 = 24 * SEC_PER_HOUR; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schedule_in` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn schedule_in(ns_delay: u64, f: impl FnOnce() + 'static) -> TimerId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cancel_timer` is never used [INFO] [stdout] --> fintrack_backend/src/services/timers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn cancel_timer(timer: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `budget_key` is never used [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn budget_key(owner: &Principal, id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarketCapData` is never constructed [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MarketCapData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VolumeData` is never constructed [INFO] [stdout] --> fintrack_backend/src/services/rates.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct VolumeData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.03s [INFO] running `Command { std: "docker" "inspect" "f2731bfbcff5e3fb7a2ff9e86f6e8da1b855a50b4e8df4c10628ed88eb34c38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2731bfbcff5e3fb7a2ff9e86f6e8da1b855a50b4e8df4c10628ed88eb34c38e", kill_on_drop: false }` [INFO] [stdout] f2731bfbcff5e3fb7a2ff9e86f6e8da1b855a50b4e8df4c10628ed88eb34c38e