[INFO] cloning repository https://github.com/Nick-Maximillien/rust-ai-defi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nick-Maximillien/rust-ai-defi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNick-Maximillien%2Frust-ai-defi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNick-Maximillien%2Frust-ai-defi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1807cdcfc215daded5301b032a96501291988ce0
[INFO] checking Nick-Maximillien/rust-ai-defi against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNick-Maximillien%2Frust-ai-defi" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Nick-Maximillien/rust-ai-defi
[INFO] finished tweaking git repo https://github.com/Nick-Maximillien/rust-ai-defi
[INFO] tweaked toml for git repo https://github.com/Nick-Maximillien/rust-ai-defi written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Nick-Maximillien/rust-ai-defi on toolchain e977a0b5ab976a591981e7263bd67a71a4f79308
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Nick-Maximillien/rust-ai-defi 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" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pretty v0.12.5
[INFO] [stderr]   Downloaded candid_derive v0.10.19
[INFO] [stderr]   Downloaded ic-cdk-macros v0.18.7
[INFO] [stderr]   Downloaded psm v0.1.27
[INFO] [stderr]   Downloaded candid v0.10.19
[INFO] [stderr]   Downloaded ic-cdk-executor v1.0.2
[INFO] [stderr]   Downloaded ic0 v1.0.1
[INFO] [stderr]   Downloaded ic-cdk-timers v0.12.2
[INFO] [stderr]   Downloaded ic-error-types v0.2.0
[INFO] [stderr]   Downloaded ic-management-canister-types v0.3.3
[INFO] [stderr]   Downloaded ic-cdk v0.18.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] df00fc712e47e53b4363f1fdf3b8c73dfe0c2df6254e8ba21390c3af8759477f
[INFO] running `Command { std: "docker" "start" "df00fc712e47e53b4363f1fdf3b8c73dfe0c2df6254e8ba21390c3af8759477f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "df00fc712e47e53b4363f1fdf3b8c73dfe0c2df6254e8ba21390c3af8759477f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "df00fc712e47e53b4363f1fdf3b8c73dfe0c2df6254e8ba21390c3af8759477f" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "df00fc712e47e53b4363f1fdf3b8c73dfe0c2df6254e8ba21390c3af8759477f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "df00fc712e47e53b4363f1fdf3b8c73dfe0c2df6254e8ba21390c3af8759477f" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling find-msvc-tools v0.1.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling cc v1.2.40
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]    Compiling psm v0.1.27
[INFO] [stderr]    Compiling stacker v0.1.22
[INFO] [stderr]    Compiling pretty v0.12.5
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking leb128 v0.2.5
[INFO] [stderr]    Compiling ic-cdk-executor v1.0.2
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking ic0 v1.0.1
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling candid_derive v0.10.19
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking ic_principal v0.1.1
[INFO] [stderr]     Checking ic-error-types v0.2.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking candid v0.10.19
[INFO] [stderr]     Checking ic-management-canister-types v0.3.3
[INFO] [stderr]    Compiling ic-cdk-macros v0.18.7
[INFO] [stderr]     Checking ic-cdk v0.18.7
[INFO] [stderr]     Checking ic-cdk-timers v0.12.2
[INFO] [stderr]     Checking dip20_icp_token v0.1.0 (/opt/rustwide/workdir/src/dip20_icp_token)
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]   --> src/dip20_icp_token/src/lib.rs:83:26
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let caller = ic_cdk::caller();
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]   --> src/dip20_icp_token/src/lib.rs:91:26
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let caller = ic_cdk::caller();
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/dip20_icp_token/src/lib.rs:105:26
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let caller = ic_cdk::caller();
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]   --> src/dip20_icp_token/src/lib.rs:83:26
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let caller = ic_cdk::caller();
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]   --> src/dip20_icp_token/src/lib.rs:91:26
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let caller = ic_cdk::caller();
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/dip20_icp_token/src/lib.rs:105:26
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let caller = ic_cdk::caller();
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `balanceOf` should have a snake case name
[INFO] [stdout]   --> src/dip20_icp_token/src/lib.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn balanceOf(owner: Principal) -> Nat {
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `balance_of`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transferFrom` should have a snake case name
[INFO] [stdout]    --> src/dip20_icp_token/src/lib.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn transferFrom(from: Principal, to: Principal, amount: Nat) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `transfer_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking defi_pool_backend v0.1.0 (/opt/rustwide/workdir/src/defi_pool_backend)
[INFO] [stderr]     Checking ai_service_proxy v0.1.0 (/opt/rustwide/workdir/src/ai_service_proxy)
[INFO] [stdout] warning: function `balanceOf` should have a snake case name
[INFO] [stdout]   --> src/dip20_icp_token/src/lib.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn balanceOf(owner: Principal) -> Nat {
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `balance_of`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transferFrom` should have a snake case name
[INFO] [stdout]    --> src/dip20_icp_token/src/lib.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn transferFrom(from: Principal, to: Principal, amount: Nat) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `transfer_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `init`
[INFO] [stdout]  --> src/defi_pool_backend/src/lib.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ic_cdk_macros::{init, query, update};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowRequest`
[INFO] [stdout]   --> src/defi_pool_backend/src/lib.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use types::{UserAccount, BorrowRequest, RiskRequest, RiskResponse, StableBalanceEntry, StableToken, CrowdfundEntry};
[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]   --> src/defi_pool_backend/src/lib.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ic_cdk::call;
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]   --> src/defi_pool_backend/src/lib.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Err(err) => ic_cdk::print(format!("Failed to parse ICP canister ID: {:?}", err)),
[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]    --> src/defi_pool_backend/src/lib.rs:217:46
[INFO] [stdout]     |
[INFO] [stdout] 217 |     let result: Result<(RiskResponse,), _> = call(principal, "risk", (request,)).await;
[INFO] [stdout]     |                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |     ic_cdk::print(format!(
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:245:26
[INFO] [stdout]     |
[INFO] [stdout] 245 |     let caller = ic_cdk::caller();
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:253:25
[INFO] [stdout]     |
[INFO] [stdout] 253 |                 ic_cdk::print(format!("Deposit failed: token {} not supported", token));
[INFO] [stdout]     |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |     ic_cdk::print(format!(
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:269:17
[INFO] [stdout]     |
[INFO] [stdout] 269 |         ic_cdk::print("Deposit failed: transferFrom returned false");
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |     ic_cdk::print("Transfer successful");
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:277:17
[INFO] [stdout]     |
[INFO] [stdout] 277 |         ic_cdk::print("Deposit failed: mint returned false");
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:280:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |     ic_cdk::print("Mint successful");
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:293:13
[INFO] [stdout]     |
[INFO] [stdout] 293 |     ic_cdk::print(format!(
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:315:26
[INFO] [stdout]     |
[INFO] [stdout] 315 |     let caller = ic_cdk::caller();
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:358:26
[INFO] [stdout]     |
[INFO] [stdout] 358 |     let caller = ic_cdk::caller();
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:378:26
[INFO] [stdout]     |
[INFO] [stdout] 378 |     let caller = ic_cdk::caller();
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:412:26
[INFO] [stdout]     |
[INFO] [stdout] 412 |     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]   --> src/defi_pool_backend/src/lib.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |     use ic_cdk::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]   --> src/defi_pool_backend/src/lib.rs:21:39
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let res: Result<(bool,), _> = call(token, "transferFrom", (from, to, amount)).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]   --> src/defi_pool_backend/src/lib.rs:26:38
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let res: Result<(Nat,), _> = call(token, "balanceOf", (owner,)).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]   --> src/defi_pool_backend/src/lib.rs:31:39
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let res: Result<(bool,), _> = call(token, "mint", (to, amount)).await;
[INFO] [stdout]    |                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `init`
[INFO] [stdout]  --> src/defi_pool_backend/src/lib.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ic_cdk_macros::{init, query, update};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowRequest`
[INFO] [stdout]   --> src/defi_pool_backend/src/lib.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use types::{UserAccount, BorrowRequest, RiskRequest, RiskResponse, StableBalanceEntry, StableToken, CrowdfundEntry};
[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]   --> src/defi_pool_backend/src/lib.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ic_cdk::call;
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]   --> src/defi_pool_backend/src/lib.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Err(err) => ic_cdk::print(format!("Failed to parse ICP canister ID: {:?}", err)),
[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]    --> src/defi_pool_backend/src/lib.rs:217:46
[INFO] [stdout]     |
[INFO] [stdout] 217 |     let result: Result<(RiskResponse,), _> = call(principal, "risk", (request,)).await;
[INFO] [stdout]     |                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |     ic_cdk::print(format!(
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:245:26
[INFO] [stdout]     |
[INFO] [stdout] 245 |     let caller = ic_cdk::caller();
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:253:25
[INFO] [stdout]     |
[INFO] [stdout] 253 |                 ic_cdk::print(format!("Deposit failed: token {} not supported", token));
[INFO] [stdout]     |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |     ic_cdk::print(format!(
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:269:17
[INFO] [stdout]     |
[INFO] [stdout] 269 |         ic_cdk::print("Deposit failed: transferFrom returned false");
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |     ic_cdk::print("Transfer successful");
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:277:17
[INFO] [stdout]     |
[INFO] [stdout] 277 |         ic_cdk::print("Deposit failed: mint returned false");
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:280:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |     ic_cdk::print("Mint successful");
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:293:13
[INFO] [stdout]     |
[INFO] [stdout] 293 |     ic_cdk::print(format!(
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:315:26
[INFO] [stdout]     |
[INFO] [stdout] 315 |     let caller = ic_cdk::caller();
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:358:26
[INFO] [stdout]     |
[INFO] [stdout] 358 |     let caller = ic_cdk::caller();
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:378:26
[INFO] [stdout]     |
[INFO] [stdout] 378 |     let caller = ic_cdk::caller();
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead
[INFO] [stdout]    --> src/defi_pool_backend/src/lib.rs:412:26
[INFO] [stdout]     |
[INFO] [stdout] 412 |     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]   --> src/defi_pool_backend/src/lib.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |     use ic_cdk::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]   --> src/defi_pool_backend/src/lib.rs:21:39
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let res: Result<(bool,), _> = call(token, "transferFrom", (from, to, amount)).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]   --> src/defi_pool_backend/src/lib.rs:26:38
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let res: Result<(Nat,), _> = call(token, "balanceOf", (owner,)).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]   --> src/defi_pool_backend/src/lib.rs:31:39
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let res: Result<(bool,), _> = call(token, "mint", (to, amount)).await;
[INFO] [stdout]    |                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BorrowRequest` is never constructed
[INFO] [stdout]   --> src/defi_pool_backend/src/types.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct BorrowRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CrowdfundingPool` is never constructed
[INFO] [stdout]   --> src/defi_pool_backend/src/types.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct CrowdfundingPool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `balance_of` is never used
[INFO] [stdout]   --> src/defi_pool_backend/src/lib.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub async fn balance_of(token: Principal, owner: Principal) -> Nat {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BorrowRequest` is never constructed
[INFO] [stdout]   --> src/defi_pool_backend/src/types.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct BorrowRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CrowdfundingPool` is never constructed
[INFO] [stdout]   --> src/defi_pool_backend/src/types.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct CrowdfundingPool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `balance_of` is never used
[INFO] [stdout]   --> src/defi_pool_backend/src/lib.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub async fn balance_of(token: Principal, owner: Principal) -> Nat {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] running `Command { std: "docker" "inspect" "df00fc712e47e53b4363f1fdf3b8c73dfe0c2df6254e8ba21390c3af8759477f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df00fc712e47e53b4363f1fdf3b8c73dfe0c2df6254e8ba21390c3af8759477f", kill_on_drop: false }`
[INFO] [stdout] df00fc712e47e53b4363f1fdf3b8c73dfe0c2df6254e8ba21390c3af8759477f
