[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] 39669543d40b88fbbd56d959a8e3306b63e09b1f
[INFO] checking Nick-Maximillien/rust-ai-defi against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNick-Maximillien%2Frust-ai-defi" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Nick-Maximillien/rust-ai-defi on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ic-cdk-executor v1.0.2
[INFO] [stderr]   Downloaded candid_derive v0.10.19
[INFO] [stderr]   Downloaded ic0 v1.0.1
[INFO] [stderr]   Downloaded ic-management-canister-types v0.3.3
[INFO] [stderr]   Downloaded ic-error-types v0.2.0
[INFO] [stderr]   Downloaded ic-cdk-macros v0.18.7
[INFO] [stderr]   Downloaded ic-cdk-timers v0.12.2
[INFO] [stderr]   Downloaded pretty v0.12.5
[INFO] [stderr]   Downloaded ic-cdk v0.18.7
[INFO] [stderr]   Downloaded candid v0.10.19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 36bb29c045729d68141be6218f8b4aec7dc8984c367b158f7bddec4c2214d3d0
[INFO] running `Command { std: "docker" "start" "-a" "36bb29c045729d68141be6218f8b4aec7dc8984c367b158f7bddec4c2214d3d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "36bb29c045729d68141be6218f8b4aec7dc8984c367b158f7bddec4c2214d3d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36bb29c045729d68141be6218f8b4aec7dc8984c367b158f7bddec4c2214d3d0", kill_on_drop: false }`
[INFO] [stdout] 36bb29c045729d68141be6218f8b4aec7dc8984c367b158f7bddec4c2214d3d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 57884edca519c498b0c77189735164b258bf521c1a30bc7ac1d7c3ae3ef6b4bc
[INFO] running `Command { std: "docker" "start" "-a" "57884edca519c498b0c77189735164b258bf521c1a30bc7ac1d7c3ae3ef6b4bc", kill_on_drop: false }`
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling psm v0.1.27
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling stacker v0.1.22
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling candid_derive v0.10.19
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking pretty v0.12.5
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]    Compiling ic-cdk-executor v1.0.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking ic0 v1.0.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking ic_principal v0.1.1
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking ic-error-types v0.2.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking binread v2.2.0
[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] [stderr]     Checking ai_service_proxy v0.1.0 (/opt/rustwide/workdir/src/ai_service_proxy)
[INFO] [stderr]     Checking defi_pool_backend v0.1.0 (/opt/rustwide/workdir/src/defi_pool_backend)
[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: 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: 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: 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 29.50s
[INFO] running `Command { std: "docker" "inspect" "57884edca519c498b0c77189735164b258bf521c1a30bc7ac1d7c3ae3ef6b4bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57884edca519c498b0c77189735164b258bf521c1a30bc7ac1d7c3ae3ef6b4bc", kill_on_drop: false }`
[INFO] [stdout] 57884edca519c498b0c77189735164b258bf521c1a30bc7ac1d7c3ae3ef6b4bc
