[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] 6e57bb815976b728bad6828f4dc07f4b58c7176e [INFO] testing demigohu/Fintrack_new against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemigohu%2FFintrack_new" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/demigohu/Fintrack_new on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/dfinity/ic` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid v0.10.18 [INFO] [stderr] Downloaded minicbor-derive v0.13.0 [INFO] [stderr] Downloaded ic-sha3 v1.0.0 [INFO] [stderr] Downloaded alloy-rlp-derive v0.3.12 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.3 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.2 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.7.5 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.7 [INFO] [stderr] Downloaded alloy-rlp v0.3.12 [INFO] [stderr] Downloaded candid_derive v0.10.18 [INFO] [stderr] Downloaded minicbor v0.19.1 [INFO] [stderr] Downloaded ic0 v1.0.0 [INFO] [stderr] Downloaded ic-cdk-executor v1.0.2 [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded ic-cdk v0.18.7 [INFO] [stderr] Downloaded alloy-consensus v0.1.4 [INFO] [stderr] Downloaded alloy-primitives v0.7.7 [INFO] [stderr] Downloaded parity-scale-codec v3.7.5 [INFO] [stderr] Downloaded ic-stable-structures v0.5.6 [INFO] [stderr] Downloaded wasi v0.14.4+wasi-0.2.4 [INFO] [stderr] Downloaded bitcoin v0.32.7 [INFO] [stderr] Downloaded alloy-eips v0.1.4 [INFO] [stderr] Downloaded c-kzg v1.0.3 [INFO] [stderr] Downloaded ruint v1.16.0 [INFO] [stderr] Downloaded blst v0.3.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c41d17e349e5e0c40edc19d52a1c0d19c57d3728198d0e5a4a2106078b876f9e [INFO] running `Command { std: "docker" "start" "-a" "c41d17e349e5e0c40edc19d52a1c0d19c57d3728198d0e5a4a2106078b876f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c41d17e349e5e0c40edc19d52a1c0d19c57d3728198d0e5a4a2106078b876f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c41d17e349e5e0c40edc19d52a1c0d19c57d3728198d0e5a4a2106078b876f9e", kill_on_drop: false }` [INFO] [stdout] c41d17e349e5e0c40edc19d52a1c0d19c57d3728198d0e5a4a2106078b876f9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e663cd3c2088165803807fd32204524c2ee6ca8e7c56d9051ddac0a67515c719 [INFO] running `Command { std: "docker" "start" "-a" "e663cd3c2088165803807fd32204524c2ee6ca8e7c56d9051ddac0a67515c719", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ic-cdk-executor v1.0.2 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling const-hex v1.15.0 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ic0 v1.0.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.10.18 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling alloy-rlp v0.3.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ruint v1.16.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling alloy-primitives v0.7.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ic-sha3 v1.0.0 [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 sec1 v0.7.3 [INFO] [stderr] Compiling alloy-eips v0.1.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling alloy-consensus v0.1.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.143 [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 candid v0.10.18 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [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 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 import: `serde_json::json` [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] = note: `#[warn(deprecated)]` on by default [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:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | 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:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | 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::call`: 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; [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/btc.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let (address,): (String,) = call(minter, "get_btc_address", 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/btc.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | let (res,): (UpdateResult,) = call(minter, "update_balance", arg) [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::call`: 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(ledger, "icrc1_balance_of", 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/eth.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::call::call_with_payment; [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/eth.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | let (contract_address,): (String,) = call(minter, "smart_contract_address", ()) [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:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let caller = 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/eth.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | let (balance,): (Nat,) = call(ledger, "icrc1_balance_of", 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/eth.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | let (address,): (String,) = call(minter, "minter_address", ()) [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/eth.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let (info,): (String,) = call(minter, "get_minter_info", ()) [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/eth.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | let (fee_info,): (String,) = call(minter, "eip_1559_transaction_price", (None::>,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | let (fee_history_result,): (String,) = call_with_payment( [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:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call; [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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | 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:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | 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:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | 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:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | 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:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | 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:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | 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:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | 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:268:84 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:67 [INFO] [stdout] | [INFO] [stdout] 268 | 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:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | 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:277:15 [INFO] [stdout] | [INFO] [stdout] 277 | 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:279:29 [INFO] [stdout] | [INFO] [stdout] 279 | method: HttpMethod::GET, [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:285:84 [INFO] [stdout] | [INFO] [stdout] 285 | 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:285:67 [INFO] [stdout] | [INFO] [stdout] 285 | 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 function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:371:54 [INFO] [stdout] | [INFO] [stdout] 371 | let (result,): (GetAccountTransactionsResult,) = call(index, "get_account_transactions", 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/transactions.rs:407:54 [INFO] [stdout] | [INFO] [stdout] 407 | let (result,): (GetAccountTransactionsResult,) = call(index, "get_account_transactions", 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/transactions.rs:857:30 [INFO] [stdout] | [INFO] [stdout] 857 | let (balance,): (Nat,) = call(ledger, "icrc1_balance_of", 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/transactions.rs:871:30 [INFO] [stdout] | [INFO] [stdout] 871 | let (balance,): (Nat,) = call(ledger, "icrc1_balance_of", arg) [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 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:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | 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:98:58 [INFO] [stdout] | [INFO] [stdout] 98 | 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:99:73 [INFO] [stdout] | [INFO] [stdout] 99 | 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:104:59 [INFO] [stdout] | [INFO] [stdout] 104 | 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:117:74 [INFO] [stdout] | [INFO] [stdout] 117 | 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:118:50 [INFO] [stdout] | [INFO] [stdout] 118 | 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:121:62 [INFO] [stdout] | [INFO] [stdout] 121 | 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:122:77 [INFO] [stdout] | [INFO] [stdout] 122 | 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:328:51 [INFO] [stdout] | [INFO] [stdout] 328 | 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:407:59 [INFO] [stdout] | [INFO] [stdout] 407 | let owner = request.owner.unwrap_or_else(ic_cdk::api::caller); [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:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | 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:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | 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:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | 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:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | 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:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | 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:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | 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:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | 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:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | 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:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | 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:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | 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:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | 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:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | 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 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: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/ethtransfer.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/ethtransfer.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/ethtransfer.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/ethtransfer.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/ethtransfer.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::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:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | 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:243:54 [INFO] [stdout] | [INFO] [stdout] 243 | 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:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | 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:373:33 [INFO] [stdout] | [INFO] [stdout] 373 | 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:404:32 [INFO] [stdout] | [INFO] [stdout] 404 | 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:489:23 [INFO] [stdout] | [INFO] [stdout] 489 | 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:523:46 [INFO] [stdout] | [INFO] [stdout] 523 | 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:533:21 [INFO] [stdout] | [INFO] [stdout] 533 | 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:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | 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:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | 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:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | 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:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | 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:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | 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:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | 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:166:32 [INFO] [stdout] | [INFO] [stdout] 166 | 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:169:66 [INFO] [stdout] | [INFO] [stdout] 169 | 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:169:82 [INFO] [stdout] | [INFO] [stdout] 169 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [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 type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:372:98 [INFO] [stdout] | [INFO] [stdout] 372 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | ic_cdk::call(self.0, "eth_call", (arg0,arg1,arg2,)).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:375:111 [INFO] [stdout] | [INFO] [stdout] 375 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | ic_cdk::call(self.0, "eth_feeHistory", (arg0,arg1,arg2,)).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:378:113 [INFO] [stdout] | [INFO] [stdout] 378 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | ic_cdk::call(self.0, "eth_getBlockByNumber", (arg0,arg1,arg2,)).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:381:105 [INFO] [stdout] | [INFO] [stdout] 381 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | ic_cdk::call(self.0, "eth_getLogs", (arg0,arg1,arg2,)).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:384:130 [INFO] [stdout] | [INFO] [stdout] 384 | ...s, arg1: &Option, arg2: &GetTransactionCountArgs) -> Result<(MultiGetTransactionCountResult,)> { [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/evm_rpc_canister.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | ic_cdk::call(self.0, "eth_getTransactionCount", (arg0,arg1,arg2,)).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:387:115 [INFO] [stdout] | [INFO] [stdout] 387 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | ic_cdk::call(self.0, "eth_getTransactionReceipt", (arg0,arg1,arg2,)).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:390:112 [INFO] [stdout] | [INFO] [stdout] 390 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | ic_cdk::call(self.0, "eth_sendRawTransaction", (arg0,arg1,arg2,)).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:395:38 [INFO] [stdout] | [INFO] [stdout] 395 | pub async fn get_metrics(&self) -> Result<(Metrics,)> { [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/evm_rpc_canister.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | ic_cdk::call(self.0, "getMetrics", ()).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:398:46 [INFO] [stdout] | [INFO] [stdout] 398 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | ic_cdk::call(self.0, "getNodesInSubnet", ()).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:401:40 [INFO] [stdout] | [INFO] [stdout] 401 | pub async fn get_providers(&self) -> Result<(Vec,)> { [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/evm_rpc_canister.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | ic_cdk::call(self.0, "getProviders", ()).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:404:51 [INFO] [stdout] | [INFO] [stdout] 404 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | ic_cdk::call(self.0, "getServiceProviderMap", ()).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:407:80 [INFO] [stdout] | [INFO] [stdout] 407 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | ic_cdk::call(self.0, "request", (arg0,arg1,arg2,)).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:410:85 [INFO] [stdout] | [INFO] [stdout] 410 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | ic_cdk::call(self.0, "requestCost", (arg0,arg1,arg2,)).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:413:84 [INFO] [stdout] | [INFO] [stdout] 413 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | ic_cdk::call(self.0, "updateApiKeys", (arg0,)).await [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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | let (fee,): (Nat,) = ic_cdk::call(token, "icrc1_fee", ()).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 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/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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | let (fee,): (Nat,) = ic_cdk::call(token, "icrc1_fee", ()).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 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:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | 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:257:51 [INFO] [stdout] | [INFO] [stdout] 257 | 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:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | 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:258:45 [INFO] [stdout] | [INFO] [stdout] 258 | 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:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | 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:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | 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:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | 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:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | 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:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | 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:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | 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:270:23 [INFO] [stdout] | [INFO] [stdout] 270 | 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:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | 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:275:45 [INFO] [stdout] | [INFO] [stdout] 275 | 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:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | 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:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | 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:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | 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:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | 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:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | 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:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | 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:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | String::from_utf8(resp.body).map_err(|_| "Failed to decode response body".to_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | Ok(mut txs) => { [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: 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:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | 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:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | 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:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] 99 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] 100 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 101 | | }, [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:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | 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:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | 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:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(res.public_key) [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:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | 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:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | / key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] 122 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] 123 | | name: key_name, [INFO] [stdout] 124 | | }, [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:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | 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:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | 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:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | SecpSignature::from_compact(&signature_response.signature).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `own_public_key` [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | 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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slow_fee_rate` [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | 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] 358 | 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] 358 - let slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stdout] 358 + 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::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:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | 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:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | 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:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | 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:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | 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:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | 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:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | 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:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | 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:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | 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:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | 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:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | 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:70:45 [INFO] [stdout] | [INFO] [stdout] 70 | 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:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | 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:71:56 [INFO] [stdout] | [INFO] [stdout] 71 | 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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | 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:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | 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:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | 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:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | 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:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | 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:83:46 [INFO] [stdout] | [INFO] [stdout] 83 | 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:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | 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:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | 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:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | / key_id: EcdsaKeyId { [INFO] [stdout] 140 | | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] 141 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 142 | | }, [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:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | 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:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | 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:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | 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:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | 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:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | 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:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | 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:178:46 [INFO] [stdout] | [INFO] [stdout] 178 | let signature = <[u8; 64]>::try_from(result.signature).unwrap_or_else(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_address` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | 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:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | amount: Nat, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpc_service` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | let rpc_service = RpcService::EthSepolia(EthSepoliaService::PublicNode); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rpc_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slow_max_fee` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | 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] 443 | 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] 443 - let slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stdout] 443 + let services::ethtransfer::estimate_transaction_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:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | 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] 445 | 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] 445 - let fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stdout] 445 + let services::ethtransfer::estimate_transaction_fees::MAX_PRIORITY_FEE_PER_GAS = base_fee_per_gas + fast_priority_fee; [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] [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] [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: `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::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:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:76 [INFO] [stdout] | [INFO] [stdout] 18 | 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::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:108:54 [INFO] [stdout] | [INFO] [stdout] 108 | 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:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | chain_code: value.chain_code, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKCYPHER_TOKEN` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:253:7 [INFO] [stdout] | [INFO] [stdout] 253 | const BLOCKCYPHER_TOKEN: &str = "dce63e3270ec49cfbc91eff20cbece20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `http_post_json` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | 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:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn parse_eth_decimal_to_wei(value: &str) -> Nat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_iso8601_to_unix` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:603:4 [INFO] [stdout] | [INFO] [stdout] 603 | fn parse_iso8601_to_unix(s: &str) -> 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: 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | 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] 185 | 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:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | 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] 202 | fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(self.0.clone()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.31s [INFO] running `Command { std: "docker" "inspect" "e663cd3c2088165803807fd32204524c2ee6ca8e7c56d9051ddac0a67515c719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e663cd3c2088165803807fd32204524c2ee6ca8e7c56d9051ddac0a67515c719", kill_on_drop: false }` [INFO] [stdout] e663cd3c2088165803807fd32204524c2ee6ca8e7c56d9051ddac0a67515c719 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9277a8d801b836cdfe6c9222be8eed2b9beed36d9117805f9f14b72733ff0b09 [INFO] running `Command { std: "docker" "start" "-a" "9277a8d801b836cdfe6c9222be8eed2b9beed36d9117805f9f14b72733ff0b09", kill_on_drop: false }` [INFO] [stderr] Compiling fintrack_backend v0.1.0 (/opt/rustwide/workdir/fintrack_backend) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] = note: `#[warn(deprecated)]` on by default [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:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | 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:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | 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::call`: 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; [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/btc.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let (address,): (String,) = call(minter, "get_btc_address", 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/btc.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | let (res,): (UpdateResult,) = call(minter, "update_balance", arg) [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::call`: 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(ledger, "icrc1_balance_of", 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/eth.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::call::call_with_payment; [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/eth.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | let (contract_address,): (String,) = call(minter, "smart_contract_address", ()) [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:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let caller = 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/eth.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | let (balance,): (Nat,) = call(ledger, "icrc1_balance_of", 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/eth.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | let (address,): (String,) = call(minter, "minter_address", ()) [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/eth.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let (info,): (String,) = call(minter, "get_minter_info", ()) [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/eth.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | let (fee_info,): (String,) = call(minter, "eip_1559_transaction_price", (None::>,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/eth.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | let (fee_history_result,): (String,) = call_with_payment( [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:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call; [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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | 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:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | 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:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | 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:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | 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:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | 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:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | 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:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | 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:268:84 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:67 [INFO] [stdout] | [INFO] [stdout] 268 | 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:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | 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:277:15 [INFO] [stdout] | [INFO] [stdout] 277 | 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:279:29 [INFO] [stdout] | [INFO] [stdout] 279 | method: HttpMethod::GET, [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:285:84 [INFO] [stdout] | [INFO] [stdout] 285 | 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:285:67 [INFO] [stdout] | [INFO] [stdout] 285 | 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 function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:371:54 [INFO] [stdout] | [INFO] [stdout] 371 | let (result,): (GetAccountTransactionsResult,) = call(index, "get_account_transactions", 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/transactions.rs:407:54 [INFO] [stdout] | [INFO] [stdout] 407 | let (result,): (GetAccountTransactionsResult,) = call(index, "get_account_transactions", 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/transactions.rs:857:30 [INFO] [stdout] | [INFO] [stdout] 857 | let (balance,): (Nat,) = call(ledger, "icrc1_balance_of", 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/transactions.rs:871:30 [INFO] [stdout] | [INFO] [stdout] 871 | let (balance,): (Nat,) = call(ledger, "icrc1_balance_of", arg) [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 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:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | 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:98:58 [INFO] [stdout] | [INFO] [stdout] 98 | 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:99:73 [INFO] [stdout] | [INFO] [stdout] 99 | 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:104:59 [INFO] [stdout] | [INFO] [stdout] 104 | 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:117:74 [INFO] [stdout] | [INFO] [stdout] 117 | 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:118:50 [INFO] [stdout] | [INFO] [stdout] 118 | 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:121:62 [INFO] [stdout] | [INFO] [stdout] 121 | 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:122:77 [INFO] [stdout] | [INFO] [stdout] 122 | 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:328:51 [INFO] [stdout] | [INFO] [stdout] 328 | 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:407:59 [INFO] [stdout] | [INFO] [stdout] 407 | let owner = request.owner.unwrap_or_else(ic_cdk::api::caller); [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:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | 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:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | 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:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | 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:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | 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:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | 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:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | 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:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | 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:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | 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:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | 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:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | 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:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | 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:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | 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 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: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/ethtransfer.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/ethtransfer.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/ethtransfer.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/ethtransfer.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/ethtransfer.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::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:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | 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:243:54 [INFO] [stdout] | [INFO] [stdout] 243 | 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:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | 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:373:33 [INFO] [stdout] | [INFO] [stdout] 373 | 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:404:32 [INFO] [stdout] | [INFO] [stdout] 404 | 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:489:23 [INFO] [stdout] | [INFO] [stdout] 489 | 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:523:46 [INFO] [stdout] | [INFO] [stdout] 523 | 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:533:21 [INFO] [stdout] | [INFO] [stdout] 533 | 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:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | 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:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | 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:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | 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:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | 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:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | 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:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | 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:166:32 [INFO] [stdout] | [INFO] [stdout] 166 | 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:169:66 [INFO] [stdout] | [INFO] [stdout] 169 | 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:169:82 [INFO] [stdout] | [INFO] [stdout] 169 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [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 type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:372:98 [INFO] [stdout] | [INFO] [stdout] 372 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | ic_cdk::call(self.0, "eth_call", (arg0,arg1,arg2,)).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:375:111 [INFO] [stdout] | [INFO] [stdout] 375 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | ic_cdk::call(self.0, "eth_feeHistory", (arg0,arg1,arg2,)).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:378:113 [INFO] [stdout] | [INFO] [stdout] 378 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | ic_cdk::call(self.0, "eth_getBlockByNumber", (arg0,arg1,arg2,)).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:381:105 [INFO] [stdout] | [INFO] [stdout] 381 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | ic_cdk::call(self.0, "eth_getLogs", (arg0,arg1,arg2,)).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:384:130 [INFO] [stdout] | [INFO] [stdout] 384 | ...s, arg1: &Option, arg2: &GetTransactionCountArgs) -> Result<(MultiGetTransactionCountResult,)> { [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/evm_rpc_canister.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | ic_cdk::call(self.0, "eth_getTransactionCount", (arg0,arg1,arg2,)).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:387:115 [INFO] [stdout] | [INFO] [stdout] 387 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | ic_cdk::call(self.0, "eth_getTransactionReceipt", (arg0,arg1,arg2,)).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:390:112 [INFO] [stdout] | [INFO] [stdout] 390 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | ic_cdk::call(self.0, "eth_sendRawTransaction", (arg0,arg1,arg2,)).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:395:38 [INFO] [stdout] | [INFO] [stdout] 395 | pub async fn get_metrics(&self) -> Result<(Metrics,)> { [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/evm_rpc_canister.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | ic_cdk::call(self.0, "getMetrics", ()).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:398:46 [INFO] [stdout] | [INFO] [stdout] 398 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | ic_cdk::call(self.0, "getNodesInSubnet", ()).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:401:40 [INFO] [stdout] | [INFO] [stdout] 401 | pub async fn get_providers(&self) -> Result<(Vec,)> { [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/evm_rpc_canister.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | ic_cdk::call(self.0, "getProviders", ()).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:404:51 [INFO] [stdout] | [INFO] [stdout] 404 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | ic_cdk::call(self.0, "getServiceProviderMap", ()).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:407:80 [INFO] [stdout] | [INFO] [stdout] 407 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | ic_cdk::call(self.0, "request", (arg0,arg1,arg2,)).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:410:85 [INFO] [stdout] | [INFO] [stdout] 410 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | ic_cdk::call(self.0, "requestCost", (arg0,arg1,arg2,)).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:413:84 [INFO] [stdout] | [INFO] [stdout] 413 | 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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/evm_rpc_canister.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | ic_cdk::call(self.0, "updateApiKeys", (arg0,)).await [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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/budget.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | let (fee,): (Nat,) = ic_cdk::call(token, "icrc1_fee", ()).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 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/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::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> fintrack_backend/src/services/goals.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | let (fee,): (Nat,) = ic_cdk::call(token, "icrc1_fee", ()).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 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:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | 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:257:51 [INFO] [stdout] | [INFO] [stdout] 257 | 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:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | 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:258:45 [INFO] [stdout] | [INFO] [stdout] 258 | 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:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | 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:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | 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:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | 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:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | 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:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | 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:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | 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:270:23 [INFO] [stdout] | [INFO] [stdout] 270 | 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:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | 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:275:45 [INFO] [stdout] | [INFO] [stdout] 275 | 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:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | 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:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | 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:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | 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:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | 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:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | 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:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | 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:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | String::from_utf8(resp.body).map_err(|_| "Failed to decode response body".to_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | Ok(mut txs) => { [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: 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:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | 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:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | 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:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] 99 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] 100 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 101 | | }, [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:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | 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:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | 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:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(res.public_key) [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:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | 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:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | / key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stdout] 122 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stdout] 123 | | name: key_name, [INFO] [stdout] 124 | | }, [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:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | 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:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | 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:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | SecpSignature::from_compact(&signature_response.signature).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `own_public_key` [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | 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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slow_fee_rate` [INFO] [stdout] --> fintrack_backend/src/services/btctransfer.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | 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] 358 | 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] 358 - let slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stdout] 358 + 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::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:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | 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:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | 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:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | 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:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | 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:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | 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:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | 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:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | 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:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | 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:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | 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:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | 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:70:45 [INFO] [stdout] | [INFO] [stdout] 70 | 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:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | 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:71:56 [INFO] [stdout] | [INFO] [stdout] 71 | 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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | 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:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | 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:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | 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:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | 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:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | 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:83:46 [INFO] [stdout] | [INFO] [stdout] 83 | 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:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | 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:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | 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:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | / key_id: EcdsaKeyId { [INFO] [stdout] 140 | | curve: EcdsaCurve::Secp256k1, [INFO] [stdout] 141 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stdout] 142 | | }, [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:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | 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:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | 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:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | 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:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | 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:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | 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:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | 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:178:46 [INFO] [stdout] | [INFO] [stdout] 178 | let signature = <[u8; 64]>::try_from(result.signature).unwrap_or_else(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_address` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | 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:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | amount: Nat, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpc_service` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | let rpc_service = RpcService::EthSepolia(EthSepoliaService::PublicNode); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rpc_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slow_max_fee` [INFO] [stdout] --> fintrack_backend/src/services/ethtransfer.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | 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] 443 | 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] 443 - let slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stdout] 443 + let services::ethtransfer::estimate_transaction_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:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | 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] 445 | 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] 445 - let fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stdout] 445 + let services::ethtransfer::estimate_transaction_fees::MAX_PRIORITY_FEE_PER_GAS = base_fee_per_gas + fast_priority_fee; [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] [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] [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: `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::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:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:76 [INFO] [stdout] | [INFO] [stdout] 18 | 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::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:108:54 [INFO] [stdout] | [INFO] [stdout] 108 | 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:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | chain_code: value.chain_code, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKCYPHER_TOKEN` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:253:7 [INFO] [stdout] | [INFO] [stdout] 253 | const BLOCKCYPHER_TOKEN: &str = "dce63e3270ec49cfbc91eff20cbece20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `http_post_json` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | 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:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn parse_eth_decimal_to_wei(value: &str) -> Nat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_iso8601_to_unix` is never used [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:603:4 [INFO] [stdout] | [INFO] [stdout] 603 | fn parse_iso8601_to_unix(s: &str) -> 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: 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> fintrack_backend/src/services/transactions.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | 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] 185 | 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:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | 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] 202 | fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(self.0.clone()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.90s [INFO] running `Command { std: "docker" "inspect" "9277a8d801b836cdfe6c9222be8eed2b9beed36d9117805f9f14b72733ff0b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9277a8d801b836cdfe6c9222be8eed2b9beed36d9117805f9f14b72733ff0b09", kill_on_drop: false }` [INFO] [stdout] 9277a8d801b836cdfe6c9222be8eed2b9beed36d9117805f9f14b72733ff0b09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f8a0b630463107815ca5b7687b87623fadd048c19c636e3c03c87d240dcf19f [INFO] running `Command { std: "docker" "start" "-a" "6f8a0b630463107815ca5b7687b87623fadd048c19c636e3c03c87d240dcf19f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/lib.rs:4:54 [INFO] [stderr] | [INFO] [stderr] 4 | use ic_cdk::api::management_canister::http_request::{TransformArgs, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/lib.rs:4:69 [INFO] [stderr] | [INFO] [stderr] 4 | use ic_cdk::api::management_canister::http_request::{TransformArgs, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/lib.rs:377:1 [INFO] [stderr] | [INFO] [stderr] 377 | ic_cdk::export_candid!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `::candid::export_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/lib.rs:377:1 [INFO] [stderr] | [INFO] [stderr] 377 | ic_cdk::export_candid!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `::candid::export_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/btc.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::api::call::call; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/btc.rs:36:33 [INFO] [stderr] | [INFO] [stderr] 36 | let (address,): (String,) = call(minter, "get_btc_address", arg) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/btc.rs:112:35 [INFO] [stderr] | [INFO] [stderr] 112 | let (res,): (UpdateResult,) = call(minter, "update_balance", arg) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/btc.rs:128:26 [INFO] [stderr] | [INFO] [stderr] 128 | let caller = ic_cdk::caller(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/btc.rs:131:30 [INFO] [stderr] | [INFO] [stderr] 131 | let (balance,): (Nat,) = call(ledger, "icrc1_balance_of", arg) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/eth.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::api::call::call; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/eth.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use ic_cdk::api::call::call_with_payment; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/eth.rs:21:42 [INFO] [stderr] | [INFO] [stderr] 21 | let (contract_address,): (String,) = call(minter, "smart_contract_address", ()) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/eth.rs:45:26 [INFO] [stderr] | [INFO] [stderr] 45 | let caller = ic_cdk::caller(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/eth.rs:48:30 [INFO] [stderr] | [INFO] [stderr] 48 | let (balance,): (Nat,) = call(ledger, "icrc1_balance_of", arg) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/eth.rs:60:33 [INFO] [stderr] | [INFO] [stderr] 60 | let (address,): (String,) = call(minter, "minter_address", ()) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/eth.rs:68:30 [INFO] [stderr] | [INFO] [stderr] 68 | let (info,): (String,) = call(minter, "get_minter_info", ()) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/eth.rs:77:34 [INFO] [stderr] | [INFO] [stderr] 77 | let (fee_info,): (String,) = call(minter, "eip_1559_transaction_price", (None::>,)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/eth.rs:104:44 [INFO] [stderr] | [INFO] [stderr] 104 | let (fee_history_result,): (String,) = call_with_payment( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::api::call::call; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:10:34 [INFO] [stderr] | [INFO] [stderr] 10 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:10:46 [INFO] [stderr] | [INFO] [stderr] 10 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:10:58 [INFO] [stderr] | [INFO] [stderr] 10 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:257:9 [INFO] [stderr] | [INFO] [stderr] 257 | HttpHeader { name: "Content-Type".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:260:15 [INFO] [stderr] | [INFO] [stderr] 260 | let arg = CanisterHttpRequestArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:262:29 [INFO] [stderr] | [INFO] [stderr] 262 | method: HttpMethod::POST, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:268:84 [INFO] [stderr] | [INFO] [stderr] 268 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, 2_500_000_000).await [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:268:67 [INFO] [stderr] | [INFO] [stderr] 268 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, 2_500_000_000).await [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:275:9 [INFO] [stderr] | [INFO] [stderr] 275 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:277:15 [INFO] [stderr] | [INFO] [stderr] 277 | let arg = CanisterHttpRequestArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:279:29 [INFO] [stderr] | [INFO] [stderr] 279 | method: HttpMethod::GET, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:285:84 [INFO] [stderr] | [INFO] [stderr] 285 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, 2_500_000_000).await [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:285:67 [INFO] [stderr] | [INFO] [stderr] 285 | let (resp,): (ic_cdk::api::management_canister::http_request::HttpResponse,) = mgmt_http_request(arg, 2_500_000_000).await [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:371:54 [INFO] [stderr] | [INFO] [stderr] 371 | let (result,): (GetAccountTransactionsResult,) = call(index, "get_account_transactions", arg) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:407:54 [INFO] [stderr] | [INFO] [stderr] 407 | let (result,): (GetAccountTransactionsResult,) = call(index, "get_account_transactions", arg) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:857:30 [INFO] [stderr] | [INFO] [stderr] 857 | let (balance,): (Nat,) = call(ledger, "icrc1_balance_of", arg) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:871:30 [INFO] [stderr] | [INFO] [stderr] 871 | let (balance,): (Nat,) = call(ledger, "icrc1_balance_of", arg) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:2:47 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::api::management_canister::ecdsa::{ecdsa_public_key, EcdsaKeyId, EcdsaPublicKeyArgument}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:2:65 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::api::management_canister::ecdsa::{ecdsa_public_key, EcdsaKeyId, EcdsaPublicKeyArgument}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:2:77 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::api::management_canister::ecdsa::{ecdsa_public_key, EcdsaKeyId, EcdsaPublicKeyArgument}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | let args = EcdsaPublicKeyArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | key_id: EcdsaKeyId { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:20:73 [INFO] [stderr] | [INFO] [stderr] 20 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:24:18 [INFO] [stderr] | [INFO] [stderr] 24 | let (res,) = ecdsa_public_key(args) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/address.rs:45:51 [INFO] [stderr] | [INFO] [stderr] 45 | let owner = owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/address.rs:51:51 [INFO] [stderr] | [INFO] [stderr] 51 | let owner = owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:95:57 [INFO] [stderr] | [INFO] [stderr] 95 | let args = ic_cdk::api::management_canister::ecdsa::EcdsaPublicKeyArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:98:58 [INFO] [stderr] | [INFO] [stderr] 98 | key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:99:73 [INFO] [stderr] | [INFO] [stderr] 99 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:104:59 [INFO] [stderr] | [INFO] [stderr] 104 | let (res,) = ic_cdk::api::management_canister::ecdsa::ecdsa_public_key(args) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:117:74 [INFO] [stderr] | [INFO] [stderr] 117 | let (signature_response,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:118:50 [INFO] [stderr] | [INFO] [stderr] 118 | ic_cdk::api::management_canister::ecdsa::SignWithEcdsaArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:121:62 [INFO] [stderr] | [INFO] [stderr] 121 | key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:122:77 [INFO] [stderr] | [INFO] [stderr] 122 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/btctransfer.rs:328:51 [INFO] [stderr] | [INFO] [stderr] 328 | let owner = owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/btctransfer.rs:407:59 [INFO] [stderr] | [INFO] [stderr] 407 | let owner = request.owner.unwrap_or_else(ic_cdk::api::caller); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:3:46 [INFO] [stderr] | [INFO] [stderr] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:3:58 [INFO] [stderr] | [INFO] [stderr] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:3:73 [INFO] [stderr] | [INFO] [stderr] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:3:91 [INFO] [stderr] | [INFO] [stderr] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:3:105 [INFO] [stderr] | [INFO] [stderr] 3 | CanisterHttpRequestArgument, HttpHeader, HttpMethod, TransformArgs, TransformContext, HttpResponse, http_request as mgmt_http_request, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn transform(args: TransformArgs) -> HttpResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:16:42 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn transform(args: TransformArgs) -> HttpResponse { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | let request = CanisterHttpRequestArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | method: HttpMethod::GET, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:45:25 [INFO] [stderr] | [INFO] [stderr] 45 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | match mgmt_http_request(request, 100_000_000).await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:73:19 [INFO] [stderr] | [INFO] [stderr] 73 | let request = CanisterHttpRequestArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:75:29 [INFO] [stderr] | [INFO] [stderr] 75 | method: HttpMethod::GET, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:78:25 [INFO] [stderr] | [INFO] [stderr] 78 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:81:33 [INFO] [stderr] | [INFO] [stderr] 81 | let (btc, eth, sol) = match mgmt_http_request(request, 100_000_000).await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use ic_cdk::api::call::call_with_payment128; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:5:47 [INFO] [stderr] | [INFO] [stderr] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:5:71 [INFO] [stderr] | [INFO] [stderr] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:5:83 [INFO] [stderr] | [INFO] [stderr] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:5:95 [INFO] [stderr] | [INFO] [stderr] 5 | ecdsa_public_key, EcdsaPublicKeyArgument, EcdsaPublicKeyResponse, EcdsaKeyId, EcdsaCurve, SignWithEcdsaArgument [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:105:11 [INFO] [stderr] | [INFO] [stderr] 105 | impl From for EcdsaPublicKey { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:243:54 [INFO] [stderr] | [INFO] [stderr] 243 | let owner = request.owner.unwrap_or_else(ic_cdk::caller); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:291:21 [INFO] [stderr] | [INFO] [stderr] 291 | let (result,) = call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:373:33 [INFO] [stderr] | [INFO] [stderr] 373 | let (gas_price_response,) = call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:404:32 [INFO] [stderr] | [INFO] [stderr] 404 | let (base_fee_response,) = call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:489:23 [INFO] [stderr] | [INFO] [stderr] 489 | let (response,) = call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:523:46 [INFO] [stderr] | [INFO] [stderr] 523 | let owner = owner.unwrap_or_else(ic_cdk::caller); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:533:21 [INFO] [stderr] | [INFO] [stderr] 533 | let (result,) = call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:106:20 [INFO] [stderr] | [INFO] [stderr] 106 | fn from(value: EcdsaPublicKeyResponse) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:136:20 [INFO] [stderr] | [INFO] [stderr] 136 | let args = EcdsaPublicKeyArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:139:21 [INFO] [stderr] | [INFO] [stderr] 139 | key_id: EcdsaKeyId { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:140:36 [INFO] [stderr] | [INFO] [stderr] 140 | curve: EcdsaCurve::Secp256k1, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:144:22 [INFO] [stderr] | [INFO] [stderr] 144 | let (res,) = ecdsa_public_key(args) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | let key_id = EcdsaKeyId { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:166:32 [INFO] [stderr] | [INFO] [stderr] 166 | curve: EcdsaCurve::Secp256k1, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:169:66 [INFO] [stderr] | [INFO] [stderr] 169 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:169:82 [INFO] [stderr] | [INFO] [stderr] 169 | let (result,) = ic_cdk::api::management_canister::ecdsa::sign_with_ecdsa(SignWithEcdsaArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | use ic_cdk::api::call::CallResult as Result; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:372:98 [INFO] [stderr] | [INFO] [stderr] 372 | pub async fn eth_call(&self, arg0: &RpcServices, arg1: &Option, arg2: &CallArgs) -> Result<(MultiCallResult,)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:373:13 [INFO] [stderr] | [INFO] [stderr] 373 | ic_cdk::call(self.0, "eth_call", (arg0,arg1,arg2,)).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:375:111 [INFO] [stderr] | [INFO] [stderr] 375 | pub async fn eth_fee_history(&self, arg0: &RpcServices, arg1: &Option, arg2: &FeeHistoryArgs) -> Result<(MultiFeeHistoryResu... [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:376:13 [INFO] [stderr] | [INFO] [stderr] 376 | ic_cdk::call(self.0, "eth_feeHistory", (arg0,arg1,arg2,)).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:378:113 [INFO] [stderr] | [INFO] [stderr] 378 | pub async fn eth_get_block_by_number(&self, arg0: &RpcServices, arg1: &Option, arg2: &BlockTag) -> Result<(MultiGetBlockByNu... [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:379:13 [INFO] [stderr] | [INFO] [stderr] 379 | ic_cdk::call(self.0, "eth_getBlockByNumber", (arg0,arg1,arg2,)).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:381:105 [INFO] [stderr] | [INFO] [stderr] 381 | pub async fn eth_get_logs(&self, arg0: &RpcServices, arg1: &Option, arg2: &GetLogsArgs) -> Result<(MultiGetLogsResult,)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:382:13 [INFO] [stderr] | [INFO] [stderr] 382 | ic_cdk::call(self.0, "eth_getLogs", (arg0,arg1,arg2,)).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:384:130 [INFO] [stderr] | [INFO] [stderr] 384 | ...s, arg1: &Option, arg2: &GetTransactionCountArgs) -> Result<(MultiGetTransactionCountResult,)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:385:13 [INFO] [stderr] | [INFO] [stderr] 385 | ic_cdk::call(self.0, "eth_getTransactionCount", (arg0,arg1,arg2,)).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:387:115 [INFO] [stderr] | [INFO] [stderr] 387 | pub async fn eth_get_transaction_receipt(&self, arg0: &RpcServices, arg1: &Option, arg2: &String) -> Result<(MultiGetTransac... [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:388:13 [INFO] [stderr] | [INFO] [stderr] 388 | ic_cdk::call(self.0, "eth_getTransactionReceipt", (arg0,arg1,arg2,)).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:390:112 [INFO] [stderr] | [INFO] [stderr] 390 | pub async fn eth_send_raw_transaction(&self, arg0: &RpcServices, arg1: &Option, arg2: &String) -> Result<(MultiSendRawTransa... [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:391:13 [INFO] [stderr] | [INFO] [stderr] 391 | ic_cdk::call(self.0, "eth_sendRawTransaction", (arg0,arg1,arg2,)).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:395:38 [INFO] [stderr] | [INFO] [stderr] 395 | pub async fn get_metrics(&self) -> Result<(Metrics,)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:396:13 [INFO] [stderr] | [INFO] [stderr] 396 | ic_cdk::call(self.0, "getMetrics", ()).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:398:46 [INFO] [stderr] | [INFO] [stderr] 398 | pub async fn get_nodes_in_subnet(&self) -> Result<(u32,)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:399:13 [INFO] [stderr] | [INFO] [stderr] 399 | ic_cdk::call(self.0, "getNodesInSubnet", ()).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:401:40 [INFO] [stderr] | [INFO] [stderr] 401 | pub async fn get_providers(&self) -> Result<(Vec,)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:402:13 [INFO] [stderr] | [INFO] [stderr] 402 | ic_cdk::call(self.0, "getProviders", ()).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:404:51 [INFO] [stderr] | [INFO] [stderr] 404 | pub async fn get_service_provider_map(&self) -> Result<(Vec<(RpcService,ProviderId,)>,)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:405:13 [INFO] [stderr] | [INFO] [stderr] 405 | ic_cdk::call(self.0, "getServiceProviderMap", ()).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:407:80 [INFO] [stderr] | [INFO] [stderr] 407 | pub async fn request(&self, arg0: &RpcService, arg1: &String, arg2: &u64) -> Result<(RequestResult,)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:408:13 [INFO] [stderr] | [INFO] [stderr] 408 | ic_cdk::call(self.0, "request", (arg0,arg1,arg2,)).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:410:85 [INFO] [stderr] | [INFO] [stderr] 410 | pub async fn request_cost(&self, arg0: &RpcService, arg1: &String, arg2: &u64) -> Result<(RequestCostResult,)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:411:13 [INFO] [stderr] | [INFO] [stderr] 411 | ic_cdk::call(self.0, "requestCost", (arg0,arg1,arg2,)).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:413:84 [INFO] [stderr] | [INFO] [stderr] 413 | pub async fn update_api_keys(&self, arg0: &Vec<(ProviderId,Option,)>) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/evm_rpc_canister.rs:414:13 [INFO] [stderr] | [INFO] [stderr] 414 | ic_cdk::call(self.0, "updateApiKeys", (arg0,)).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::{caller}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | ic_cdk::call::<_, (Result,)>(token, "icrc2_transfer_from", (arg,)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:164:13 [INFO] [stderr] | [INFO] [stderr] 164 | ic_cdk::call::<_, (Result,)>(token, "icrc1_transfer", (arg,)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:171:34 [INFO] [stderr] | [INFO] [stderr] 171 | let (fee,): (Nat,) = ic_cdk::call(token, "icrc1_fee", ()).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:181:30 [INFO] [stderr] | [INFO] [stderr] 181 | Account { owner: ic_cdk::id(), subaccount: Some(sub.to_vec()) } [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:258:17 [INFO] [stderr] | [INFO] [stderr] 258 | let owner = caller(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:300:36 [INFO] [stderr] | [INFO] [stderr] 300 | let who = owner.unwrap_or_else(caller); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:403:36 [INFO] [stderr] | [INFO] [stderr] 403 | let who = owner.unwrap_or_else(caller); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:416:29 [INFO] [stderr] | [INFO] [stderr] 416 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:426:29 [INFO] [stderr] | [INFO] [stderr] 426 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:499:29 [INFO] [stderr] | [INFO] [stderr] 499 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:539:25 [INFO] [stderr] | [INFO] [stderr] 539 | Some(o) if o == caller() => { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:554:29 [INFO] [stderr] | [INFO] [stderr] 554 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:567:29 [INFO] [stderr] | [INFO] [stderr] 567 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:590:156 [INFO] [stderr] | [INFO] [stderr] 590 | ...om(0u32)), Nat(num::BigUint::from(0u32)), Account{ owner: ic_cdk::id(), subaccount: None }) [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:594:17 [INFO] [stderr] | [INFO] [stderr] 594 | if owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:626:29 [INFO] [stderr] | [INFO] [stderr] 626 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:638:29 [INFO] [stderr] | [INFO] [stderr] 638 | if bi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:658:17 [INFO] [stderr] | [INFO] [stderr] 658 | if owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::{caller, api::time}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:117:13 [INFO] [stderr] | [INFO] [stderr] 117 | ic_cdk::call::<_, (Result,)>(token, "icrc2_transfer_from", (arg,)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | ic_cdk::call::<_, (Result,)>(token, "icrc1_transfer", (arg,)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:127:34 [INFO] [stderr] | [INFO] [stderr] 127 | let (fee,): (Nat,) = ic_cdk::call(token, "icrc1_fee", ()).await [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:133:81 [INFO] [stderr] | [INFO] [stderr] 133 | fn canister_escrow_account(sub: [u8; 32]) -> Account { Account { owner: ic_cdk::id(), subaccount: Some(sub.to_vec()) } } [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | let owner = caller(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:220:36 [INFO] [stderr] | [INFO] [stderr] 220 | let who = owner.unwrap_or_else(caller); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:238:29 [INFO] [stderr] | [INFO] [stderr] 238 | if gi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:294:29 [INFO] [stderr] | [INFO] [stderr] 294 | if gi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:349:29 [INFO] [stderr] | [INFO] [stderr] 349 | if gi.info.owner != caller() { return Err("unauthorized".to_string()); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:257:22 [INFO] [stderr] | [INFO] [stderr] 257 | HttpHeader { name: "Content-Type".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:257:51 [INFO] [stderr] | [INFO] [stderr] 257 | HttpHeader { name: "Content-Type".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:258:22 [INFO] [stderr] | [INFO] [stderr] 258 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:258:45 [INFO] [stderr] | [INFO] [stderr] 258 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:261:9 [INFO] [stderr] | [INFO] [stderr] 261 | url: url.into(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:262:9 [INFO] [stderr] | [INFO] [stderr] 262 | method: HttpMethod::POST, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:263:9 [INFO] [stderr] | [INFO] [stderr] 263 | body: Some(body.into_bytes()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:264:9 [INFO] [stderr] | [INFO] [stderr] 264 | max_response_bytes: Some(max_response_bytes), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:265:9 [INFO] [stderr] | [INFO] [stderr] 265 | transform: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:266:9 [INFO] [stderr] | [INFO] [stderr] 266 | headers, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:270:23 [INFO] [stderr] | [INFO] [stderr] 270 | String::from_utf8(resp.body).map_err(|_| "Failed to decode response body".to_string()) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:275:22 [INFO] [stderr] | [INFO] [stderr] 275 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:275:45 [INFO] [stderr] | [INFO] [stderr] 275 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:278:9 [INFO] [stderr] | [INFO] [stderr] 278 | url: url.into(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:279:9 [INFO] [stderr] | [INFO] [stderr] 279 | method: HttpMethod::GET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:280:9 [INFO] [stderr] | [INFO] [stderr] 280 | body: None, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:281:9 [INFO] [stderr] | [INFO] [stderr] 281 | max_response_bytes: Some(max_response_bytes), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:282:9 [INFO] [stderr] | [INFO] [stderr] 282 | transform: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:283:9 [INFO] [stderr] | [INFO] [stderr] 283 | headers, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/transactions.rs:287:23 [INFO] [stderr] | [INFO] [stderr] 287 | String::from_utf8(resp.body).map_err(|_| "Failed to decode response body".to_string()) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:444:12 [INFO] [stderr] | [INFO] [stderr] 444 | Ok(mut txs) => { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | canister_id: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | derivation_path: principal_derivation_path(owner), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | / key_id: EcdsaKeyId { [INFO] [stderr] 20 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stderr] 21 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stderr] 22 | | }, [INFO] [stderr] | |_________^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/address.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | Ok(res.public_key) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | canister_id: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | derivation_path, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | / key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stderr] 99 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stderr] 100 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stderr] 101 | | }, [INFO] [stderr] | |_________^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:99:13 [INFO] [stderr] | [INFO] [stderr] 99 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:108:8 [INFO] [stderr] | [INFO] [stderr] 108 | Ok(res.public_key) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | message_hash, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:120:13 [INFO] [stderr] | [INFO] [stderr] 120 | derivation_path, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | / key_id: ic_cdk::api::management_canister::ecdsa::EcdsaKeyId { [INFO] [stderr] 122 | | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stderr] 123 | | name: key_name, [INFO] [stderr] 124 | | }, [INFO] [stderr] | |_____________^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | curve: ic_cdk::api::management_canister::ecdsa::EcdsaCurve::Secp256k1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:123:17 [INFO] [stderr] | [INFO] [stderr] 123 | name: key_name, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/btctransfer.rs:130:34 [INFO] [stderr] | [INFO] [stderr] 130 | SecpSignature::from_compact(&signature_response.signature).unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `own_public_key` [INFO] [stderr] --> fintrack_backend/src/services/btctransfer.rs:338:9 [INFO] [stderr] | [INFO] [stderr] 338 | let own_public_key = PublicKey::from_slice(&public_key_bytes) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_own_public_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slow_fee_rate` [INFO] [stderr] --> fintrack_backend/src/services/btctransfer.rs:358:9 [INFO] [stderr] | [INFO] [stderr] 358 | let slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 358 | let _slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `SEC_PER_DAY` [INFO] [stderr] | [INFO] [stderr] 358 - let slow_fee_rate = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stderr] 358 + let services::timers::SEC_PER_DAY = fee_percentiles.get(25).copied().unwrap_or(1000); // 25th percentile [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:36:45 [INFO] [stderr] | [INFO] [stderr] 36 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:37:56 [INFO] [stderr] | [INFO] [stderr] 37 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | url, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | method: HttpMethod::GET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | body: None, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | max_response_bytes: Some(2000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:45:43 [INFO] [stderr] | [INFO] [stderr] 45 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | headers, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:51:46 [INFO] [stderr] | [INFO] [stderr] 51 | let str_body = String::from_utf8(response.body) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:70:22 [INFO] [stderr] | [INFO] [stderr] 70 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:70:45 [INFO] [stderr] | [INFO] [stderr] 70 | HttpHeader { name: "Accept".into(), value: "application/json".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:71:22 [INFO] [stderr] | [INFO] [stderr] 71 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:71:56 [INFO] [stderr] | [INFO] [stderr] 71 | HttpHeader { name: "X-Cg-Demo-Api-Key".into(), value: "CG-R6KYDr2MxXQ3Y34TNTWyhuhn".into() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | url, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | method: HttpMethod::GET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | body: None, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | max_response_bytes: Some(4000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:78:43 [INFO] [stderr] | [INFO] [stderr] 78 | transform: Some(TransformContext::from_name("transform".to_string(), vec![])), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | headers, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:83:46 [INFO] [stderr] | [INFO] [stderr] 83 | let str_body = String::from_utf8(response.body).map_err(|_| "Failed to decode response body".to_string())?; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | canister_id: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:138:13 [INFO] [stderr] | [INFO] [stderr] 138 | derivation_path: principal_derivation_path(&owner), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:139:13 [INFO] [stderr] | [INFO] [stderr] 139 | / key_id: EcdsaKeyId { [INFO] [stderr] 140 | | curve: EcdsaCurve::Secp256k1, [INFO] [stderr] 141 | | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stderr] 142 | | }, [INFO] [stderr] | |_____________^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | curve: EcdsaCurve::Secp256k1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:141:17 [INFO] [stderr] | [INFO] [stderr] 141 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:166:13 [INFO] [stderr] | [INFO] [stderr] 166 | curve: EcdsaCurve::Secp256k1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:167:13 [INFO] [stderr] | [INFO] [stderr] 167 | name: DEFAULT_ECDSA_KEY_NAME.to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:170:13 [INFO] [stderr] | [INFO] [stderr] 170 | message_hash: message_hash.to_vec(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:171:13 [INFO] [stderr] | [INFO] [stderr] 171 | derivation_path, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | key_id, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:177:32 [INFO] [stderr] | [INFO] [stderr] 177 | let signature_length = result.signature.len(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:178:46 [INFO] [stderr] | [INFO] [stderr] 178 | let signature = <[u8; 64]>::try_from(result.signature).unwrap_or_else(|_| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `destination_address` [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:363:5 [INFO] [stderr] | [INFO] [stderr] 363 | destination_address: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount` [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:364:5 [INFO] [stderr] | [INFO] [stderr] 364 | amount: Nat, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rpc_service` [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:371:9 [INFO] [stderr] | [INFO] [stderr] 371 | let rpc_service = RpcService::EthSepolia(EthSepoliaService::PublicNode); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rpc_service` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slow_max_fee` [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:443:9 [INFO] [stderr] | [INFO] [stderr] 443 | let slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 443 | let _slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `MAX_PRIORITY_FEE_PER_GAS` [INFO] [stderr] | [INFO] [stderr] 443 - let slow_max_fee = base_fee_per_gas + slow_priority_fee; [INFO] [stderr] 443 + let services::ethtransfer::estimate_transaction_fees::MAX_PRIORITY_FEE_PER_GAS = base_fee_per_gas + slow_priority_fee; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fast_max_fee` [INFO] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:445:9 [INFO] [stderr] | [INFO] [stderr] 445 | let fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 445 | let _fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `MAX_PRIORITY_FEE_PER_GAS` [INFO] [stderr] | [INFO] [stderr] 445 - let fast_max_fee = base_fee_per_gas + fast_priority_fee; [INFO] [stderr] 445 + let services::ethtransfer::estimate_transaction_fees::MAX_PRIORITY_FEE_PER_GAS = base_fee_per_gas + fast_priority_fee; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `available` [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:423:24 [INFO] [stderr] | [INFO] [stderr] 423 | let (asset, owner, available, escrow, start, end, period_locked, unlocked_so_far) = BUDGETS.with(|b| { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:482:21 [INFO] [stderr] | [INFO] [stderr] 482 | if let Some(mut bi) = map.get_mut(&id) { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `asset_kind` [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:679:5 [INFO] [stderr] | [INFO] [stderr] 679 | asset_kind: AssetKind, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_kind` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_locked` [INFO] [stderr] --> fintrack_backend/src/services/goals.rs:291:24 [INFO] [stderr] | [INFO] [stderr] 291 | let (asset, owner, current_locked, escrow) = GOALS.with(|g| { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_locked` [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:18:50 [INFO] [stderr] | [INFO] [stderr] 18 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:18:56 [INFO] [stderr] | [INFO] [stderr] 18 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:18:56 [INFO] [stderr] | [INFO] [stderr] 18 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/rates.rs:18:76 [INFO] [stderr] | [INFO] [stderr] 18 | HttpResponse { status: args.response.status, body: args.response.body, headers: vec![] } [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:108:54 [INFO] [stderr] | [INFO] [stderr] 108 | public_key: PublicKey::deserialize_sec1(&value.public_key) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> fintrack_backend/src/services/ethtransfer.rs:110:25 [INFO] [stderr] | [INFO] [stderr] 110 | chain_code: value.chain_code, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BLOCKCYPHER_TOKEN` is never used [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:253:7 [INFO] [stderr] | [INFO] [stderr] 253 | const BLOCKCYPHER_TOKEN: &str = "dce63e3270ec49cfbc91eff20cbece20"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `http_post_json` is never used [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:255:10 [INFO] [stderr] | [INFO] [stderr] 255 | async fn http_post_json(url: &str, body: String, max_response_bytes: u64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_eth_decimal_to_wei` is never used [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:290:4 [INFO] [stderr] | [INFO] [stderr] 290 | fn parse_eth_decimal_to_wei(value: &str) -> Nat { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_iso8601_to_unix` is never used [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:603:4 [INFO] [stderr] | [INFO] [stderr] 603 | fn parse_iso8601_to_unix(s: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `budget_key` is never used [INFO] [stderr] --> fintrack_backend/src/services/budget.rs:105:4 [INFO] [stderr] | [INFO] [stderr] 105 | fn budget_key(owner: &Principal, id: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `NS_PER_SEC` is never used [INFO] [stderr] --> fintrack_backend/src/services/timers.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const NS_PER_SEC: u64 = 1_000_000_000; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SEC_PER_MIN` is never used [INFO] [stderr] --> fintrack_backend/src/services/timers.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const SEC_PER_MIN: u64 = 60; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SEC_PER_HOUR` is never used [INFO] [stderr] --> fintrack_backend/src/services/timers.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const SEC_PER_HOUR: u64 = 60 * 60; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SEC_PER_DAY` is never used [INFO] [stderr] --> fintrack_backend/src/services/timers.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub const SEC_PER_DAY: u64 = 24 * SEC_PER_HOUR; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `schedule_in` is never used [INFO] [stderr] --> fintrack_backend/src/services/timers.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn schedule_in(ns_delay: u64, f: impl FnOnce() + 'static) -> TimerId { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `cancel_timer` is never used [INFO] [stderr] --> fintrack_backend/src/services/timers.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn cancel_timer(timer: Option) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:185:17 [INFO] [stderr] | [INFO] [stderr] 185 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 185 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> fintrack_backend/src/services/transactions.rs:202:17 [INFO] [stderr] | [INFO] [stderr] 202 | fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(self.0.clone()) } [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 202 | fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(self.0.clone()) } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `fintrack_backend` (lib test) generated 270 warnings (run `cargo fix --lib -p fintrack_backend --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fintrack_backend-ced265a66bc47bbc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6f8a0b630463107815ca5b7687b87623fadd048c19c636e3c03c87d240dcf19f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f8a0b630463107815ca5b7687b87623fadd048c19c636e3c03c87d240dcf19f", kill_on_drop: false }` [INFO] [stdout] 6f8a0b630463107815ca5b7687b87623fadd048c19c636e3c03c87d240dcf19f