[INFO] cloning repository https://github.com/olsemeno/alfaAPY [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olsemeno/alfaAPY" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folsemeno%2FalfaAPY", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folsemeno%2FalfaAPY'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e97121f03017ff2d595a1f5bdfa00bad04354c66 [INFO] testing olsemeno/alfaAPY against beta-2025-10-28 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folsemeno%2FalfaAPY" "/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/olsemeno/alfaAPY [INFO] finished tweaking git repo https://github.com/olsemeno/alfaAPY [INFO] tweaked toml for git repo https://github.com/olsemeno/alfaAPY written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/olsemeno/alfaAPY on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/olsemeno/alfaAPY 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c6fedefcf065a534417a9c5439ac139a223431826bb5c0d1bb611c0a5ecfd20 [INFO] running `Command { std: "docker" "start" "-a" "1c6fedefcf065a534417a9c5439ac139a223431826bb5c0d1bb611c0a5ecfd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c6fedefcf065a534417a9c5439ac139a223431826bb5c0d1bb611c0a5ecfd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c6fedefcf065a534417a9c5439ac139a223431826bb5c0d1bb611c0a5ecfd20", kill_on_drop: false }` [INFO] [stdout] 1c6fedefcf065a534417a9c5439ac139a223431826bb5c0d1bb611c0a5ecfd20 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49aa2238fd97c497f5e299f8058f8df54f4731c1f0dc30e9bbf2fd8a2cc42cf7 [INFO] running `Command { std: "docker" "start" "-a" "49aa2238fd97c497f5e299f8058f8df54f4731c1f0dc30e9bbf2fd8a2cc42cf7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling canister_client_macros v0.1.0 (/opt/rustwide/workdir/src/libraries/canister_client_macros) [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling ic-response-codes v0.1.2 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling candid_gen v0.1.0 (/opt/rustwide/workdir/src/libraries/candid_gen) [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling ic-stable-structures v0.6.9 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling ic-cdk-macros v0.17.2 [INFO] [stderr] Compiling ic-cdk-macros v0.15.0 [INFO] [stderr] Compiling ic-cdk v0.15.2 [INFO] [stderr] Compiling ic-cdk v0.17.2 [INFO] [stderr] Compiling ic-cdk-timers v0.9.0 [INFO] [stderr] Compiling icrc-ledger-types v0.1.9 [INFO] [stderr] Compiling ic-ledger-types v0.14.0 [INFO] [stderr] Compiling canister_client v0.1.0 (/opt/rustwide/workdir/src/libraries/canister_client) [INFO] [stderr] Compiling types v0.1.0 (/opt/rustwide/workdir/src/libraries/types) [INFO] [stderr] Compiling icrc_ledger_canister v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icrc_ledger/api) [INFO] [stderr] Compiling errors v0.1.0 (/opt/rustwide/workdir/src/libraries/errors) [INFO] [stderr] Compiling icpswap_swap_factory_canister v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_swap_factory/api) [INFO] [stderr] Compiling icpswap_swap_calculator_canister v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_swap_calculator/api) [INFO] [stderr] Compiling icpswap_tvl_storage_canister v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_tvl_storage/api) [INFO] [stderr] Compiling icpswap_node_index_canister v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_node_index/api) [INFO] [stderr] Compiling icpswap_swap_pool_canister v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_swap_pool/api) [INFO] [stdout] warning: unused imports: `CandidType`, `Deserialize`, and `Nat` [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::{CandidType, Deserialize, Nat}; [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: `serde::Serialize` [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType`, `Deserialize`, and `Nat` [INFO] [stdout] --> src/external_canisters/icpswap_tvl_storage/api/src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::{CandidType, Deserialize, Nat}; [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: `serde::Serialize` [INFO] [stdout] --> src/external_canisters/icpswap_tvl_storage/api/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icpswap_global_index_canister v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_global_index/api) [INFO] [stdout] warning: unused imports: `CandidType`, `Deserialize`, and `Nat` [INFO] [stdout] --> src/external_canisters/icpswap_global_index/api/src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::{CandidType, Deserialize, Nat}; [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: `serde::Serialize` [INFO] [stdout] --> src/external_canisters/icpswap_global_index/api/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tvlStorageCanister` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_global_index/api/src/queries/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod tvlStorageCanister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tvl_storage_canister` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `getPoolChartTvl` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_tvl_storage/api/src/queries/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod getPoolChartTvl; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pool_chart_tvl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tvlUSD` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_tvl_storage/api/src/queries/getPoolChartTvl.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub tvlUSD: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tvl_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `getPrice` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_calculator/api/src/queries/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod getPrice; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `getTokenAmountByLiquidity` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_calculator/api/src/queries/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod getTokenAmountByLiquidity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_token_amount_by_liquidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kongswap_canister v0.1.0 (/opt/rustwide/workdir/src/external_canisters/kongswap/api) [INFO] [stdout] warning: module `getAllTokens` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/queries/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod getAllTokens; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tvlStorageCanister` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/queries/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod tvlStorageCanister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tvl_storage_canister` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `volumeUSD1d` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/queries/getAllTokens.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub volumeUSD1d: f64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `volume_usd1d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `volumeUSD7d` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/queries/getAllTokens.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub volumeUSD7d: f64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `volume_usd7d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `totalVolumeUSD` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/queries/getAllTokens.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub totalVolumeUSD: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_volume_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `volumeUSD` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/queries/getAllTokens.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub volumeUSD: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `volume_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feesUSD` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/queries/getAllTokens.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub feesUSD: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fees_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `priceUSDChange` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/queries/getAllTokens.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub priceUSDChange: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `price_usdchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txCount` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/queries/getAllTokens.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub txCount: Int, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tx_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `priceUSD` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/api/src/queries/getAllTokens.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub priceUSD: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `price_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icpswap_node_index_canister_c2c_client v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_node_index/c2c_client) [INFO] [stderr] Compiling icpswap_swap_calculator_canister_c2c_client v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_swap_calculator/c2c_client) [INFO] [stdout] warning: function `getPrice` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_calculator/c2c_client/src/lib.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | generate_candid_c2c_call_tuple_args!(getPrice); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_price` [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 `getTokenAmountByLiquidity` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_calculator/c2c_client/src/lib.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | generate_candid_c2c_call_tuple_args!(getTokenAmountByLiquidity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_token_amount_by_liquidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Int` [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/getTokenMeta.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Int, Nat}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Nat` [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/lib.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use candid::{CandidType, Deserialize, Nat}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icrc_ledger_canister_c2c_client v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icrc_ledger/c2c_client) [INFO] [stderr] Compiling icpswap_tvl_storage_canister_c2c_client v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_tvl_storage/c2c_client) [INFO] [stdout] warning: function `getAllTokens` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/c2c_client/src/lib.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | generate_candid_c2c_call_no_args!(getAllTokens); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_tokens` [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 `tvlStorageCanister` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_node_index/c2c_client/src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | generate_candid_c2c_call_no_args!(tvlStorageCanister); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tvl_storage_canister` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tickSpacing` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_factory/api/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub tickSpacing: i128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tick_spacing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `canisterId` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_factory/api/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub canisterId: candid::Principal, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `canister_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `getPool` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_factory/api/src/queries/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod getPool; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `getPools` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_factory/api/src/queries/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod getPools; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPoolChartTvl` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_tvl_storage/c2c_client/src/lib.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | generate_candid_c2c_call_tuple_args!(getPoolChartTvl); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pool_chart_tvl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icpswap_swap_factory_canister_c2c_client v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_swap_factory/c2c_client) [INFO] [stderr] Compiling icpswap_global_index_canister_c2c_client v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_global_index/c2c_client) [INFO] [stdout] warning: function `getPool` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_factory/c2c_client/src/lib.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | generate_candid_c2c_call!(getPool); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_pool` [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 `getPools` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_factory/c2c_client/src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | generate_candid_c2c_call_no_args!(getPools); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tvlStorageCanister` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_global_index/c2c_client/src/lib.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | generate_candid_c2c_call_no_args!(tvlStorageCanister); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tvl_storage_canister` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling validation v0.1.0 (/opt/rustwide/workdir/src/libraries/validation) [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/src/libraries/utils) [INFO] [stderr] Compiling icrc_ledger_client v0.1.0 (/opt/rustwide/workdir/src/libraries/icrc_ledger_client) [INFO] [stderr] Compiling event_records v0.1.0 (/opt/rustwide/workdir/src/libraries/event_records) [INFO] [stdout] warning: unused import: `Sign` [INFO] [stdout] --> src/libraries/utils/src/util.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use num_bigint::{BigUint, Sign}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `getUserPositionIdsByPrincipal` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod getUserPositionIdsByPrincipal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_position_ids_by_principal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `getUserPosition` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod getUserPosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `getUserUnusedBalance` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod getUserUnusedBalance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_unused_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `getUserPositionsByPrincipal` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod getUserPositionsByPrincipal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_positions_by_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `amountIn` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/quote.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub amountIn: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `amount_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `zeroForOne` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/quote.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub zeroForOne: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `zero_for_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `amountOutMinimum` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/quote.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub amountOutMinimum: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_out_minimum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sqrtPriceX96` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/metadata.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub sqrtPriceX96: Nat, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_price_x96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `maxLiquidityPerTick` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/metadata.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub maxLiquidityPerTick: Nat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_liquidity_per_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nextPositionId` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/metadata.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub nextPositionId: Nat, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_position_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tickUpper` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPosition.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub tickUpper: Int, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tick_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokensOwed0` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPosition.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub tokensOwed0: Nat, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tokens_owed0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokensOwed1` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPosition.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub tokensOwed1: Nat, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tokens_owed1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feeGrowthInside1LastX128` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPosition.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub feeGrowthInside1LastX128: Nat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_growth_inside1_last_x128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feeGrowthInside0LastX128` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPosition.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub feeGrowthInside0LastX128: Nat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_growth_inside0_last_x128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tickLower` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPosition.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub tickLower: Int, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tick_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tickUpper` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPositionsByPrincipal.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub tickUpper: Int, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tick_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokensOwed0` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPositionsByPrincipal.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub tokensOwed0: Nat, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tokens_owed0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokensOwed1` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPositionsByPrincipal.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub tokensOwed1: Nat, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tokens_owed1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feeGrowthInside1LastX128` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPositionsByPrincipal.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub feeGrowthInside1LastX128: Nat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_growth_inside1_last_x128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feeGrowthInside0LastX128` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPositionsByPrincipal.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub feeGrowthInside0LastX128: Nat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_growth_inside0_last_x128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tickLower` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/queries/getUserPositionsByPrincipal.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub tickLower: Int, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tick_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `depositFrom` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod depositFrom; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `deposit_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `getTokenMeta` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod getTokenMeta; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_token_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `increaseLiquidity` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod increaseLiquidity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `increase_liquidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `decreaseLiquidity` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod decreaseLiquidity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrease_liquidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `amountIn` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/swap.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub amountIn : String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `amount_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `zeroForOne` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/swap.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub zeroForOne : bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `zero_for_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `amountOutMinimum` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/swap.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub amountOutMinimum : String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_out_minimum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `token0Fee` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/getTokenMeta.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub token0Fee: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `token0_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `token1Fee` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/getTokenMeta.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub token1Fee: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `token1_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `amount0Desired` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/mint.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | pub amount0Desired: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount0_desired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `amount1Desired` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/mint.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | pub amount1Desired: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount1_desired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tickUpper` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/mint.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | pub tickUpper: Int, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tick_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tickLower` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/mint.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | pub tickLower: Int, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tick_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `positionId` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/increaseLiquidity.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub positionId: Nat, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `position_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `amount0Desired` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/increaseLiquidity.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub amount0Desired: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount0_desired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `amount1Desired` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/increaseLiquidity.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub amount1Desired: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount1_desired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `positionId` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/decreaseLiquidity.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub positionId: Nat, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `position_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `positionId` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/api/src/updates/claim.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub positionId: Nat, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `position_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icpswap_swap_pool_canister_c2c_client v0.1.0 (/opt/rustwide/workdir/src/external_canisters/icpswap_swap_pool/c2c_client) [INFO] [stdout] warning: function `getUserUnusedBalance` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/c2c_client/src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | generate_candid_c2c_call!(getUserUnusedBalance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_unused_balance` [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 `getUserPosition` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/c2c_client/src/lib.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | generate_candid_c2c_call_tuple_args!(getUserPosition); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getUserPositionIdsByPrincipal` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/c2c_client/src/lib.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | generate_candid_c2c_call_tuple_args!(getUserPositionIdsByPrincipal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_position_ids_by_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getUserPositionsByPrincipal` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/c2c_client/src/lib.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | generate_candid_c2c_call_tuple_args!(getUserPositionsByPrincipal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_positions_by_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `depositFrom` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/c2c_client/src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | generate_candid_c2c_call!(depositFrom); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `deposit_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increaseLiquidity` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/c2c_client/src/lib.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | generate_candid_c2c_call!(increaseLiquidity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `increase_liquidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decreaseLiquidity` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/c2c_client/src/lib.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | generate_candid_c2c_call!(decreaseLiquidity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrease_liquidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getTokenMeta` should have a snake case name [INFO] [stdout] --> src/external_canisters/icpswap_swap_pool/c2c_client/src/lib.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | generate_candid_c2c_call_no_args!(getTokenMeta); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_token_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kongswap_canister_c2c_client v0.1.0 (/opt/rustwide/workdir/src/external_canisters/kongswap/c2c_client) [INFO] [stderr] Compiling providers v0.1.0 (/opt/rustwide/workdir/src/libraries/providers) [INFO] [stderr] Compiling swap v0.1.0 (/opt/rustwide/workdir/src/libraries/swap) [INFO] [stdout] warning: methods `get_tokens_fee`, `get_pool`, and `get_token_meta` are never used [INFO] [stdout] --> src/libraries/swap/src/token_swaps/icpswap.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl ICPSwapSwapClient { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_tokens_fee(&self, token_meta: &TokenMeta) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | async fn get_pool(&self, token0: CanisterId, token1: CanisterId) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | async fn get_token_meta(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling liquidity v0.1.0 (/opt/rustwide/workdir/src/libraries/liquidity) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/libraries/liquidity/src/clients/kongswap.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 143 | UserBalancesReply::LP(lp) => Some(lp), [INFO] [stdout] | ------------------------- matches all the relevant values [INFO] [stdout] 144 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/libraries/liquidity/src/clients/kongswap.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 192 | UserBalancesReply::LP(lp) => Some(lp), [INFO] [stdout] | ------------------------- matches all the relevant values [INFO] [stdout] 193 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/libraries/liquidity/src/clients/icpswap.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl ICPSwapLiquidityClient { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | fn extract_token_decimals(&self, meta: &Vec<(String, TokenMetadataValue)>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_tokens_fee(&self, token_meta: &TokenMeta) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | async fn get_token_meta(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | async fn get_price( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | async fn withdraw( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | async fn claim( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | async fn get_user_positions_by_principal(&self) -> Result, InternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `icpswap_provider` is never used [INFO] [stdout] --> src/libraries/liquidity/src/clients/kongswap.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl KongSwapLiquidityClient { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | fn icpswap_provider(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pool_stats v0.1.0 (/opt/rustwide/workdir/src/pool_stats) [INFO] [stdout] warning: unused import: `Nat` [INFO] [stdout] --> src/pool_stats/src/pools/pool.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Deserialize, Nat}; [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 variable: `error` [INFO] [stdout] --> src/pool_stats/src/pool_snapshots/pool_snapshot_service.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | .map_err(|error| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/pool_stats/src/pool_snapshots/pool_snapshot_service.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | async fn get_pool_data(context: Context, pool: &Pool) -> Result, InternalError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/pool_stats/src/pool_snapshots/pool_snapshot_service.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | async fn get_position_data(context: Context, pool: &Pool) -> Result, InternalError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SECONDS_PER_WEEK` is never used [INFO] [stdout] --> src/pool_stats/src/pool_metrics/pool_yield_service.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SECONDS_PER_WEEK: u64 = 604_800; // 86_400 * 7 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SECONDS_PER_MONTH` is never used [INFO] [stdout] --> src/pool_stats/src/pool_metrics/pool_yield_service.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const SECONDS_PER_MONTH: u64 = 2_592_000; // 86_400 * 30 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SECONDS_PER_YEAR` is never used [INFO] [stdout] --> src/pool_stats/src/pool_metrics/pool_yield_service.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SECONDS_PER_YEAR: u64 = 31_536_000; // 86_400 * 365 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pool_stats/src/pool_snapshots/pool_snapshot_service.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / create_pool_snapshot(context.clone(), &pool).await [INFO] [stdout] 57 | | .map_err(|error| { [INFO] [stdout] 58 | | // TODO: add event logging [INFO] [stdout] 59 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = create_pool_snapshot(context.clone(), &pool).await [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcnbCV27/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcnbCV27/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libevent_records-b9f971e7d2df60cd,libvalidation-7e46aab0de94656e,libic_cdk_timers-c435d10356b66bf4,libic_cdk-e2d2d5225809bb9e,libslotmap-685cf5f9bcedc986,libfutures-9276610e5fd0d2bc,libfutures_executor-6ba664c8045c9a80,libfutures_util-bf6336dfb25b4a29,libmemchr-eb753e192a6bbd2d,libfutures_io-59d0071c9258d69f,libslab-06cf58f8e93304ed,libfutures_channel-988ad4f1372ec905,libfutures_sink-4f3ee80fddadef94,libfutures_task-e09ab7898221cb97,libpin_utils-3860774ad9b215b5,libfutures_core-6189164566e294f9,libliquidity-e832437d4a508129,libswap-75eb08e43b3c6420,libproviders-547a1f22000aeb7e,libkongswap_canister_c2c_client-b35fc7019968452b,libicpswap_tvl_storage_canister_c2c_client-8b75dfeba48453f6,libicpswap_global_index_canister_c2c_client-4c6e44fd28f6f478,libicpswap_global_index_canister-46e0f6f78b460596,libicpswap_node_index_canister_c2c_client-2f43fbffb6c30e69,libicpswap_swap_calculator_canister_c2c_client-5785f3ae9aca5c69,libicpswap_swap_pool_canister_c2c_client-1afa885b9ef4b1b4,libicpswap_swap_factory_canister_c2c_client-41349e5a032ff2f9,libicrc_ledger_client-98e4cb826aaa4688,libicrc_ledger_canister_c2c_client-b1990b2e042d0565,libkongswap_canister-7b36f896540f15fd,libicpswap_tvl_storage_canister-77f6117590193b65,libicpswap_swap_calculator_canister-712539937cc73f4b,libicpswap_node_index_canister-68da531600edd276,libicpswap_swap_pool_canister-78fc46de9bd69df2,libicpswap_swap_factory_canister-85d4893dbba00ce1,libutils-0407ea256b17ce8d,libcanister_client-4441c365320f7eaf,libcanister_client_macros-89c8fc643eaf2729,libtracing-3b80542491c343bf,libpin_project_lite-72bf04572caa1c84,libtracing_core-148ef8f7e3e4784c,libicrc_ledger_canister-ff07e57c77cf4f5c,libonce_cell-e9252a7b5119f3eb,liberrors-c58cfb03040fd17f,libderive_more-5a6ec0cb0fd6e319,libtypes-08689c2ad70cb1f2,libic_ledger_types-b8c7b48b9300b94b,libicrc_ledger_types-88a0f066949b192e,libtime-ba59caeeeb36994c,libitoa-ef40fa516293a9d3,libtime_core-ebad1aa9d4f81543,libnum_conv-d3297905cfb69f59,libderanged-16e9b86e17da8cba,libpowerfmt-f6019a2766e431f7,libicrc_cbor-b2292f1d0a573a85,libstrum-a07ca3c917fd8dfb,libitertools-039d9c925d898bbe,libeither-e5ea87bd27ac73a9,libminicbor-fbcb7f3fa886e0dc,libic_stable_structures-ae022563f8596d02,libbase32-af1dde7dcf605cef,libic_cdk-1b368260b469ed68,libic_cdk_executor-1a6847d9b992d084,libic0-4f417b3a97bce63f,libcandid-3d43f5aedd9af73c,libstacker-f7907c4fb35cfc7d,libpsm-613267f1f932df5e,liblibc-38482f717a9536a0,libhex-42e775963ba3e720,libserde_bytes-5eb0b08504e83454,libpretty-911b8eabb1e74417,libunicode_width-b1bc0d6c10c00ecc,libarrayvec-d564b1181ab8b533,libtyped_arena-76aa4bfb127f070d,libleb128-7759971397ea6ba0,libbyteorder-8f59b6d1bfdaa844,libic_principal-18361ac53ea6aeba,libcrc32fast-d050623ef68bed8a,libdata_encoding-506ef4e476430498,libsha2-eca788b961d860c8,libcpufeatures-e04321643d03190d,libcfg_if-3a213765134f0c85,libdigest-530bf2e1015fe14f,libblock_buffer-8d1a3a59f2af3c83,libcrypto_common-db7f5eda2b896b9b,libgeneric_array-1971f984e9a539a4,libtypenum-f2b179c8a326fef2,libnum_bigint-f29f14ae7fcd8c0a,libnum_integer-b66e779be12b2640,libnum_traits-bb342da90c427231,libanyhow-ae63679af1e3713c,libbinread-d27ca77222ffeca6,liblazy_static-3674be3f4245d19b,libthiserror-24e6059b11c5821e,libserde-0d5d020ce2a39c7f}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcnbCV27/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-9b3ee559a326a8b8/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libpool_stats.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /tmp/rustcnbCV27/list:24: ; expected, but got < [INFO] [stdout] >>> canister_update timer_executor; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pool_stats` (lib) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "49aa2238fd97c497f5e299f8058f8df54f4731c1f0dc30e9bbf2fd8a2cc42cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49aa2238fd97c497f5e299f8058f8df54f4731c1f0dc30e9bbf2fd8a2cc42cf7", kill_on_drop: false }` [INFO] [stdout] 49aa2238fd97c497f5e299f8058f8df54f4731c1f0dc30e9bbf2fd8a2cc42cf7