[INFO] cloning repository https://github.com/advock/Vault-cosmwam- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/advock/Vault-cosmwam-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvock%2FVault-cosmwam-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvock%2FVault-cosmwam-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d0e7e41ffa63fc95d08fa51bab8cd9905b551be [INFO] testing advock/Vault-cosmwam-/3d0e7e41ffa63fc95d08fa51bab8cd9905b551be against beta-2024-10-19 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvock%2FVault-cosmwam-" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/advock/Vault-cosmwam- on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/advock/Vault-cosmwam- [INFO] finished tweaking git repo https://github.com/advock/Vault-cosmwam- [INFO] tweaked toml for git repo https://github.com/advock/Vault-cosmwam- written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/advock/Vault-cosmwam- 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-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c398ee1875324ed16b858cb2937c3004bd257e068b4e610125d0a59c544792ce [INFO] running `Command { std: "docker" "start" "-a" "c398ee1875324ed16b858cb2937c3004bd257e068b4e610125d0a59c544792ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c398ee1875324ed16b858cb2937c3004bd257e068b4e610125d0a59c544792ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c398ee1875324ed16b858cb2937c3004bd257e068b4e610125d0a59c544792ce", kill_on_drop: false }` [INFO] [stdout] c398ee1875324ed16b858cb2937c3004bd257e068b4e610125d0a59c544792ce [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ede046e3d812768e6c87917eb3c80bc4abf797ca3c3815f2e4476669bdab226f [INFO] running `Command { std: "docker" "start" "-a" "ede046e3d812768e6c87917eb3c80bc4abf797ca3c3815f2e4476669bdab226f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling const-oid v0.9.5 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling schemars v0.8.12 [INFO] [stderr] Compiling dyn-clone v1.0.13 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling bnum v0.7.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling serde_derive v1.0.185 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling cosmwasm-derive v1.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.3.3 [INFO] [stderr] Compiling schemars_derive v0.8.12 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling serde-json-wasm v0.5.1 [INFO] [stderr] Compiling cosmwasm-crypto v1.3.3 [INFO] [stderr] Compiling cosmwasm-std v1.3.3 [INFO] [stderr] Compiling cosmwasm-schema v1.3.3 [INFO] [stderr] Compiling cw-storage-plus v1.1.0 [INFO] [stderr] Compiling cw-storage-plus v0.16.0 [INFO] [stderr] Compiling cosmwasm-storage v1.3.3 [INFO] [stderr] Compiling cw2 v0.16.0 [INFO] [stderr] Compiling cw2 v1.1.0 [INFO] [stderr] Compiling cw-utils v0.16.0 [INFO] [stderr] Compiling cw-utils v1.0.1 [INFO] [stderr] Compiling cw-controllers v1.1.0 [INFO] [stderr] Compiling cw20 v0.16.0 [INFO] [stderr] Compiling vault v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/contract.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 661 | res = res.add_submessage(pay_out( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/contract.rs:902:5 [INFO] [stdout] | [INFO] [stdout] 902 | res = res.add_submessage(pay_out( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lastFundingTimes` is never read [INFO] [stdout] --> src/contract.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | let mut lastFundingTimes = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `amountOut` is never read [INFO] [stdout] --> src/contract.rs:1146:5 [INFO] [stdout] | [INFO] [stdout] 1146 | amountOut = adjust_decimal( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `markPrice` is assigned to, but never used [INFO] [stdout] --> src/contract.rs:1748:9 [INFO] [stdout] | [INFO] [stdout] 1748 | let markPrice: Uint128; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_markPrice` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `markPrice` is never read [INFO] [stdout] --> src/contract.rs:1750:9 [INFO] [stdout] | [INFO] [stdout] 1750 | markPrice = get_min_price( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `markPrice` is never read [INFO] [stdout] --> src/contract.rs:1757:9 [INFO] [stdout] | [INFO] [stdout] 1757 | markPrice = get_max_price( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_LEVERAGE` is never used [INFO] [stdout] --> src/contract.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const MIN_LEVERAGE: Uint128 = Uint128::new(10000); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_utilisAddr` should have a snake case name [INFO] [stdout] --> src/contract.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | _utilisAddr: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_utilis_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_in_managerMode` should have a snake case name [INFO] [stdout] --> src/contract.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn set_in_managerMode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_in_manager_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Inmanagermode` should have a snake case name [INFO] [stdout] --> src/contract.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | _Inmanagermode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_inmanagermode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_in_private_liqMode` should have a snake case name [INFO] [stdout] --> src/contract.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn set_in_private_liqMode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_in_private_liq_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_InPrivateLiqMode` should have a snake case name [INFO] [stdout] --> src/contract.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | _InPrivateLiqMode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_in_private_liq_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_is_Leverage_enable` should have a snake case name [INFO] [stdout] --> src/contract.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | _is_Leverage_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_leverage_enable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_maxLeverage` should have a snake case name [INFO] [stdout] --> src/contract.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | _maxLeverage: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_leverage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_max_global_shortSize` should have a snake case name [INFO] [stdout] --> src/contract.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn set_max_global_shortSize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_max_global_short_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_taxBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:508:5 [INFO] [stdout] | [INFO] [stdout] 508 | _taxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_stableTaxBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | _stableTaxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_mintBurnFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | _mintBurnFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_mint_burn_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_swapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 511 | _swapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_stableSwapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | _stableSwapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_marginFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | _marginFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_margin_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_liquidationFeeUsd` should have a snake case name [INFO] [stdout] --> src/contract.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | _liquidationFeeUsd: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_minProfitTime` should have a snake case name [INFO] [stdout] --> src/contract.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 515 | _minProfitTime: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_hasDynamicFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 516 | _hasDynamicFees: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_has_dynamic_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_fundingInterval` should have a snake case name [INFO] [stdout] --> src/contract.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | _fundingInterval: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/contract.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | _fundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_stableFundingRateFactor` should have a snake case name [INFO] [stdout] --> src/contract.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | _stableFundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenDecimals` should have a snake case name [INFO] [stdout] --> src/contract.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 575 | _tokenDecimals: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenWeight` should have a snake case name [INFO] [stdout] --> src/contract.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | _tokenWeight: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_minProfitBps` should have a snake case name [INFO] [stdout] --> src/contract.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | _minProfitBps: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_bps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_maxUsdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | _maxUsdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isStable` should have a snake case name [INFO] [stdout] --> src/contract.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 579 | _isStable: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_is_stable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isShortable` should have a snake case name [INFO] [stdout] --> src/contract.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 580 | _isShortable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_shortable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_totalTokenWeights` should have a snake case name [INFO] [stdout] --> src/contract.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | let mut _totalTokenWeights: Uint128 = config.total_token_weights; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_total_token_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clearTokenConfig` should have a snake case name [INFO] [stdout] --> src/contract.rs:611:8 [INFO] [stdout] | [INFO] [stdout] 611 | pub fn clearTokenConfig( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `clear_token_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `withdrawFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:641:8 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn withdrawFees( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setUsdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:673:8 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn setUsdgAmount( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | let usdgAmount = USDGAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_newVault` should have a snake case name [INFO] [stdout] --> src/contract.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | _newVault: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_new_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directPoolDeposit` should have a snake case name [INFO] [stdout] --> src/contract.rs:708:8 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn directPoolDeposit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direct_pool_deposit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:717:9 [INFO] [stdout] | [INFO] [stdout] 717 | let tokenAmount: Uint128 = balance_cw20_tokens(&_deps, _env.clone(), _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buyUSDG` should have a snake case name [INFO] [stdout] --> src/contract.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn buyUSDG( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `buy_usdg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | let tokenAmount: Uint128 = balance_cw20_tokens(&_deps.branch(), _env.clone(), _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 760 | let mut usdgAmount: Uint128 = (tokenAmount * price) / PRICE_PRECISION; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | let feeBasisPoints: Uint128 = getBuyUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountAfterFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:781:9 [INFO] [stdout] | [INFO] [stdout] 781 | let amountAfterFees: Uint128 = collect_fees( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_after_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:790:13 [INFO] [stdout] | [INFO] [stdout] 790 | let mut mintAmount: Uint128 = (amountAfterFees * price) / PRICE_PRECISION; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `mint_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sellUSDG` should have a snake case name [INFO] [stdout] --> src/contract.rs:825:8 [INFO] [stdout] | [INFO] [stdout] 825 | pub fn sellUSDG( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sell_usdg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:842:9 [INFO] [stdout] | [INFO] [stdout] 842 | let usdgAmount: Uint128 = [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `redemptionAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:854:9 [INFO] [stdout] | [INFO] [stdout] 854 | let redemptionAmount: Uint128 = getRedemptionAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | let feeBasisPoints: Uint128 = getSellUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountAfterFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 888 | let amountAfterFees: Uint128 = collect_fees( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_after_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_updateCumulativeFundingRate` should have a snake case name [INFO] [stdout] --> src/contract.rs:922:8 [INFO] [stdout] | [INFO] [stdout] 922 | pub fn _updateCumulativeFundingRate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_update_cumulative_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:926:5 [INFO] [stdout] | [INFO] [stdout] 926 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:927:5 [INFO] [stdout] | [INFO] [stdout] 927 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stdout] --> src/contract.rs:935:9 [INFO] [stdout] | [INFO] [stdout] 935 | let lastFundingTimes = LASTFUNDINTIME.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fundingRate` should have a snake case name [INFO] [stdout] --> src/contract.rs:953:9 [INFO] [stdout] | [INFO] [stdout] 953 | let fundingRate = getNextFundingRate( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cumulativeFundingRates` should have a snake case name [INFO] [stdout] --> src/contract.rs:960:13 [INFO] [stdout] | [INFO] [stdout] 960 | let mut cumulativeFundingRates = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cumulative_funding_rates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stdout] --> src/contract.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | let mut lastFundingTimes = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getNextFundingRate` should have a snake case name [INFO] [stdout] --> src/contract.rs:985:8 [INFO] [stdout] | [INFO] [stdout] 985 | pub fn getNextFundingRate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_next_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:990:5 [INFO] [stdout] | [INFO] [stdout] 990 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stdout] --> src/contract.rs:992:9 [INFO] [stdout] | [INFO] [stdout] 992 | let lastFundingTimes = LASTFUNDINTIME.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | let poolAmount = POOLAMOUNT.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/contract.rs:1007:9 [INFO] [stdout] | [INFO] [stdout] 1007 | let _fundingRateFactor: u128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stableToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1009:9 [INFO] [stdout] | [INFO] [stdout] 1009 | let stableToken = STABLETOKEN.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `stable_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenDev` should have a snake case name [INFO] [stdout] --> src/contract.rs:1028:5 [INFO] [stdout] | [INFO] [stdout] 1028 | _tokenDev: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_dev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenMul` should have a snake case name [INFO] [stdout] --> src/contract.rs:1029:5 [INFO] [stdout] | [INFO] [stdout] 1029 | _tokenMul: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decimalsDiv` should have a snake case name [INFO] [stdout] --> src/contract.rs:1032:9 [INFO] [stdout] | [INFO] [stdout] 1032 | let decimalsDiv: Uint128; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decimals_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decimalsMul` should have a snake case name [INFO] [stdout] --> src/contract.rs:1040:9 [INFO] [stdout] | [INFO] [stdout] 1040 | let decimalsMul: Uint128; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decimals_mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `afterFeeAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1062:9 [INFO] [stdout] | [INFO] [stdout] 1062 | let afterFeeAmount: Uint128 = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `after_fee_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_feeAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1064:9 [INFO] [stdout] | [INFO] [stdout] 1064 | let _feeAmount: Uint128 = _amount - afterFeeAmount; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_fee_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeReserves` should have a snake case name [INFO] [stdout] --> src/contract.rs:1066:9 [INFO] [stdout] | [INFO] [stdout] 1066 | let feeReserves = FEERESERVED.load(_deps.storage, _token)?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getRedemptionAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1071:8 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn getRedemptionAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1077:5 [INFO] [stdout] | [INFO] [stdout] 1077 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `redemptionAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1081:9 [INFO] [stdout] | [INFO] [stdout] 1081 | let redemptionAmount: Uint128 = (_usdgAmount * PRICE_PRECISION) / price; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1099:5 [INFO] [stdout] | [INFO] [stdout] 1099 | _tokenIn: Addr, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_token_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1100:5 [INFO] [stdout] | [INFO] [stdout] 1100 | _tokenOut: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `whitelistedTokensIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1104:9 [INFO] [stdout] | [INFO] [stdout] 1104 | let whitelistedTokensIn = WHITELISTEDTOKEN.load(_deps.storage, _tokenIn.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `whitelisted_tokens_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `whitelistedTokensOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | let whitelistedTokensOut = WHITELISTEDTOKEN.load(_deps.storage, _tokenOut.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `whitelisted_tokens_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1128:9 [INFO] [stdout] | [INFO] [stdout] 1128 | let amountIn: Uint128 = balance_cw20_tokens(&_deps.branch(), _env.clone(), _tokenIn.clone())?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `amount_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `priceIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1131:9 [INFO] [stdout] | [INFO] [stdout] 1131 | let priceIn = get_min_price( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `price_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `priceOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1137:9 [INFO] [stdout] | [INFO] [stdout] 1137 | let priceOut = get_max_price( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `price_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1144:13 [INFO] [stdout] | [INFO] [stdout] 1144 | let mut amountOut: Uint128 = amountIn * priceIn / priceOut; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `amount_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1155:13 [INFO] [stdout] | [INFO] [stdout] 1155 | let mut usdgAmount: Uint128 = amountIn * priceIn / PRICE_PRECISION; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:1165:9 [INFO] [stdout] | [INFO] [stdout] 1165 | let _feeBasisPoints: Uint128 = getSwapFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increasePosition` should have a snake case name [INFO] [stdout] --> src/contract.rs:1178:8 [INFO] [stdout] | [INFO] [stdout] 1178 | pub fn increasePosition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `increase_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1183:5 [INFO] [stdout] | [INFO] [stdout] 1183 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1184:5 [INFO] [stdout] | [INFO] [stdout] 1184 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1185:5 [INFO] [stdout] | [INFO] [stdout] 1185 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1186:5 [INFO] [stdout] | [INFO] [stdout] 1186 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_hasProfit` should have a snake case name [INFO] [stdout] --> src/contract.rs:1267:13 [INFO] [stdout] | [INFO] [stdout] 1267 | let mut _hasProfit: bool; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_has_profit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_adjustedDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1268:13 [INFO] [stdout] | [INFO] [stdout] 1268 | let mut _adjustedDelta: Uint128; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_adjusted_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `collateralDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1270:9 [INFO] [stdout] | [INFO] [stdout] 1270 | let collateralDelta = balance_cw20_tokens(&_deps, _env.clone(), _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `collateralDeltaUsd` should have a snake case name [INFO] [stdout] --> src/contract.rs:1271:9 [INFO] [stdout] | [INFO] [stdout] 1271 | let collateralDeltaUsd = token_to_usd_min( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collateral_delta_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reserveDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | let reserveDelta = usdToTokenMax( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `globalShortSizes` should have a snake case name [INFO] [stdout] --> src/contract.rs:1332:13 [INFO] [stdout] | [INFO] [stdout] 1332 | let globalShortSizes = GLOBALSHORTSIZE.load(_deps.storage, _indexToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `global_short_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `globalShortAveragePrices` should have a snake case name [INFO] [stdout] --> src/contract.rs:1336:17 [INFO] [stdout] | [INFO] [stdout] 1336 | let globalShortAveragePrices = get_next_global_short_average_price( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `global_short_average_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decreasePosition` should have a snake case name [INFO] [stdout] --> src/contract.rs:1355:8 [INFO] [stdout] | [INFO] [stdout] 1355 | pub fn decreasePosition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrease_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1360:5 [INFO] [stdout] | [INFO] [stdout] 1360 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1361:5 [INFO] [stdout] | [INFO] [stdout] 1361 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1362:5 [INFO] [stdout] | [INFO] [stdout] 1362 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1363:5 [INFO] [stdout] | [INFO] [stdout] 1363 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1364:5 [INFO] [stdout] | [INFO] [stdout] 1364 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reserveDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1387:9 [INFO] [stdout] | [INFO] [stdout] 1387 | let reserveDelta: Uint128 = position.reserveAmount * _sizeDelta / position.size; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_reduceCollateral` should have a snake case name [INFO] [stdout] --> src/contract.rs:1516:8 [INFO] [stdout] | [INFO] [stdout] 1516 | pub fn _reduceCollateral( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_reduce_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1521:5 [INFO] [stdout] | [INFO] [stdout] 1521 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1522:5 [INFO] [stdout] | [INFO] [stdout] 1522 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1523:5 [INFO] [stdout] | [INFO] [stdout] 1523 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1524:5 [INFO] [stdout] | [INFO] [stdout] 1524 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1525:5 [INFO] [stdout] | [INFO] [stdout] 1525 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hasProfit` should have a snake case name [INFO] [stdout] --> src/contract.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | let hasProfit: bool; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `has_profit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adjustedDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1553:9 [INFO] [stdout] | [INFO] [stdout] 1553 | let adjustedDelta: Uint128; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `adjusted_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_hasProfit` should have a snake case name [INFO] [stdout] --> src/contract.rs:1555:10 [INFO] [stdout] | [INFO] [stdout] 1555 | let (_hasProfit, delta) = get_delta( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_has_profit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdtOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1569:13 [INFO] [stdout] | [INFO] [stdout] 1569 | let mut usdtOut = Uint128::zero(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `usdt_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1577:17 [INFO] [stdout] | [INFO] [stdout] 1577 | let tokenAmount = usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1598:17 [INFO] [stdout] | [INFO] [stdout] 1598 | let tokenAmount = usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `liquidatePosition` should have a snake case name [INFO] [stdout] --> src/contract.rs:1636:8 [INFO] [stdout] | [INFO] [stdout] 1636 | pub fn liquidatePosition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `liquidate_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1641:5 [INFO] [stdout] | [INFO] [stdout] 1641 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1642:5 [INFO] [stdout] | [INFO] [stdout] 1642 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1643:5 [INFO] [stdout] | [INFO] [stdout] 1643 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `liquidationState` should have a snake case name [INFO] [stdout] --> src/contract.rs:1671:9 [INFO] [stdout] | [INFO] [stdout] 1671 | let liquidationState: Uint128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `liquidation_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `marginFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:1672:9 [INFO] [stdout] | [INFO] [stdout] 1672 | let marginFees: Uint128; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `margin_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeTokens` should have a snake case name [INFO] [stdout] --> src/contract.rs:1704:9 [INFO] [stdout] | [INFO] [stdout] 1704 | let feeTokens = usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `fee_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeReserves` should have a snake case name [INFO] [stdout] --> src/contract.rs:1711:9 [INFO] [stdout] | [INFO] [stdout] 1711 | let feeReserves = FEERESERVED.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `markPrice` should have a snake case name [INFO] [stdout] --> src/contract.rs:1748:9 [INFO] [stdout] | [INFO] [stdout] 1748 | let markPrice: Uint128; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `mark_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_Utilisationsition_key` should have a snake case name [INFO] [stdout] --> src/contract.rs:1824:8 [INFO] [stdout] | [INFO] [stdout] 1824 | pub fn get_Utilisationsition_key(_deps: DepsMut, _token: Addr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_utilisationsition_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1825:9 [INFO] [stdout] | [INFO] [stdout] 1825 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reservedAmounts` should have a snake case name [INFO] [stdout] --> src/contract.rs:1830:9 [INFO] [stdout] | [INFO] [stdout] 1830 | let reservedAmounts = RESERVEDAMOUNTS.load(_deps.storage, _token)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserved_amounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increaseUsdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn _increaseUsdgAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxUsdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let maxUsdgAmount = MAXUSDGAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseUsdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn _decreaseUsdgAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increasePoolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn _increasePoolAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_poolAmount_next` should have a snake case name [INFO] [stdout] --> src/helpers.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let _poolAmount_next = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_pool_amount_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updateCumulativeFundingRate` should have a snake case name [INFO] [stdout] --> src/helpers.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn updateCumulativeFundingRate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_cumulative_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getBuyUsdgFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn getBuyUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_buy_usdg_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getSellUsdgFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn getSellUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sell_usdg_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getSwapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn getSwapFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreasePoolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn _decreasePoolAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount_next` should have a snake case name [INFO] [stdout] --> src/helpers.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | let poolAmount_next = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | TOKENBALANCE.save(_deps.storage, _address, &bal); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = TOKENBALANCE.save(_deps.storage, _address, &bal); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_validateTokens` should have a snake case name [INFO] [stdout] --> src/helpers.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn _validateTokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_validate_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let mut feeUsd = get_position_fee( [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fundingFee` should have a snake case name [INFO] [stdout] --> src/helpers.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | let fundingFee = get_funding_fee( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `funding_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeTokens` should have a snake case name [INFO] [stdout] --> src/helpers.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | let feeTokens: Uint128 = Uint128::new(usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `fee_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeReserves` should have a snake case name [INFO] [stdout] --> src/helpers.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | let feeReserves = FEERESERVED.load(deps.storage, _collateral_token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | / FEERESERVED.save( [INFO] [stdout] 478 | | deps.storage, [INFO] [stdout] 479 | | _collateral_token.clone(), [INFO] [stdout] 480 | | &(feeReserves + feeTokens), [INFO] [stdout] 481 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 477 | let _ = FEERESERVED.save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `usdToTokenMax` should have a snake case name [INFO] [stdout] --> src/helpers.rs:518:8 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn usdToTokenMax( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `usd_to_token_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | _usdAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_usd_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increaseReservedAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn _increaseReservedAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_reserved_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_reserveDelta` should have a snake case name [INFO] [stdout] --> src/helpers.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | _reserveDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_reserve_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increaseGuaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:542:8 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn _increaseGuaranteedUsd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | let mut guaranteedUsd = GUARANTEEUSD.load(deps.storage, _collateral_token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 550 | let _ = GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseGuaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:558:8 [INFO] [stdout] | [INFO] [stdout] 558 | pub fn _decreaseGuaranteedUsd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | let mut guaranteedUsd = GUARANTEEUSD.load(deps.storage, _collateral_token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 566 | GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 566 | let _ = GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseReservedAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:603:8 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn _decreaseReservedAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_reserved_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let mut guaranteedUsd = RESERVEDAMOUNTS.load(deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | RESERVEDAMOUNTS.save(deps.storage, _token.clone(), &guaranteedUsd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 611 | let _ = RESERVEDAMOUNTS.save(deps.storage, _token.clone(), &guaranteedUsd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseGlobalShortSize` should have a snake case name [INFO] [stdout] --> src/helpers.rs:618:8 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn _decreaseGlobalShortSize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_global_short_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | GLOBALSHORTSIZE.save(_deps.storage, _token, &Uint128::zero()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 625 | let _ = GLOBALSHORTSIZE.save(_deps.storage, _token, &Uint128::zero()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validLiquidation` should have a snake case name [INFO] [stdout] --> src/helpers.rs:633:8 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn validLiquidation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_liquidation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 638 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 639 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/helpers.rs:640:5 [INFO] [stdout] | [INFO] [stdout] 640 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getRedemptionCollateral` should have a snake case name [INFO] [stdout] --> src/helpers.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | pub fn getRedemptionCollateral( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stableTokens` should have a snake case name [INFO] [stdout] --> src/helpers.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | let stableTokens = STABLETOKEN.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stable_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reservedAmounts` should have a snake case name [INFO] [stdout] --> src/helpers.rs:669:9 [INFO] [stdout] | [INFO] [stdout] 669 | let reservedAmounts = RESERVEDAMOUNTS.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserved_amounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getRedemptionCollateralUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:675:8 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn getRedemptionCollateralUsd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_collateral_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RedemptionCollateral` should have a snake case name [INFO] [stdout] --> src/helpers.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | let RedemptionCollateral = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPositionFee` should have a snake case name [INFO] [stdout] --> src/helpers.rs:694:8 [INFO] [stdout] | [INFO] [stdout] 694 | pub fn getPositionFee( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_position_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/helpers.rs:701:5 [INFO] [stdout] | [INFO] [stdout] 701 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/helpers.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 702 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:707:8 [INFO] [stdout] | [INFO] [stdout] 707 | pub fn getFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgDelta` should have a snake case name [INFO] [stdout] --> src/helpers.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | _usdgDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | _feeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_taxBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | _taxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_priceFeed` should have a snake case name [INFO] [stdout] --> src/msg.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub _priceFeed: Addr, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_price_feed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_liquidationFeeUsd` should have a snake case name [INFO] [stdout] --> src/msg.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub _liquidationFeeUsd: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub _fundingRateFactor: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableFundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub _stableFundingRateFactor: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_bankAddr` should have a snake case name [INFO] [stdout] --> src/msg.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub _bankAddr: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_bank_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_utilisAddr` should have a snake case name [INFO] [stdout] --> src/msg.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | _utilisAddr: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_utilis_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Inmanagermode` should have a snake case name [INFO] [stdout] --> src/msg.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Inmanagermode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `inmanagermode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `InPrivateLiqMode` should have a snake case name [INFO] [stdout] --> src/msg.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | InPrivateLiqMode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `in_private_liq_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `is_Leverage_enable` should have a snake case name [INFO] [stdout] --> src/msg.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | is_Leverage_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_leverage_enable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_maxLeverage` should have a snake case name [INFO] [stdout] --> src/msg.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | _maxLeverage: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_leverage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_taxBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | _taxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableTaxBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | _stableTaxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_mintBurnFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | _mintBurnFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_mint_burn_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_swapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | _swapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableSwapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | _stableSwapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_marginFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | _marginFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_margin_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_liquidationFeeUsd` should have a snake case name [INFO] [stdout] --> src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | _liquidationFeeUsd: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_minProfitTime` should have a snake case name [INFO] [stdout] --> src/msg.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | _minProfitTime: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_hasDynamicFees` should have a snake case name [INFO] [stdout] --> src/msg.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | _hasDynamicFees: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_has_dynamic_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_fundingInterval` should have a snake case name [INFO] [stdout] --> src/msg.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | _fundingInterval: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | _fundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableFundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | _stableFundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenDecimals` should have a snake case name [INFO] [stdout] --> src/msg.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | _tokenDecimals: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenWeight` should have a snake case name [INFO] [stdout] --> src/msg.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | _tokenWeight: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_minProfitBps` should have a snake case name [INFO] [stdout] --> src/msg.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | _minProfitBps: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_bps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_maxUsdgAmount` should have a snake case name [INFO] [stdout] --> src/msg.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | _maxUsdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isStable` should have a snake case name [INFO] [stdout] --> src/msg.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | _isStable: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_is_stable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isShortable` should have a snake case name [INFO] [stdout] --> src/msg.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | _isShortable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_shortable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_newVault` should have a snake case name [INFO] [stdout] --> src/msg.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | _newVault: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_new_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenIn` should have a snake case name [INFO] [stdout] --> src/msg.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | _tokenIn: Addr, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_token_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenOut` should have a snake case name [INFO] [stdout] --> src/msg.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | _tokenOut: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_whiteListed_token` should have a snake case name [INFO] [stdout] --> src/query.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn all_whiteListed_token(_deps: Deps) -> StdResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_white_listed_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/query.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | validate(position.collateral > Uint128::zero(), "err"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = validate(position.collateral > Uint128::zero(), "err"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `averagePrice` should have a snake case name [INFO] [stdout] --> src/state.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub averagePrice: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `average_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `entryFundingRate` should have a snake case name [INFO] [stdout] --> src/state.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub entryFundingRate: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `entry_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reserveAmount` should have a snake case name [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub reserveAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `realisedPnL` should have a snake case name [INFO] [stdout] --> src/state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub realisedPnL: Int128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `realised_pn_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastIncreasedTime` should have a snake case name [INFO] [stdout] --> src/state.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub lastIncreasedTime: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_increased_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.98s [INFO] running `Command { std: "docker" "inspect" "ede046e3d812768e6c87917eb3c80bc4abf797ca3c3815f2e4476669bdab226f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ede046e3d812768e6c87917eb3c80bc4abf797ca3c3815f2e4476669bdab226f", kill_on_drop: false }` [INFO] [stdout] ede046e3d812768e6c87917eb3c80bc4abf797ca3c3815f2e4476669bdab226f [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 200aa13f569ed321fa89936d6bc6c97514224aaf28f233931bde3fb2574f2adc [INFO] running `Command { std: "docker" "start" "-a" "200aa13f569ed321fa89936d6bc6c97514224aaf28f233931bde3fb2574f2adc", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling cosmwasm-std v1.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling cw-storage-plus v1.1.0 [INFO] [stderr] Compiling cw-storage-plus v0.16.0 [INFO] [stderr] Compiling cosmwasm-storage v1.3.3 [INFO] [stderr] Compiling cw2 v0.16.0 [INFO] [stderr] Compiling cw2 v1.1.0 [INFO] [stderr] Compiling cw-utils v0.16.0 [INFO] [stderr] Compiling cw-utils v1.0.1 [INFO] [stderr] Compiling cw20 v0.16.0 [INFO] [stderr] Compiling cw-controllers v1.1.0 [INFO] [stderr] Compiling cw-multi-test v0.16.5 [INFO] [stderr] Compiling vault v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/contract.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 661 | res = res.add_submessage(pay_out( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/contract.rs:902:5 [INFO] [stdout] | [INFO] [stdout] 902 | res = res.add_submessage(pay_out( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lastFundingTimes` is never read [INFO] [stdout] --> src/contract.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | let mut lastFundingTimes = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `amountOut` is never read [INFO] [stdout] --> src/contract.rs:1146:5 [INFO] [stdout] | [INFO] [stdout] 1146 | amountOut = adjust_decimal( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `markPrice` is assigned to, but never used [INFO] [stdout] --> src/contract.rs:1748:9 [INFO] [stdout] | [INFO] [stdout] 1748 | let markPrice: Uint128; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_markPrice` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `markPrice` is never read [INFO] [stdout] --> src/contract.rs:1750:9 [INFO] [stdout] | [INFO] [stdout] 1750 | markPrice = get_min_price( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `markPrice` is never read [INFO] [stdout] --> src/contract.rs:1757:9 [INFO] [stdout] | [INFO] [stdout] 1757 | markPrice = get_max_price( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/contract.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 661 | res = res.add_submessage(pay_out( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/contract.rs:902:5 [INFO] [stdout] | [INFO] [stdout] 902 | res = res.add_submessage(pay_out( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lastFundingTimes` is never read [INFO] [stdout] --> src/contract.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | let mut lastFundingTimes = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `amountOut` is never read [INFO] [stdout] --> src/contract.rs:1146:5 [INFO] [stdout] | [INFO] [stdout] 1146 | amountOut = adjust_decimal( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `markPrice` is assigned to, but never used [INFO] [stdout] --> src/contract.rs:1748:9 [INFO] [stdout] | [INFO] [stdout] 1748 | let markPrice: Uint128; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_markPrice` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `markPrice` is never read [INFO] [stdout] --> src/contract.rs:1750:9 [INFO] [stdout] | [INFO] [stdout] 1750 | markPrice = get_min_price( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `markPrice` is never read [INFO] [stdout] --> src/contract.rs:1757:9 [INFO] [stdout] | [INFO] [stdout] 1757 | markPrice = get_max_price( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_LEVERAGE` is never used [INFO] [stdout] --> src/contract.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const MIN_LEVERAGE: Uint128 = Uint128::new(10000); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_utilisAddr` should have a snake case name [INFO] [stdout] --> src/contract.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | _utilisAddr: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_utilis_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_in_managerMode` should have a snake case name [INFO] [stdout] --> src/contract.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn set_in_managerMode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_in_manager_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Inmanagermode` should have a snake case name [INFO] [stdout] --> src/contract.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | _Inmanagermode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_inmanagermode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_in_private_liqMode` should have a snake case name [INFO] [stdout] --> src/contract.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn set_in_private_liqMode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_in_private_liq_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_InPrivateLiqMode` should have a snake case name [INFO] [stdout] --> src/contract.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | _InPrivateLiqMode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_in_private_liq_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_is_Leverage_enable` should have a snake case name [INFO] [stdout] --> src/contract.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | _is_Leverage_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_leverage_enable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_maxLeverage` should have a snake case name [INFO] [stdout] --> src/contract.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | _maxLeverage: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_leverage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_max_global_shortSize` should have a snake case name [INFO] [stdout] --> src/contract.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn set_max_global_shortSize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_max_global_short_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_taxBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:508:5 [INFO] [stdout] | [INFO] [stdout] 508 | _taxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_stableTaxBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | _stableTaxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_mintBurnFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | _mintBurnFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_mint_burn_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_swapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 511 | _swapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_stableSwapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | _stableSwapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_marginFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | _marginFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_margin_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_liquidationFeeUsd` should have a snake case name [INFO] [stdout] --> src/contract.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | _liquidationFeeUsd: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_minProfitTime` should have a snake case name [INFO] [stdout] --> src/contract.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 515 | _minProfitTime: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_hasDynamicFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 516 | _hasDynamicFees: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_has_dynamic_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_fundingInterval` should have a snake case name [INFO] [stdout] --> src/contract.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | _fundingInterval: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/contract.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | _fundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_stableFundingRateFactor` should have a snake case name [INFO] [stdout] --> src/contract.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | _stableFundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenDecimals` should have a snake case name [INFO] [stdout] --> src/contract.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 575 | _tokenDecimals: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenWeight` should have a snake case name [INFO] [stdout] --> src/contract.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | _tokenWeight: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_minProfitBps` should have a snake case name [INFO] [stdout] --> src/contract.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | _minProfitBps: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_bps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_maxUsdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | _maxUsdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isStable` should have a snake case name [INFO] [stdout] --> src/contract.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 579 | _isStable: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_is_stable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isShortable` should have a snake case name [INFO] [stdout] --> src/contract.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 580 | _isShortable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_shortable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_totalTokenWeights` should have a snake case name [INFO] [stdout] --> src/contract.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | let mut _totalTokenWeights: Uint128 = config.total_token_weights; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_total_token_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clearTokenConfig` should have a snake case name [INFO] [stdout] --> src/contract.rs:611:8 [INFO] [stdout] | [INFO] [stdout] 611 | pub fn clearTokenConfig( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `clear_token_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `withdrawFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:641:8 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn withdrawFees( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setUsdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:673:8 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn setUsdgAmount( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | let usdgAmount = USDGAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_newVault` should have a snake case name [INFO] [stdout] --> src/contract.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | _newVault: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_new_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directPoolDeposit` should have a snake case name [INFO] [stdout] --> src/contract.rs:708:8 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn directPoolDeposit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direct_pool_deposit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:717:9 [INFO] [stdout] | [INFO] [stdout] 717 | let tokenAmount: Uint128 = balance_cw20_tokens(&_deps, _env.clone(), _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buyUSDG` should have a snake case name [INFO] [stdout] --> src/contract.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn buyUSDG( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `buy_usdg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | let tokenAmount: Uint128 = balance_cw20_tokens(&_deps.branch(), _env.clone(), _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 760 | let mut usdgAmount: Uint128 = (tokenAmount * price) / PRICE_PRECISION; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | let feeBasisPoints: Uint128 = getBuyUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountAfterFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:781:9 [INFO] [stdout] | [INFO] [stdout] 781 | let amountAfterFees: Uint128 = collect_fees( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_after_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:790:13 [INFO] [stdout] | [INFO] [stdout] 790 | let mut mintAmount: Uint128 = (amountAfterFees * price) / PRICE_PRECISION; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `mint_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sellUSDG` should have a snake case name [INFO] [stdout] --> src/contract.rs:825:8 [INFO] [stdout] | [INFO] [stdout] 825 | pub fn sellUSDG( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sell_usdg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:842:9 [INFO] [stdout] | [INFO] [stdout] 842 | let usdgAmount: Uint128 = [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `redemptionAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:854:9 [INFO] [stdout] | [INFO] [stdout] 854 | let redemptionAmount: Uint128 = getRedemptionAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | let feeBasisPoints: Uint128 = getSellUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountAfterFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 888 | let amountAfterFees: Uint128 = collect_fees( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_after_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_updateCumulativeFundingRate` should have a snake case name [INFO] [stdout] --> src/contract.rs:922:8 [INFO] [stdout] | [INFO] [stdout] 922 | pub fn _updateCumulativeFundingRate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_update_cumulative_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:926:5 [INFO] [stdout] | [INFO] [stdout] 926 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:927:5 [INFO] [stdout] | [INFO] [stdout] 927 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stdout] --> src/contract.rs:935:9 [INFO] [stdout] | [INFO] [stdout] 935 | let lastFundingTimes = LASTFUNDINTIME.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fundingRate` should have a snake case name [INFO] [stdout] --> src/contract.rs:953:9 [INFO] [stdout] | [INFO] [stdout] 953 | let fundingRate = getNextFundingRate( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cumulativeFundingRates` should have a snake case name [INFO] [stdout] --> src/contract.rs:960:13 [INFO] [stdout] | [INFO] [stdout] 960 | let mut cumulativeFundingRates = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cumulative_funding_rates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stdout] --> src/contract.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | let mut lastFundingTimes = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getNextFundingRate` should have a snake case name [INFO] [stdout] --> src/contract.rs:985:8 [INFO] [stdout] | [INFO] [stdout] 985 | pub fn getNextFundingRate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_next_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:990:5 [INFO] [stdout] | [INFO] [stdout] 990 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stdout] --> src/contract.rs:992:9 [INFO] [stdout] | [INFO] [stdout] 992 | let lastFundingTimes = LASTFUNDINTIME.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | let poolAmount = POOLAMOUNT.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/contract.rs:1007:9 [INFO] [stdout] | [INFO] [stdout] 1007 | let _fundingRateFactor: u128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stableToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1009:9 [INFO] [stdout] | [INFO] [stdout] 1009 | let stableToken = STABLETOKEN.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `stable_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenDev` should have a snake case name [INFO] [stdout] --> src/contract.rs:1028:5 [INFO] [stdout] | [INFO] [stdout] 1028 | _tokenDev: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_dev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenMul` should have a snake case name [INFO] [stdout] --> src/contract.rs:1029:5 [INFO] [stdout] | [INFO] [stdout] 1029 | _tokenMul: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decimalsDiv` should have a snake case name [INFO] [stdout] --> src/contract.rs:1032:9 [INFO] [stdout] | [INFO] [stdout] 1032 | let decimalsDiv: Uint128; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decimals_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decimalsMul` should have a snake case name [INFO] [stdout] --> src/contract.rs:1040:9 [INFO] [stdout] | [INFO] [stdout] 1040 | let decimalsMul: Uint128; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decimals_mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `afterFeeAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1062:9 [INFO] [stdout] | [INFO] [stdout] 1062 | let afterFeeAmount: Uint128 = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `after_fee_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_feeAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1064:9 [INFO] [stdout] | [INFO] [stdout] 1064 | let _feeAmount: Uint128 = _amount - afterFeeAmount; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_fee_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeReserves` should have a snake case name [INFO] [stdout] --> src/contract.rs:1066:9 [INFO] [stdout] | [INFO] [stdout] 1066 | let feeReserves = FEERESERVED.load(_deps.storage, _token)?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getRedemptionAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1071:8 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn getRedemptionAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1077:5 [INFO] [stdout] | [INFO] [stdout] 1077 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `redemptionAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1081:9 [INFO] [stdout] | [INFO] [stdout] 1081 | let redemptionAmount: Uint128 = (_usdgAmount * PRICE_PRECISION) / price; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1099:5 [INFO] [stdout] | [INFO] [stdout] 1099 | _tokenIn: Addr, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_token_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1100:5 [INFO] [stdout] | [INFO] [stdout] 1100 | _tokenOut: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `whitelistedTokensIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1104:9 [INFO] [stdout] | [INFO] [stdout] 1104 | let whitelistedTokensIn = WHITELISTEDTOKEN.load(_deps.storage, _tokenIn.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `whitelisted_tokens_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `whitelistedTokensOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | let whitelistedTokensOut = WHITELISTEDTOKEN.load(_deps.storage, _tokenOut.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `whitelisted_tokens_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1128:9 [INFO] [stdout] | [INFO] [stdout] 1128 | let amountIn: Uint128 = balance_cw20_tokens(&_deps.branch(), _env.clone(), _tokenIn.clone())?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `amount_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `priceIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1131:9 [INFO] [stdout] | [INFO] [stdout] 1131 | let priceIn = get_min_price( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `price_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `priceOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1137:9 [INFO] [stdout] | [INFO] [stdout] 1137 | let priceOut = get_max_price( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `price_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1144:13 [INFO] [stdout] | [INFO] [stdout] 1144 | let mut amountOut: Uint128 = amountIn * priceIn / priceOut; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `amount_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1155:13 [INFO] [stdout] | [INFO] [stdout] 1155 | let mut usdgAmount: Uint128 = amountIn * priceIn / PRICE_PRECISION; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:1165:9 [INFO] [stdout] | [INFO] [stdout] 1165 | let _feeBasisPoints: Uint128 = getSwapFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increasePosition` should have a snake case name [INFO] [stdout] --> src/contract.rs:1178:8 [INFO] [stdout] | [INFO] [stdout] 1178 | pub fn increasePosition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `increase_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1183:5 [INFO] [stdout] | [INFO] [stdout] 1183 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1184:5 [INFO] [stdout] | [INFO] [stdout] 1184 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1185:5 [INFO] [stdout] | [INFO] [stdout] 1185 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1186:5 [INFO] [stdout] | [INFO] [stdout] 1186 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_hasProfit` should have a snake case name [INFO] [stdout] --> src/contract.rs:1267:13 [INFO] [stdout] | [INFO] [stdout] 1267 | let mut _hasProfit: bool; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_has_profit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_adjustedDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1268:13 [INFO] [stdout] | [INFO] [stdout] 1268 | let mut _adjustedDelta: Uint128; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_adjusted_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `collateralDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1270:9 [INFO] [stdout] | [INFO] [stdout] 1270 | let collateralDelta = balance_cw20_tokens(&_deps, _env.clone(), _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `collateralDeltaUsd` should have a snake case name [INFO] [stdout] --> src/contract.rs:1271:9 [INFO] [stdout] | [INFO] [stdout] 1271 | let collateralDeltaUsd = token_to_usd_min( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collateral_delta_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reserveDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | let reserveDelta = usdToTokenMax( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `globalShortSizes` should have a snake case name [INFO] [stdout] --> src/contract.rs:1332:13 [INFO] [stdout] | [INFO] [stdout] 1332 | let globalShortSizes = GLOBALSHORTSIZE.load(_deps.storage, _indexToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `global_short_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `globalShortAveragePrices` should have a snake case name [INFO] [stdout] --> src/contract.rs:1336:17 [INFO] [stdout] | [INFO] [stdout] 1336 | let globalShortAveragePrices = get_next_global_short_average_price( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `global_short_average_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decreasePosition` should have a snake case name [INFO] [stdout] --> src/contract.rs:1355:8 [INFO] [stdout] | [INFO] [stdout] 1355 | pub fn decreasePosition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrease_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1360:5 [INFO] [stdout] | [INFO] [stdout] 1360 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1361:5 [INFO] [stdout] | [INFO] [stdout] 1361 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1362:5 [INFO] [stdout] | [INFO] [stdout] 1362 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1363:5 [INFO] [stdout] | [INFO] [stdout] 1363 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1364:5 [INFO] [stdout] | [INFO] [stdout] 1364 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reserveDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1387:9 [INFO] [stdout] | [INFO] [stdout] 1387 | let reserveDelta: Uint128 = position.reserveAmount * _sizeDelta / position.size; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_reduceCollateral` should have a snake case name [INFO] [stdout] --> src/contract.rs:1516:8 [INFO] [stdout] | [INFO] [stdout] 1516 | pub fn _reduceCollateral( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_reduce_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1521:5 [INFO] [stdout] | [INFO] [stdout] 1521 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1522:5 [INFO] [stdout] | [INFO] [stdout] 1522 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1523:5 [INFO] [stdout] | [INFO] [stdout] 1523 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1524:5 [INFO] [stdout] | [INFO] [stdout] 1524 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1525:5 [INFO] [stdout] | [INFO] [stdout] 1525 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hasProfit` should have a snake case name [INFO] [stdout] --> src/contract.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | let hasProfit: bool; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `has_profit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adjustedDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1553:9 [INFO] [stdout] | [INFO] [stdout] 1553 | let adjustedDelta: Uint128; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `adjusted_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_hasProfit` should have a snake case name [INFO] [stdout] --> src/contract.rs:1555:10 [INFO] [stdout] | [INFO] [stdout] 1555 | let (_hasProfit, delta) = get_delta( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_has_profit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdtOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1569:13 [INFO] [stdout] | [INFO] [stdout] 1569 | let mut usdtOut = Uint128::zero(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `usdt_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1577:17 [INFO] [stdout] | [INFO] [stdout] 1577 | let tokenAmount = usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1598:17 [INFO] [stdout] | [INFO] [stdout] 1598 | let tokenAmount = usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `liquidatePosition` should have a snake case name [INFO] [stdout] --> src/contract.rs:1636:8 [INFO] [stdout] | [INFO] [stdout] 1636 | pub fn liquidatePosition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `liquidate_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1641:5 [INFO] [stdout] | [INFO] [stdout] 1641 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1642:5 [INFO] [stdout] | [INFO] [stdout] 1642 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1643:5 [INFO] [stdout] | [INFO] [stdout] 1643 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `liquidationState` should have a snake case name [INFO] [stdout] --> src/contract.rs:1671:9 [INFO] [stdout] | [INFO] [stdout] 1671 | let liquidationState: Uint128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `liquidation_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `marginFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:1672:9 [INFO] [stdout] | [INFO] [stdout] 1672 | let marginFees: Uint128; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `margin_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeTokens` should have a snake case name [INFO] [stdout] --> src/contract.rs:1704:9 [INFO] [stdout] | [INFO] [stdout] 1704 | let feeTokens = usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `fee_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeReserves` should have a snake case name [INFO] [stdout] --> src/contract.rs:1711:9 [INFO] [stdout] | [INFO] [stdout] 1711 | let feeReserves = FEERESERVED.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `markPrice` should have a snake case name [INFO] [stdout] --> src/contract.rs:1748:9 [INFO] [stdout] | [INFO] [stdout] 1748 | let markPrice: Uint128; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `mark_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_Utilisationsition_key` should have a snake case name [INFO] [stdout] --> src/contract.rs:1824:8 [INFO] [stdout] | [INFO] [stdout] 1824 | pub fn get_Utilisationsition_key(_deps: DepsMut, _token: Addr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_utilisationsition_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1825:9 [INFO] [stdout] | [INFO] [stdout] 1825 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reservedAmounts` should have a snake case name [INFO] [stdout] --> src/contract.rs:1830:9 [INFO] [stdout] | [INFO] [stdout] 1830 | let reservedAmounts = RESERVEDAMOUNTS.load(_deps.storage, _token)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserved_amounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increaseUsdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn _increaseUsdgAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxUsdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let maxUsdgAmount = MAXUSDGAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseUsdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn _decreaseUsdgAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increasePoolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn _increasePoolAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_poolAmount_next` should have a snake case name [INFO] [stdout] --> src/helpers.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let _poolAmount_next = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_pool_amount_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updateCumulativeFundingRate` should have a snake case name [INFO] [stdout] --> src/helpers.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn updateCumulativeFundingRate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_cumulative_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getBuyUsdgFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn getBuyUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_buy_usdg_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getSellUsdgFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn getSellUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sell_usdg_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getSwapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn getSwapFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreasePoolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn _decreasePoolAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount_next` should have a snake case name [INFO] [stdout] --> src/helpers.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | let poolAmount_next = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | TOKENBALANCE.save(_deps.storage, _address, &bal); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = TOKENBALANCE.save(_deps.storage, _address, &bal); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_validateTokens` should have a snake case name [INFO] [stdout] --> src/helpers.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn _validateTokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_validate_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let mut feeUsd = get_position_fee( [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fundingFee` should have a snake case name [INFO] [stdout] --> src/helpers.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | let fundingFee = get_funding_fee( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `funding_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeTokens` should have a snake case name [INFO] [stdout] --> src/helpers.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | let feeTokens: Uint128 = Uint128::new(usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `fee_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeReserves` should have a snake case name [INFO] [stdout] --> src/helpers.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | let feeReserves = FEERESERVED.load(deps.storage, _collateral_token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | / FEERESERVED.save( [INFO] [stdout] 478 | | deps.storage, [INFO] [stdout] 479 | | _collateral_token.clone(), [INFO] [stdout] 480 | | &(feeReserves + feeTokens), [INFO] [stdout] 481 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 477 | let _ = FEERESERVED.save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `usdToTokenMax` should have a snake case name [INFO] [stdout] --> src/helpers.rs:518:8 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn usdToTokenMax( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `usd_to_token_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | _usdAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_usd_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increaseReservedAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn _increaseReservedAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_reserved_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_reserveDelta` should have a snake case name [INFO] [stdout] --> src/helpers.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | _reserveDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_reserve_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increaseGuaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:542:8 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn _increaseGuaranteedUsd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | let mut guaranteedUsd = GUARANTEEUSD.load(deps.storage, _collateral_token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 550 | let _ = GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseGuaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:558:8 [INFO] [stdout] | [INFO] [stdout] 558 | pub fn _decreaseGuaranteedUsd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | let mut guaranteedUsd = GUARANTEEUSD.load(deps.storage, _collateral_token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 566 | GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 566 | let _ = GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseReservedAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:603:8 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn _decreaseReservedAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_reserved_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let mut guaranteedUsd = RESERVEDAMOUNTS.load(deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | RESERVEDAMOUNTS.save(deps.storage, _token.clone(), &guaranteedUsd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 611 | let _ = RESERVEDAMOUNTS.save(deps.storage, _token.clone(), &guaranteedUsd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseGlobalShortSize` should have a snake case name [INFO] [stdout] --> src/helpers.rs:618:8 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn _decreaseGlobalShortSize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_global_short_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | GLOBALSHORTSIZE.save(_deps.storage, _token, &Uint128::zero()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 625 | let _ = GLOBALSHORTSIZE.save(_deps.storage, _token, &Uint128::zero()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validLiquidation` should have a snake case name [INFO] [stdout] --> src/helpers.rs:633:8 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn validLiquidation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_liquidation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 638 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 639 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/helpers.rs:640:5 [INFO] [stdout] | [INFO] [stdout] 640 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getRedemptionCollateral` should have a snake case name [INFO] [stdout] --> src/helpers.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | pub fn getRedemptionCollateral( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stableTokens` should have a snake case name [INFO] [stdout] --> src/helpers.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | let stableTokens = STABLETOKEN.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stable_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reservedAmounts` should have a snake case name [INFO] [stdout] --> src/helpers.rs:669:9 [INFO] [stdout] | [INFO] [stdout] 669 | let reservedAmounts = RESERVEDAMOUNTS.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserved_amounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getRedemptionCollateralUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:675:8 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn getRedemptionCollateralUsd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_collateral_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RedemptionCollateral` should have a snake case name [INFO] [stdout] --> src/helpers.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | let RedemptionCollateral = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPositionFee` should have a snake case name [INFO] [stdout] --> src/helpers.rs:694:8 [INFO] [stdout] | [INFO] [stdout] 694 | pub fn getPositionFee( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_position_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/helpers.rs:701:5 [INFO] [stdout] | [INFO] [stdout] 701 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/helpers.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 702 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:707:8 [INFO] [stdout] | [INFO] [stdout] 707 | pub fn getFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgDelta` should have a snake case name [INFO] [stdout] --> src/helpers.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | _usdgDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | _feeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_taxBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | _taxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_priceFeed` should have a snake case name [INFO] [stdout] --> src/msg.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub _priceFeed: Addr, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_price_feed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_liquidationFeeUsd` should have a snake case name [INFO] [stdout] --> src/msg.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub _liquidationFeeUsd: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub _fundingRateFactor: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableFundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub _stableFundingRateFactor: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_bankAddr` should have a snake case name [INFO] [stdout] --> src/msg.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub _bankAddr: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_bank_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_utilisAddr` should have a snake case name [INFO] [stdout] --> src/msg.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | _utilisAddr: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_utilis_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Inmanagermode` should have a snake case name [INFO] [stdout] --> src/msg.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Inmanagermode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `inmanagermode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `InPrivateLiqMode` should have a snake case name [INFO] [stdout] --> src/msg.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | InPrivateLiqMode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `in_private_liq_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `is_Leverage_enable` should have a snake case name [INFO] [stdout] --> src/msg.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | is_Leverage_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_leverage_enable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_maxLeverage` should have a snake case name [INFO] [stdout] --> src/msg.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | _maxLeverage: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_leverage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_taxBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | _taxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableTaxBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | _stableTaxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_mintBurnFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | _mintBurnFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_mint_burn_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_swapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | _swapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableSwapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | _stableSwapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_marginFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | _marginFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_margin_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_liquidationFeeUsd` should have a snake case name [INFO] [stdout] --> src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | _liquidationFeeUsd: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_minProfitTime` should have a snake case name [INFO] [stdout] --> src/msg.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | _minProfitTime: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_hasDynamicFees` should have a snake case name [INFO] [stdout] --> src/msg.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | _hasDynamicFees: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_has_dynamic_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_fundingInterval` should have a snake case name [INFO] [stdout] --> src/msg.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | _fundingInterval: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | _fundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableFundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | _stableFundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenDecimals` should have a snake case name [INFO] [stdout] --> src/msg.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | _tokenDecimals: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenWeight` should have a snake case name [INFO] [stdout] --> src/msg.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | _tokenWeight: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_minProfitBps` should have a snake case name [INFO] [stdout] --> src/msg.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | _minProfitBps: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_bps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_maxUsdgAmount` should have a snake case name [INFO] [stdout] --> src/msg.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | _maxUsdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isStable` should have a snake case name [INFO] [stdout] --> src/msg.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | _isStable: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_is_stable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isShortable` should have a snake case name [INFO] [stdout] --> src/msg.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | _isShortable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_shortable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_newVault` should have a snake case name [INFO] [stdout] --> src/msg.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | _newVault: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_new_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenIn` should have a snake case name [INFO] [stdout] --> src/msg.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | _tokenIn: Addr, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_token_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenOut` should have a snake case name [INFO] [stdout] --> src/msg.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | _tokenOut: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_whiteListed_token` should have a snake case name [INFO] [stdout] --> src/query.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn all_whiteListed_token(_deps: Deps) -> StdResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_white_listed_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/query.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | validate(position.collateral > Uint128::zero(), "err"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = validate(position.collateral > Uint128::zero(), "err"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `averagePrice` should have a snake case name [INFO] [stdout] --> src/state.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub averagePrice: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `average_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `entryFundingRate` should have a snake case name [INFO] [stdout] --> src/state.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub entryFundingRate: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `entry_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reserveAmount` should have a snake case name [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub reserveAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `realisedPnL` should have a snake case name [INFO] [stdout] --> src/state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub realisedPnL: Int128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `realised_pn_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastIncreasedTime` should have a snake case name [INFO] [stdout] --> src/state.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub lastIncreasedTime: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_increased_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_LEVERAGE` is never used [INFO] [stdout] --> src/contract.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const MIN_LEVERAGE: Uint128 = Uint128::new(10000); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_utilisAddr` should have a snake case name [INFO] [stdout] --> src/contract.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | _utilisAddr: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_utilis_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_in_managerMode` should have a snake case name [INFO] [stdout] --> src/contract.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn set_in_managerMode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_in_manager_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Inmanagermode` should have a snake case name [INFO] [stdout] --> src/contract.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | _Inmanagermode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_inmanagermode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_in_private_liqMode` should have a snake case name [INFO] [stdout] --> src/contract.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn set_in_private_liqMode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_in_private_liq_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_InPrivateLiqMode` should have a snake case name [INFO] [stdout] --> src/contract.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | _InPrivateLiqMode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_in_private_liq_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_is_Leverage_enable` should have a snake case name [INFO] [stdout] --> src/contract.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | _is_Leverage_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_leverage_enable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_maxLeverage` should have a snake case name [INFO] [stdout] --> src/contract.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | _maxLeverage: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_leverage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_max_global_shortSize` should have a snake case name [INFO] [stdout] --> src/contract.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn set_max_global_shortSize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_max_global_short_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_taxBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:508:5 [INFO] [stdout] | [INFO] [stdout] 508 | _taxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_stableTaxBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | _stableTaxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_mintBurnFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | _mintBurnFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_mint_burn_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_swapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 511 | _swapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_stableSwapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | _stableSwapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_marginFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | _marginFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_margin_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_liquidationFeeUsd` should have a snake case name [INFO] [stdout] --> src/contract.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | _liquidationFeeUsd: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_minProfitTime` should have a snake case name [INFO] [stdout] --> src/contract.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 515 | _minProfitTime: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_hasDynamicFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 516 | _hasDynamicFees: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_has_dynamic_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_fundingInterval` should have a snake case name [INFO] [stdout] --> src/contract.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | _fundingInterval: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/contract.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | _fundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_stableFundingRateFactor` should have a snake case name [INFO] [stdout] --> src/contract.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | _stableFundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenDecimals` should have a snake case name [INFO] [stdout] --> src/contract.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 575 | _tokenDecimals: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenWeight` should have a snake case name [INFO] [stdout] --> src/contract.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | _tokenWeight: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_minProfitBps` should have a snake case name [INFO] [stdout] --> src/contract.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | _minProfitBps: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_bps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_maxUsdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | _maxUsdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isStable` should have a snake case name [INFO] [stdout] --> src/contract.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 579 | _isStable: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_is_stable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isShortable` should have a snake case name [INFO] [stdout] --> src/contract.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 580 | _isShortable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_shortable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_totalTokenWeights` should have a snake case name [INFO] [stdout] --> src/contract.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | let mut _totalTokenWeights: Uint128 = config.total_token_weights; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_total_token_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clearTokenConfig` should have a snake case name [INFO] [stdout] --> src/contract.rs:611:8 [INFO] [stdout] | [INFO] [stdout] 611 | pub fn clearTokenConfig( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `clear_token_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `withdrawFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:641:8 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn withdrawFees( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setUsdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:673:8 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn setUsdgAmount( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | let usdgAmount = USDGAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_newVault` should have a snake case name [INFO] [stdout] --> src/contract.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | _newVault: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_new_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directPoolDeposit` should have a snake case name [INFO] [stdout] --> src/contract.rs:708:8 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn directPoolDeposit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direct_pool_deposit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:717:9 [INFO] [stdout] | [INFO] [stdout] 717 | let tokenAmount: Uint128 = balance_cw20_tokens(&_deps, _env.clone(), _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buyUSDG` should have a snake case name [INFO] [stdout] --> src/contract.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn buyUSDG( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `buy_usdg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | let tokenAmount: Uint128 = balance_cw20_tokens(&_deps.branch(), _env.clone(), _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 760 | let mut usdgAmount: Uint128 = (tokenAmount * price) / PRICE_PRECISION; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | let feeBasisPoints: Uint128 = getBuyUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountAfterFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:781:9 [INFO] [stdout] | [INFO] [stdout] 781 | let amountAfterFees: Uint128 = collect_fees( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_after_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:790:13 [INFO] [stdout] | [INFO] [stdout] 790 | let mut mintAmount: Uint128 = (amountAfterFees * price) / PRICE_PRECISION; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `mint_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sellUSDG` should have a snake case name [INFO] [stdout] --> src/contract.rs:825:8 [INFO] [stdout] | [INFO] [stdout] 825 | pub fn sellUSDG( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sell_usdg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:842:9 [INFO] [stdout] | [INFO] [stdout] 842 | let usdgAmount: Uint128 = [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `redemptionAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:854:9 [INFO] [stdout] | [INFO] [stdout] 854 | let redemptionAmount: Uint128 = getRedemptionAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | let feeBasisPoints: Uint128 = getSellUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountAfterFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 888 | let amountAfterFees: Uint128 = collect_fees( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_after_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_updateCumulativeFundingRate` should have a snake case name [INFO] [stdout] --> src/contract.rs:922:8 [INFO] [stdout] | [INFO] [stdout] 922 | pub fn _updateCumulativeFundingRate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_update_cumulative_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:926:5 [INFO] [stdout] | [INFO] [stdout] 926 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:927:5 [INFO] [stdout] | [INFO] [stdout] 927 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stdout] --> src/contract.rs:935:9 [INFO] [stdout] | [INFO] [stdout] 935 | let lastFundingTimes = LASTFUNDINTIME.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fundingRate` should have a snake case name [INFO] [stdout] --> src/contract.rs:953:9 [INFO] [stdout] | [INFO] [stdout] 953 | let fundingRate = getNextFundingRate( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cumulativeFundingRates` should have a snake case name [INFO] [stdout] --> src/contract.rs:960:13 [INFO] [stdout] | [INFO] [stdout] 960 | let mut cumulativeFundingRates = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cumulative_funding_rates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stdout] --> src/contract.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | let mut lastFundingTimes = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getNextFundingRate` should have a snake case name [INFO] [stdout] --> src/contract.rs:985:8 [INFO] [stdout] | [INFO] [stdout] 985 | pub fn getNextFundingRate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_next_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:990:5 [INFO] [stdout] | [INFO] [stdout] 990 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stdout] --> src/contract.rs:992:9 [INFO] [stdout] | [INFO] [stdout] 992 | let lastFundingTimes = LASTFUNDINTIME.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | let poolAmount = POOLAMOUNT.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/contract.rs:1007:9 [INFO] [stdout] | [INFO] [stdout] 1007 | let _fundingRateFactor: u128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stableToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1009:9 [INFO] [stdout] | [INFO] [stdout] 1009 | let stableToken = STABLETOKEN.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `stable_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenDev` should have a snake case name [INFO] [stdout] --> src/contract.rs:1028:5 [INFO] [stdout] | [INFO] [stdout] 1028 | _tokenDev: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_dev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenMul` should have a snake case name [INFO] [stdout] --> src/contract.rs:1029:5 [INFO] [stdout] | [INFO] [stdout] 1029 | _tokenMul: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decimalsDiv` should have a snake case name [INFO] [stdout] --> src/contract.rs:1032:9 [INFO] [stdout] | [INFO] [stdout] 1032 | let decimalsDiv: Uint128; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decimals_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decimalsMul` should have a snake case name [INFO] [stdout] --> src/contract.rs:1040:9 [INFO] [stdout] | [INFO] [stdout] 1040 | let decimalsMul: Uint128; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decimals_mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `afterFeeAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1062:9 [INFO] [stdout] | [INFO] [stdout] 1062 | let afterFeeAmount: Uint128 = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `after_fee_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_feeAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1064:9 [INFO] [stdout] | [INFO] [stdout] 1064 | let _feeAmount: Uint128 = _amount - afterFeeAmount; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_fee_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeReserves` should have a snake case name [INFO] [stdout] --> src/contract.rs:1066:9 [INFO] [stdout] | [INFO] [stdout] 1066 | let feeReserves = FEERESERVED.load(_deps.storage, _token)?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getRedemptionAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1071:8 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn getRedemptionAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1077:5 [INFO] [stdout] | [INFO] [stdout] 1077 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `redemptionAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1081:9 [INFO] [stdout] | [INFO] [stdout] 1081 | let redemptionAmount: Uint128 = (_usdgAmount * PRICE_PRECISION) / price; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1099:5 [INFO] [stdout] | [INFO] [stdout] 1099 | _tokenIn: Addr, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_token_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_tokenOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1100:5 [INFO] [stdout] | [INFO] [stdout] 1100 | _tokenOut: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `whitelistedTokensIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1104:9 [INFO] [stdout] | [INFO] [stdout] 1104 | let whitelistedTokensIn = WHITELISTEDTOKEN.load(_deps.storage, _tokenIn.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `whitelisted_tokens_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `whitelistedTokensOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | let whitelistedTokensOut = WHITELISTEDTOKEN.load(_deps.storage, _tokenOut.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `whitelisted_tokens_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1128:9 [INFO] [stdout] | [INFO] [stdout] 1128 | let amountIn: Uint128 = balance_cw20_tokens(&_deps.branch(), _env.clone(), _tokenIn.clone())?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `amount_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `priceIn` should have a snake case name [INFO] [stdout] --> src/contract.rs:1131:9 [INFO] [stdout] | [INFO] [stdout] 1131 | let priceIn = get_min_price( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `price_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `priceOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1137:9 [INFO] [stdout] | [INFO] [stdout] 1137 | let priceOut = get_max_price( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `price_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1144:13 [INFO] [stdout] | [INFO] [stdout] 1144 | let mut amountOut: Uint128 = amountIn * priceIn / priceOut; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `amount_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdgAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1155:13 [INFO] [stdout] | [INFO] [stdout] 1155 | let mut usdgAmount: Uint128 = amountIn * priceIn / PRICE_PRECISION; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/contract.rs:1165:9 [INFO] [stdout] | [INFO] [stdout] 1165 | let _feeBasisPoints: Uint128 = getSwapFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increasePosition` should have a snake case name [INFO] [stdout] --> src/contract.rs:1178:8 [INFO] [stdout] | [INFO] [stdout] 1178 | pub fn increasePosition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `increase_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1183:5 [INFO] [stdout] | [INFO] [stdout] 1183 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1184:5 [INFO] [stdout] | [INFO] [stdout] 1184 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1185:5 [INFO] [stdout] | [INFO] [stdout] 1185 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1186:5 [INFO] [stdout] | [INFO] [stdout] 1186 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_hasProfit` should have a snake case name [INFO] [stdout] --> src/contract.rs:1267:13 [INFO] [stdout] | [INFO] [stdout] 1267 | let mut _hasProfit: bool; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_has_profit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_adjustedDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1268:13 [INFO] [stdout] | [INFO] [stdout] 1268 | let mut _adjustedDelta: Uint128; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_adjusted_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `collateralDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1270:9 [INFO] [stdout] | [INFO] [stdout] 1270 | let collateralDelta = balance_cw20_tokens(&_deps, _env.clone(), _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `collateralDeltaUsd` should have a snake case name [INFO] [stdout] --> src/contract.rs:1271:9 [INFO] [stdout] | [INFO] [stdout] 1271 | let collateralDeltaUsd = token_to_usd_min( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collateral_delta_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reserveDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | let reserveDelta = usdToTokenMax( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `globalShortSizes` should have a snake case name [INFO] [stdout] --> src/contract.rs:1332:13 [INFO] [stdout] | [INFO] [stdout] 1332 | let globalShortSizes = GLOBALSHORTSIZE.load(_deps.storage, _indexToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `global_short_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `globalShortAveragePrices` should have a snake case name [INFO] [stdout] --> src/contract.rs:1336:17 [INFO] [stdout] | [INFO] [stdout] 1336 | let globalShortAveragePrices = get_next_global_short_average_price( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `global_short_average_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decreasePosition` should have a snake case name [INFO] [stdout] --> src/contract.rs:1355:8 [INFO] [stdout] | [INFO] [stdout] 1355 | pub fn decreasePosition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrease_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1360:5 [INFO] [stdout] | [INFO] [stdout] 1360 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1361:5 [INFO] [stdout] | [INFO] [stdout] 1361 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1362:5 [INFO] [stdout] | [INFO] [stdout] 1362 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1363:5 [INFO] [stdout] | [INFO] [stdout] 1363 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1364:5 [INFO] [stdout] | [INFO] [stdout] 1364 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reserveDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1387:9 [INFO] [stdout] | [INFO] [stdout] 1387 | let reserveDelta: Uint128 = position.reserveAmount * _sizeDelta / position.size; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_reduceCollateral` should have a snake case name [INFO] [stdout] --> src/contract.rs:1516:8 [INFO] [stdout] | [INFO] [stdout] 1516 | pub fn _reduceCollateral( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_reduce_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1521:5 [INFO] [stdout] | [INFO] [stdout] 1521 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1522:5 [INFO] [stdout] | [INFO] [stdout] 1522 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1523:5 [INFO] [stdout] | [INFO] [stdout] 1523 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1524:5 [INFO] [stdout] | [INFO] [stdout] 1524 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1525:5 [INFO] [stdout] | [INFO] [stdout] 1525 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hasProfit` should have a snake case name [INFO] [stdout] --> src/contract.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | let hasProfit: bool; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `has_profit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adjustedDelta` should have a snake case name [INFO] [stdout] --> src/contract.rs:1553:9 [INFO] [stdout] | [INFO] [stdout] 1553 | let adjustedDelta: Uint128; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `adjusted_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_hasProfit` should have a snake case name [INFO] [stdout] --> src/contract.rs:1555:10 [INFO] [stdout] | [INFO] [stdout] 1555 | let (_hasProfit, delta) = get_delta( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_has_profit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `usdtOut` should have a snake case name [INFO] [stdout] --> src/contract.rs:1569:13 [INFO] [stdout] | [INFO] [stdout] 1569 | let mut usdtOut = Uint128::zero(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `usdt_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1577:17 [INFO] [stdout] | [INFO] [stdout] 1577 | let tokenAmount = usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1598:17 [INFO] [stdout] | [INFO] [stdout] 1598 | let tokenAmount = usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `liquidatePosition` should have a snake case name [INFO] [stdout] --> src/contract.rs:1636:8 [INFO] [stdout] | [INFO] [stdout] 1636 | pub fn liquidatePosition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `liquidate_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1641:5 [INFO] [stdout] | [INFO] [stdout] 1641 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/contract.rs:1642:5 [INFO] [stdout] | [INFO] [stdout] 1642 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/contract.rs:1643:5 [INFO] [stdout] | [INFO] [stdout] 1643 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `liquidationState` should have a snake case name [INFO] [stdout] --> src/contract.rs:1671:9 [INFO] [stdout] | [INFO] [stdout] 1671 | let liquidationState: Uint128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `liquidation_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `marginFees` should have a snake case name [INFO] [stdout] --> src/contract.rs:1672:9 [INFO] [stdout] | [INFO] [stdout] 1672 | let marginFees: Uint128; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `margin_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeTokens` should have a snake case name [INFO] [stdout] --> src/contract.rs:1704:9 [INFO] [stdout] | [INFO] [stdout] 1704 | let feeTokens = usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `fee_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeReserves` should have a snake case name [INFO] [stdout] --> src/contract.rs:1711:9 [INFO] [stdout] | [INFO] [stdout] 1711 | let feeReserves = FEERESERVED.load(_deps.storage, _collateralToken.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `markPrice` should have a snake case name [INFO] [stdout] --> src/contract.rs:1748:9 [INFO] [stdout] | [INFO] [stdout] 1748 | let markPrice: Uint128; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `mark_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_Utilisationsition_key` should have a snake case name [INFO] [stdout] --> src/contract.rs:1824:8 [INFO] [stdout] | [INFO] [stdout] 1824 | pub fn get_Utilisationsition_key(_deps: DepsMut, _token: Addr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_utilisationsition_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:1825:9 [INFO] [stdout] | [INFO] [stdout] 1825 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reservedAmounts` should have a snake case name [INFO] [stdout] --> src/contract.rs:1830:9 [INFO] [stdout] | [INFO] [stdout] 1830 | let reservedAmounts = RESERVEDAMOUNTS.load(_deps.storage, _token)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserved_amounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increaseUsdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn _increaseUsdgAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxUsdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let maxUsdgAmount = MAXUSDGAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseUsdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn _decreaseUsdgAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increasePoolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn _increasePoolAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_poolAmount_next` should have a snake case name [INFO] [stdout] --> src/helpers.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let _poolAmount_next = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_pool_amount_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updateCumulativeFundingRate` should have a snake case name [INFO] [stdout] --> src/helpers.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn updateCumulativeFundingRate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_cumulative_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getBuyUsdgFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn getBuyUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_buy_usdg_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getSellUsdgFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn getSellUsdgFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sell_usdg_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getSwapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn getSwapFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | _usdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreasePoolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn _decreasePoolAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `poolAmount_next` should have a snake case name [INFO] [stdout] --> src/helpers.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | let poolAmount_next = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | TOKENBALANCE.save(_deps.storage, _address, &bal); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = TOKENBALANCE.save(_deps.storage, _address, &bal); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_validateTokens` should have a snake case name [INFO] [stdout] --> src/helpers.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn _validateTokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_validate_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let mut feeUsd = get_position_fee( [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fundingFee` should have a snake case name [INFO] [stdout] --> src/helpers.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | let fundingFee = get_funding_fee( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `funding_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeTokens` should have a snake case name [INFO] [stdout] --> src/helpers.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | let feeTokens: Uint128 = Uint128::new(usd_to_token_min( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `fee_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeReserves` should have a snake case name [INFO] [stdout] --> src/helpers.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | let feeReserves = FEERESERVED.load(deps.storage, _collateral_token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | / FEERESERVED.save( [INFO] [stdout] 478 | | deps.storage, [INFO] [stdout] 479 | | _collateral_token.clone(), [INFO] [stdout] 480 | | &(feeReserves + feeTokens), [INFO] [stdout] 481 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 477 | let _ = FEERESERVED.save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `usdToTokenMax` should have a snake case name [INFO] [stdout] --> src/helpers.rs:518:8 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn usdToTokenMax( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `usd_to_token_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | _usdAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_usd_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increaseReservedAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn _increaseReservedAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_reserved_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_reserveDelta` should have a snake case name [INFO] [stdout] --> src/helpers.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | _reserveDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_reserve_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_increaseGuaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:542:8 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn _increaseGuaranteedUsd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | let mut guaranteedUsd = GUARANTEEUSD.load(deps.storage, _collateral_token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 550 | let _ = GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseGuaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:558:8 [INFO] [stdout] | [INFO] [stdout] 558 | pub fn _decreaseGuaranteedUsd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | let mut guaranteedUsd = GUARANTEEUSD.load(deps.storage, _collateral_token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 566 | GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 566 | let _ = GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseReservedAmount` should have a snake case name [INFO] [stdout] --> src/helpers.rs:603:8 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn _decreaseReservedAmount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_reserved_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let mut guaranteedUsd = RESERVEDAMOUNTS.load(deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | RESERVEDAMOUNTS.save(deps.storage, _token.clone(), &guaranteedUsd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 611 | let _ = RESERVEDAMOUNTS.save(deps.storage, _token.clone(), &guaranteedUsd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_decreaseGlobalShortSize` should have a snake case name [INFO] [stdout] --> src/helpers.rs:618:8 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn _decreaseGlobalShortSize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_global_short_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | GLOBALSHORTSIZE.save(_deps.storage, _token, &Uint128::zero()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 625 | let _ = GLOBALSHORTSIZE.save(_deps.storage, _token, &Uint128::zero()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validLiquidation` should have a snake case name [INFO] [stdout] --> src/helpers.rs:633:8 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn validLiquidation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_liquidation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 638 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 639 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/helpers.rs:640:5 [INFO] [stdout] | [INFO] [stdout] 640 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getRedemptionCollateral` should have a snake case name [INFO] [stdout] --> src/helpers.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | pub fn getRedemptionCollateral( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stableTokens` should have a snake case name [INFO] [stdout] --> src/helpers.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | let stableTokens = STABLETOKEN.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stable_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reservedAmounts` should have a snake case name [INFO] [stdout] --> src/helpers.rs:669:9 [INFO] [stdout] | [INFO] [stdout] 669 | let reservedAmounts = RESERVEDAMOUNTS.load(_deps.storage, _token.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserved_amounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getRedemptionCollateralUsd` should have a snake case name [INFO] [stdout] --> src/helpers.rs:675:8 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn getRedemptionCollateralUsd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_collateral_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RedemptionCollateral` should have a snake case name [INFO] [stdout] --> src/helpers.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | let RedemptionCollateral = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPositionFee` should have a snake case name [INFO] [stdout] --> src/helpers.rs:694:8 [INFO] [stdout] | [INFO] [stdout] 694 | pub fn getPositionFee( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_position_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_collateralToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_indexToken` should have a snake case name [INFO] [stdout] --> src/helpers.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_isLong` should have a snake case name [INFO] [stdout] --> src/helpers.rs:701:5 [INFO] [stdout] | [INFO] [stdout] 701 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/helpers.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 702 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:707:8 [INFO] [stdout] | [INFO] [stdout] 707 | pub fn getFeeBasisPoints( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_usdgDelta` should have a snake case name [INFO] [stdout] --> src/helpers.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | _usdgDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_feeBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | _feeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_taxBasisPoints` should have a snake case name [INFO] [stdout] --> src/helpers.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | _taxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_priceFeed` should have a snake case name [INFO] [stdout] --> src/msg.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub _priceFeed: Addr, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_price_feed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_liquidationFeeUsd` should have a snake case name [INFO] [stdout] --> src/msg.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub _liquidationFeeUsd: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub _fundingRateFactor: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableFundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub _stableFundingRateFactor: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_bankAddr` should have a snake case name [INFO] [stdout] --> src/msg.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub _bankAddr: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_bank_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_utilisAddr` should have a snake case name [INFO] [stdout] --> src/msg.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | _utilisAddr: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_utilis_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Inmanagermode` should have a snake case name [INFO] [stdout] --> src/msg.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Inmanagermode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `inmanagermode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `InPrivateLiqMode` should have a snake case name [INFO] [stdout] --> src/msg.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | InPrivateLiqMode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `in_private_liq_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `is_Leverage_enable` should have a snake case name [INFO] [stdout] --> src/msg.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | is_Leverage_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_leverage_enable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_maxLeverage` should have a snake case name [INFO] [stdout] --> src/msg.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | _maxLeverage: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_leverage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_taxBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | _taxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableTaxBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | _stableTaxBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_tax_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_mintBurnFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | _mintBurnFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_mint_burn_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_swapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | _swapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableSwapFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | _stableSwapFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_swap_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_marginFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | _marginFeeBasisPoints: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_margin_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_liquidationFeeUsd` should have a snake case name [INFO] [stdout] --> src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | _liquidationFeeUsd: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_minProfitTime` should have a snake case name [INFO] [stdout] --> src/msg.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | _minProfitTime: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_hasDynamicFees` should have a snake case name [INFO] [stdout] --> src/msg.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | _hasDynamicFees: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_has_dynamic_fees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_fundingInterval` should have a snake case name [INFO] [stdout] --> src/msg.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | _fundingInterval: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_fundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | _fundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_stableFundingRateFactor` should have a snake case name [INFO] [stdout] --> src/msg.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | _stableFundingRateFactor: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenDecimals` should have a snake case name [INFO] [stdout] --> src/msg.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | _tokenDecimals: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenWeight` should have a snake case name [INFO] [stdout] --> src/msg.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | _tokenWeight: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_minProfitBps` should have a snake case name [INFO] [stdout] --> src/msg.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | _minProfitBps: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_bps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_maxUsdgAmount` should have a snake case name [INFO] [stdout] --> src/msg.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | _maxUsdgAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_usdg_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isStable` should have a snake case name [INFO] [stdout] --> src/msg.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | _isStable: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_is_stable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isShortable` should have a snake case name [INFO] [stdout] --> src/msg.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | _isShortable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_shortable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_newVault` should have a snake case name [INFO] [stdout] --> src/msg.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | _newVault: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_new_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenIn` should have a snake case name [INFO] [stdout] --> src/msg.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | _tokenIn: Addr, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_token_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_tokenOut` should have a snake case name [INFO] [stdout] --> src/msg.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | _tokenOut: Addr, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | _collateralDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stdout] --> src/msg.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | _sizeDelta: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_collateralToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | _collateralToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_indexToken` should have a snake case name [INFO] [stdout] --> src/msg.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | _indexToken: Addr, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_isLong` should have a snake case name [INFO] [stdout] --> src/msg.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | _isLong: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_whiteListed_token` should have a snake case name [INFO] [stdout] --> src/query.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn all_whiteListed_token(_deps: Deps) -> StdResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_white_listed_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/query.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | validate(position.collateral > Uint128::zero(), "err"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = validate(position.collateral > Uint128::zero(), "err"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `averagePrice` should have a snake case name [INFO] [stdout] --> src/state.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub averagePrice: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `average_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `entryFundingRate` should have a snake case name [INFO] [stdout] --> src/state.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub entryFundingRate: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `entry_funding_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reserveAmount` should have a snake case name [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub reserveAmount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `realisedPnL` should have a snake case name [INFO] [stdout] --> src/state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub realisedPnL: Int128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `realised_pn_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastIncreasedTime` should have a snake case name [INFO] [stdout] --> src/state.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub lastIncreasedTime: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_increased_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `Command { std: "docker" "inspect" "200aa13f569ed321fa89936d6bc6c97514224aaf28f233931bde3fb2574f2adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "200aa13f569ed321fa89936d6bc6c97514224aaf28f233931bde3fb2574f2adc", kill_on_drop: false }` [INFO] [stdout] 200aa13f569ed321fa89936d6bc6c97514224aaf28f233931bde3fb2574f2adc [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 327dbe3d0817929591ea67f065a2fce48361ac5b45c22126d2ff2e2ec8825907 [INFO] running `Command { std: "docker" "start" "-a" "327dbe3d0817929591ea67f065a2fce48361ac5b45c22126d2ff2e2ec8825907", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `res` is never read [INFO] [stderr] --> src/contract.rs:661:5 [INFO] [stderr] | [INFO] [stderr] 661 | res = res.add_submessage(pay_out( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `res` is never read [INFO] [stderr] --> src/contract.rs:902:5 [INFO] [stderr] | [INFO] [stderr] 902 | res = res.add_submessage(pay_out( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `lastFundingTimes` is never read [INFO] [stderr] --> src/contract.rs:969:13 [INFO] [stderr] | [INFO] [stderr] 969 | let mut lastFundingTimes = [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `amountOut` is never read [INFO] [stderr] --> src/contract.rs:1146:5 [INFO] [stderr] | [INFO] [stderr] 1146 | amountOut = adjust_decimal( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable `markPrice` is assigned to, but never used [INFO] [stderr] --> src/contract.rs:1748:9 [INFO] [stderr] | [INFO] [stderr] 1748 | let markPrice: Uint128; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_markPrice` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `markPrice` is never read [INFO] [stderr] --> src/contract.rs:1750:9 [INFO] [stderr] | [INFO] [stderr] 1750 | markPrice = get_min_price( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `markPrice` is never read [INFO] [stderr] --> src/contract.rs:1757:9 [INFO] [stderr] | [INFO] [stderr] 1757 | markPrice = get_max_price( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: constant `MIN_LEVERAGE` is never used [INFO] [stderr] --> src/contract.rs:41:7 [INFO] [stderr] | [INFO] [stderr] 41 | const MIN_LEVERAGE: Uint128 = Uint128::new(10000); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `_utilisAddr` should have a snake case name [INFO] [stderr] --> src/contract.rs:308:5 [INFO] [stderr] | [INFO] [stderr] 308 | _utilisAddr: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_utilis_addr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `set_in_managerMode` should have a snake case name [INFO] [stderr] --> src/contract.rs:320:8 [INFO] [stderr] | [INFO] [stderr] 320 | pub fn set_in_managerMode( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_in_manager_mode` [INFO] [stderr] [INFO] [stderr] warning: variable `_Inmanagermode` should have a snake case name [INFO] [stderr] --> src/contract.rs:323:5 [INFO] [stderr] | [INFO] [stderr] 323 | _Inmanagermode: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_inmanagermode` [INFO] [stderr] [INFO] [stderr] warning: function `set_in_private_liqMode` should have a snake case name [INFO] [stderr] --> src/contract.rs:349:8 [INFO] [stderr] | [INFO] [stderr] 349 | pub fn set_in_private_liqMode( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_in_private_liq_mode` [INFO] [stderr] [INFO] [stderr] warning: variable `_InPrivateLiqMode` should have a snake case name [INFO] [stderr] --> src/contract.rs:353:5 [INFO] [stderr] | [INFO] [stderr] 353 | _InPrivateLiqMode: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_in_private_liq_mode` [INFO] [stderr] [INFO] [stderr] warning: variable `_is_Leverage_enable` should have a snake case name [INFO] [stderr] --> src/contract.rs:398:5 [INFO] [stderr] | [INFO] [stderr] 398 | _is_Leverage_enable: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_leverage_enable` [INFO] [stderr] [INFO] [stderr] warning: variable `_maxLeverage` should have a snake case name [INFO] [stderr] --> src/contract.rs:464:5 [INFO] [stderr] | [INFO] [stderr] 464 | _maxLeverage: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_leverage` [INFO] [stderr] [INFO] [stderr] warning: function `set_max_global_shortSize` should have a snake case name [INFO] [stderr] --> src/contract.rs:490:8 [INFO] [stderr] | [INFO] [stderr] 490 | pub fn set_max_global_shortSize( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_max_global_short_size` [INFO] [stderr] [INFO] [stderr] warning: variable `_taxBasisPoints` should have a snake case name [INFO] [stderr] --> src/contract.rs:508:5 [INFO] [stderr] | [INFO] [stderr] 508 | _taxBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_stableTaxBasisPoints` should have a snake case name [INFO] [stderr] --> src/contract.rs:509:5 [INFO] [stderr] | [INFO] [stderr] 509 | _stableTaxBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_tax_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_mintBurnFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/contract.rs:510:5 [INFO] [stderr] | [INFO] [stderr] 510 | _mintBurnFeeBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_mint_burn_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_swapFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/contract.rs:511:5 [INFO] [stderr] | [INFO] [stderr] 511 | _swapFeeBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_swap_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_stableSwapFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/contract.rs:512:5 [INFO] [stderr] | [INFO] [stderr] 512 | _stableSwapFeeBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_swap_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_marginFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/contract.rs:513:5 [INFO] [stderr] | [INFO] [stderr] 513 | _marginFeeBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_margin_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_liquidationFeeUsd` should have a snake case name [INFO] [stderr] --> src/contract.rs:514:5 [INFO] [stderr] | [INFO] [stderr] 514 | _liquidationFeeUsd: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stderr] [INFO] [stderr] warning: variable `_minProfitTime` should have a snake case name [INFO] [stderr] --> src/contract.rs:515:5 [INFO] [stderr] | [INFO] [stderr] 515 | _minProfitTime: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_time` [INFO] [stderr] [INFO] [stderr] warning: variable `_hasDynamicFees` should have a snake case name [INFO] [stderr] --> src/contract.rs:516:5 [INFO] [stderr] | [INFO] [stderr] 516 | _hasDynamicFees: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_has_dynamic_fees` [INFO] [stderr] [INFO] [stderr] warning: variable `_fundingInterval` should have a snake case name [INFO] [stderr] --> src/contract.rs:549:5 [INFO] [stderr] | [INFO] [stderr] 549 | _fundingInterval: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_interval` [INFO] [stderr] [INFO] [stderr] warning: variable `_fundingRateFactor` should have a snake case name [INFO] [stderr] --> src/contract.rs:550:5 [INFO] [stderr] | [INFO] [stderr] 550 | _fundingRateFactor: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stderr] [INFO] [stderr] warning: variable `_stableFundingRateFactor` should have a snake case name [INFO] [stderr] --> src/contract.rs:551:5 [INFO] [stderr] | [INFO] [stderr] 551 | _stableFundingRateFactor: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stderr] [INFO] [stderr] warning: variable `_tokenDecimals` should have a snake case name [INFO] [stderr] --> src/contract.rs:575:5 [INFO] [stderr] | [INFO] [stderr] 575 | _tokenDecimals: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_decimals` [INFO] [stderr] [INFO] [stderr] warning: variable `_tokenWeight` should have a snake case name [INFO] [stderr] --> src/contract.rs:576:5 [INFO] [stderr] | [INFO] [stderr] 576 | _tokenWeight: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_weight` [INFO] [stderr] [INFO] [stderr] warning: variable `_minProfitBps` should have a snake case name [INFO] [stderr] --> src/contract.rs:577:5 [INFO] [stderr] | [INFO] [stderr] 577 | _minProfitBps: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_bps` [INFO] [stderr] [INFO] [stderr] warning: variable `_maxUsdgAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:578:5 [INFO] [stderr] | [INFO] [stderr] 578 | _maxUsdgAmount: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `_isStable` should have a snake case name [INFO] [stderr] --> src/contract.rs:579:5 [INFO] [stderr] | [INFO] [stderr] 579 | _isStable: bool, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `_is_stable` [INFO] [stderr] [INFO] [stderr] warning: variable `_isShortable` should have a snake case name [INFO] [stderr] --> src/contract.rs:580:5 [INFO] [stderr] | [INFO] [stderr] 580 | _isShortable: bool, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_shortable` [INFO] [stderr] [INFO] [stderr] warning: variable `_totalTokenWeights` should have a snake case name [INFO] [stderr] --> src/contract.rs:593:13 [INFO] [stderr] | [INFO] [stderr] 593 | let mut _totalTokenWeights: Uint128 = config.total_token_weights; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_total_token_weights` [INFO] [stderr] [INFO] [stderr] warning: function `clearTokenConfig` should have a snake case name [INFO] [stderr] --> src/contract.rs:611:8 [INFO] [stderr] | [INFO] [stderr] 611 | pub fn clearTokenConfig( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `clear_token_config` [INFO] [stderr] [INFO] [stderr] warning: function `withdrawFees` should have a snake case name [INFO] [stderr] --> src/contract.rs:641:8 [INFO] [stderr] | [INFO] [stderr] 641 | pub fn withdrawFees( [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_fees` [INFO] [stderr] [INFO] [stderr] warning: function `setUsdgAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:673:8 [INFO] [stderr] | [INFO] [stderr] 673 | pub fn setUsdgAmount( [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `usdgAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:682:9 [INFO] [stderr] | [INFO] [stderr] 682 | let usdgAmount = USDGAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `_newVault` should have a snake case name [INFO] [stderr] --> src/contract.rs:697:5 [INFO] [stderr] | [INFO] [stderr] 697 | _newVault: Addr, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `_new_vault` [INFO] [stderr] [INFO] [stderr] warning: function `directPoolDeposit` should have a snake case name [INFO] [stderr] --> src/contract.rs:708:8 [INFO] [stderr] | [INFO] [stderr] 708 | pub fn directPoolDeposit( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direct_pool_deposit` [INFO] [stderr] [INFO] [stderr] warning: variable `tokenAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:717:9 [INFO] [stderr] | [INFO] [stderr] 717 | let tokenAmount: Uint128 = balance_cw20_tokens(&_deps, _env.clone(), _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stderr] [INFO] [stderr] warning: function `buyUSDG` should have a snake case name [INFO] [stderr] --> src/contract.rs:729:8 [INFO] [stderr] | [INFO] [stderr] 729 | pub fn buyUSDG( [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `buy_usdg` [INFO] [stderr] [INFO] [stderr] warning: variable `tokenAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:746:9 [INFO] [stderr] | [INFO] [stderr] 746 | let tokenAmount: Uint128 = balance_cw20_tokens(&_deps.branch(), _env.clone(), _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `usdgAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:760:13 [INFO] [stderr] | [INFO] [stderr] 760 | let mut usdgAmount: Uint128 = (tokenAmount * price) / PRICE_PRECISION; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `feeBasisPoints` should have a snake case name [INFO] [stderr] --> src/contract.rs:773:9 [INFO] [stderr] | [INFO] [stderr] 773 | let feeBasisPoints: Uint128 = getBuyUsdgFeeBasisPoints( [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `amountAfterFees` should have a snake case name [INFO] [stderr] --> src/contract.rs:781:9 [INFO] [stderr] | [INFO] [stderr] 781 | let amountAfterFees: Uint128 = collect_fees( [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_after_fees` [INFO] [stderr] [INFO] [stderr] warning: variable `mintAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:790:13 [INFO] [stderr] | [INFO] [stderr] 790 | let mut mintAmount: Uint128 = (amountAfterFees * price) / PRICE_PRECISION; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `mint_amount` [INFO] [stderr] [INFO] [stderr] warning: function `sellUSDG` should have a snake case name [INFO] [stderr] --> src/contract.rs:825:8 [INFO] [stderr] | [INFO] [stderr] 825 | pub fn sellUSDG( [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `sell_usdg` [INFO] [stderr] [INFO] [stderr] warning: variable `usdgAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:842:9 [INFO] [stderr] | [INFO] [stderr] 842 | let usdgAmount: Uint128 = [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `redemptionAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:854:9 [INFO] [stderr] | [INFO] [stderr] 854 | let redemptionAmount: Uint128 = getRedemptionAmount( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `feeBasisPoints` should have a snake case name [INFO] [stderr] --> src/contract.rs:880:9 [INFO] [stderr] | [INFO] [stderr] 880 | let feeBasisPoints: Uint128 = getSellUsdgFeeBasisPoints( [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `amountAfterFees` should have a snake case name [INFO] [stderr] --> src/contract.rs:888:9 [INFO] [stderr] | [INFO] [stderr] 888 | let amountAfterFees: Uint128 = collect_fees( [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_after_fees` [INFO] [stderr] [INFO] [stderr] warning: function `_updateCumulativeFundingRate` should have a snake case name [INFO] [stderr] --> src/contract.rs:922:8 [INFO] [stderr] | [INFO] [stderr] 922 | pub fn _updateCumulativeFundingRate( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_update_cumulative_funding_rate` [INFO] [stderr] [INFO] [stderr] warning: variable `_collateralToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:926:5 [INFO] [stderr] | [INFO] [stderr] 926 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_indexToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:927:5 [INFO] [stderr] | [INFO] [stderr] 927 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stderr] --> src/contract.rs:935:9 [INFO] [stderr] | [INFO] [stderr] 935 | let lastFundingTimes = LASTFUNDINTIME.load(_deps.storage, _collateralToken.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stderr] [INFO] [stderr] warning: variable `fundingRate` should have a snake case name [INFO] [stderr] --> src/contract.rs:953:9 [INFO] [stderr] | [INFO] [stderr] 953 | let fundingRate = getNextFundingRate( [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `funding_rate` [INFO] [stderr] [INFO] [stderr] warning: variable `cumulativeFundingRates` should have a snake case name [INFO] [stderr] --> src/contract.rs:960:13 [INFO] [stderr] | [INFO] [stderr] 960 | let mut cumulativeFundingRates = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cumulative_funding_rates` [INFO] [stderr] [INFO] [stderr] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stderr] --> src/contract.rs:969:13 [INFO] [stderr] | [INFO] [stderr] 969 | let mut lastFundingTimes = [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stderr] [INFO] [stderr] warning: function `getNextFundingRate` should have a snake case name [INFO] [stderr] --> src/contract.rs:985:8 [INFO] [stderr] | [INFO] [stderr] 985 | pub fn getNextFundingRate( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_next_funding_rate` [INFO] [stderr] [INFO] [stderr] warning: variable `_collateralToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:990:5 [INFO] [stderr] | [INFO] [stderr] 990 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: variable `lastFundingTimes` should have a snake case name [INFO] [stderr] --> src/contract.rs:992:9 [INFO] [stderr] | [INFO] [stderr] 992 | let lastFundingTimes = LASTFUNDINTIME.load(_deps.storage, _collateralToken.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_funding_times` [INFO] [stderr] [INFO] [stderr] warning: variable `poolAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:1002:9 [INFO] [stderr] | [INFO] [stderr] 1002 | let poolAmount = POOLAMOUNT.load(_deps.storage, _collateralToken.clone())?; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `_fundingRateFactor` should have a snake case name [INFO] [stderr] --> src/contract.rs:1007:9 [INFO] [stderr] | [INFO] [stderr] 1007 | let _fundingRateFactor: u128; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stderr] [INFO] [stderr] warning: variable `stableToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:1009:9 [INFO] [stderr] | [INFO] [stderr] 1009 | let stableToken = STABLETOKEN.load(_deps.storage, _collateralToken.clone())?; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `stable_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_tokenDev` should have a snake case name [INFO] [stderr] --> src/contract.rs:1028:5 [INFO] [stderr] | [INFO] [stderr] 1028 | _tokenDev: Addr, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_dev` [INFO] [stderr] [INFO] [stderr] warning: variable `_tokenMul` should have a snake case name [INFO] [stderr] --> src/contract.rs:1029:5 [INFO] [stderr] | [INFO] [stderr] 1029 | _tokenMul: Addr, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_mul` [INFO] [stderr] [INFO] [stderr] warning: variable `decimalsDiv` should have a snake case name [INFO] [stderr] --> src/contract.rs:1032:9 [INFO] [stderr] | [INFO] [stderr] 1032 | let decimalsDiv: Uint128; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decimals_div` [INFO] [stderr] [INFO] [stderr] warning: variable `decimalsMul` should have a snake case name [INFO] [stderr] --> src/contract.rs:1040:9 [INFO] [stderr] | [INFO] [stderr] 1040 | let decimalsMul: Uint128; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decimals_mul` [INFO] [stderr] [INFO] [stderr] warning: variable `afterFeeAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:1062:9 [INFO] [stderr] | [INFO] [stderr] 1062 | let afterFeeAmount: Uint128 = [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `after_fee_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `_feeAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:1064:9 [INFO] [stderr] | [INFO] [stderr] 1064 | let _feeAmount: Uint128 = _amount - afterFeeAmount; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_fee_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `feeReserves` should have a snake case name [INFO] [stderr] --> src/contract.rs:1066:9 [INFO] [stderr] | [INFO] [stderr] 1066 | let feeReserves = FEERESERVED.load(_deps.storage, _token)?; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stderr] [INFO] [stderr] warning: function `getRedemptionAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:1071:8 [INFO] [stderr] | [INFO] [stderr] 1071 | pub fn getRedemptionAmount( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `_usdgAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:1077:5 [INFO] [stderr] | [INFO] [stderr] 1077 | _usdgAmount: Uint128, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `redemptionAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:1081:9 [INFO] [stderr] | [INFO] [stderr] 1081 | let redemptionAmount: Uint128 = (_usdgAmount * PRICE_PRECISION) / price; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `_tokenIn` should have a snake case name [INFO] [stderr] --> src/contract.rs:1099:5 [INFO] [stderr] | [INFO] [stderr] 1099 | _tokenIn: Addr, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `_token_in` [INFO] [stderr] [INFO] [stderr] warning: variable `_tokenOut` should have a snake case name [INFO] [stderr] --> src/contract.rs:1100:5 [INFO] [stderr] | [INFO] [stderr] 1100 | _tokenOut: Addr, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_out` [INFO] [stderr] [INFO] [stderr] warning: variable `whitelistedTokensIn` should have a snake case name [INFO] [stderr] --> src/contract.rs:1104:9 [INFO] [stderr] | [INFO] [stderr] 1104 | let whitelistedTokensIn = WHITELISTEDTOKEN.load(_deps.storage, _tokenIn.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `whitelisted_tokens_in` [INFO] [stderr] [INFO] [stderr] warning: variable `whitelistedTokensOut` should have a snake case name [INFO] [stderr] --> src/contract.rs:1105:9 [INFO] [stderr] | [INFO] [stderr] 1105 | let whitelistedTokensOut = WHITELISTEDTOKEN.load(_deps.storage, _tokenOut.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `whitelisted_tokens_out` [INFO] [stderr] [INFO] [stderr] warning: variable `amountIn` should have a snake case name [INFO] [stderr] --> src/contract.rs:1128:9 [INFO] [stderr] | [INFO] [stderr] 1128 | let amountIn: Uint128 = balance_cw20_tokens(&_deps.branch(), _env.clone(), _tokenIn.clone())?; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `amount_in` [INFO] [stderr] [INFO] [stderr] warning: variable `priceIn` should have a snake case name [INFO] [stderr] --> src/contract.rs:1131:9 [INFO] [stderr] | [INFO] [stderr] 1131 | let priceIn = get_min_price( [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `price_in` [INFO] [stderr] [INFO] [stderr] warning: variable `priceOut` should have a snake case name [INFO] [stderr] --> src/contract.rs:1137:9 [INFO] [stderr] | [INFO] [stderr] 1137 | let priceOut = get_max_price( [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `price_out` [INFO] [stderr] [INFO] [stderr] warning: variable `amountOut` should have a snake case name [INFO] [stderr] --> src/contract.rs:1144:13 [INFO] [stderr] | [INFO] [stderr] 1144 | let mut amountOut: Uint128 = amountIn * priceIn / priceOut; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `amount_out` [INFO] [stderr] [INFO] [stderr] warning: variable `usdgAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:1155:13 [INFO] [stderr] | [INFO] [stderr] 1155 | let mut usdgAmount: Uint128 = amountIn * priceIn / PRICE_PRECISION; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `_feeBasisPoints` should have a snake case name [INFO] [stderr] --> src/contract.rs:1165:9 [INFO] [stderr] | [INFO] [stderr] 1165 | let _feeBasisPoints: Uint128 = getSwapFeeBasisPoints( [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: function `increasePosition` should have a snake case name [INFO] [stderr] --> src/contract.rs:1178:8 [INFO] [stderr] | [INFO] [stderr] 1178 | pub fn increasePosition( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `increase_position` [INFO] [stderr] [INFO] [stderr] warning: variable `_collateralToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:1183:5 [INFO] [stderr] | [INFO] [stderr] 1183 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_indexToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:1184:5 [INFO] [stderr] | [INFO] [stderr] 1184 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_sizeDelta` should have a snake case name [INFO] [stderr] --> src/contract.rs:1185:5 [INFO] [stderr] | [INFO] [stderr] 1185 | _sizeDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stderr] [INFO] [stderr] warning: variable `_isLong` should have a snake case name [INFO] [stderr] --> src/contract.rs:1186:5 [INFO] [stderr] | [INFO] [stderr] 1186 | _isLong: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stderr] [INFO] [stderr] warning: variable `_hasProfit` should have a snake case name [INFO] [stderr] --> src/contract.rs:1267:13 [INFO] [stderr] | [INFO] [stderr] 1267 | let mut _hasProfit: bool; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_has_profit` [INFO] [stderr] [INFO] [stderr] warning: variable `_adjustedDelta` should have a snake case name [INFO] [stderr] --> src/contract.rs:1268:13 [INFO] [stderr] | [INFO] [stderr] 1268 | let mut _adjustedDelta: Uint128; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_adjusted_delta` [INFO] [stderr] [INFO] [stderr] warning: variable `collateralDelta` should have a snake case name [INFO] [stderr] --> src/contract.rs:1270:9 [INFO] [stderr] | [INFO] [stderr] 1270 | let collateralDelta = balance_cw20_tokens(&_deps, _env.clone(), _collateralToken.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collateral_delta` [INFO] [stderr] [INFO] [stderr] warning: variable `collateralDeltaUsd` should have a snake case name [INFO] [stderr] --> src/contract.rs:1271:9 [INFO] [stderr] | [INFO] [stderr] 1271 | let collateralDeltaUsd = token_to_usd_min( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collateral_delta_usd` [INFO] [stderr] [INFO] [stderr] warning: variable `reserveDelta` should have a snake case name [INFO] [stderr] --> src/contract.rs:1293:9 [INFO] [stderr] | [INFO] [stderr] 1293 | let reserveDelta = usdToTokenMax( [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_delta` [INFO] [stderr] [INFO] [stderr] warning: variable `globalShortSizes` should have a snake case name [INFO] [stderr] --> src/contract.rs:1332:13 [INFO] [stderr] | [INFO] [stderr] 1332 | let globalShortSizes = GLOBALSHORTSIZE.load(_deps.storage, _indexToken.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `global_short_sizes` [INFO] [stderr] [INFO] [stderr] warning: variable `globalShortAveragePrices` should have a snake case name [INFO] [stderr] --> src/contract.rs:1336:17 [INFO] [stderr] | [INFO] [stderr] 1336 | let globalShortAveragePrices = get_next_global_short_average_price( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `global_short_average_prices` [INFO] [stderr] [INFO] [stderr] warning: function `decreasePosition` should have a snake case name [INFO] [stderr] --> src/contract.rs:1355:8 [INFO] [stderr] | [INFO] [stderr] 1355 | pub fn decreasePosition( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrease_position` [INFO] [stderr] [INFO] [stderr] warning: variable `_collateralToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:1360:5 [INFO] [stderr] | [INFO] [stderr] 1360 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_indexToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:1361:5 [INFO] [stderr] | [INFO] [stderr] 1361 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_collateralDelta` should have a snake case name [INFO] [stderr] --> src/contract.rs:1362:5 [INFO] [stderr] | [INFO] [stderr] 1362 | _collateralDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stderr] [INFO] [stderr] warning: variable `_sizeDelta` should have a snake case name [INFO] [stderr] --> src/contract.rs:1363:5 [INFO] [stderr] | [INFO] [stderr] 1363 | _sizeDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stderr] [INFO] [stderr] warning: variable `_isLong` should have a snake case name [INFO] [stderr] --> src/contract.rs:1364:5 [INFO] [stderr] | [INFO] [stderr] 1364 | _isLong: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stderr] [INFO] [stderr] warning: variable `reserveDelta` should have a snake case name [INFO] [stderr] --> src/contract.rs:1387:9 [INFO] [stderr] | [INFO] [stderr] 1387 | let reserveDelta: Uint128 = position.reserveAmount * _sizeDelta / position.size; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_delta` [INFO] [stderr] [INFO] [stderr] warning: function `_reduceCollateral` should have a snake case name [INFO] [stderr] --> src/contract.rs:1516:8 [INFO] [stderr] | [INFO] [stderr] 1516 | pub fn _reduceCollateral( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_reduce_collateral` [INFO] [stderr] [INFO] [stderr] warning: variable `_collateralToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:1521:5 [INFO] [stderr] | [INFO] [stderr] 1521 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_indexToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:1522:5 [INFO] [stderr] | [INFO] [stderr] 1522 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_collateralDelta` should have a snake case name [INFO] [stderr] --> src/contract.rs:1523:5 [INFO] [stderr] | [INFO] [stderr] 1523 | _collateralDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stderr] [INFO] [stderr] warning: variable `_sizeDelta` should have a snake case name [INFO] [stderr] --> src/contract.rs:1524:5 [INFO] [stderr] | [INFO] [stderr] 1524 | _sizeDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stderr] [INFO] [stderr] warning: variable `_isLong` should have a snake case name [INFO] [stderr] --> src/contract.rs:1525:5 [INFO] [stderr] | [INFO] [stderr] 1525 | _isLong: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stderr] [INFO] [stderr] warning: variable `hasProfit` should have a snake case name [INFO] [stderr] --> src/contract.rs:1552:9 [INFO] [stderr] | [INFO] [stderr] 1552 | let hasProfit: bool; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `has_profit` [INFO] [stderr] [INFO] [stderr] warning: variable `adjustedDelta` should have a snake case name [INFO] [stderr] --> src/contract.rs:1553:9 [INFO] [stderr] | [INFO] [stderr] 1553 | let adjustedDelta: Uint128; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `adjusted_delta` [INFO] [stderr] [INFO] [stderr] warning: variable `_hasProfit` should have a snake case name [INFO] [stderr] --> src/contract.rs:1555:10 [INFO] [stderr] | [INFO] [stderr] 1555 | let (_hasProfit, delta) = get_delta( [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_has_profit` [INFO] [stderr] [INFO] [stderr] warning: variable `usdtOut` should have a snake case name [INFO] [stderr] --> src/contract.rs:1569:13 [INFO] [stderr] | [INFO] [stderr] 1569 | let mut usdtOut = Uint128::zero(); [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `usdt_out` [INFO] [stderr] [INFO] [stderr] warning: variable `tokenAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:1577:17 [INFO] [stderr] | [INFO] [stderr] 1577 | let tokenAmount = usd_to_token_min( [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `tokenAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:1598:17 [INFO] [stderr] | [INFO] [stderr] 1598 | let tokenAmount = usd_to_token_min( [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `token_amount` [INFO] [stderr] [INFO] [stderr] warning: function `liquidatePosition` should have a snake case name [INFO] [stderr] --> src/contract.rs:1636:8 [INFO] [stderr] | [INFO] [stderr] 1636 | pub fn liquidatePosition( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `liquidate_position` [INFO] [stderr] [INFO] [stderr] warning: variable `_collateralToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:1641:5 [INFO] [stderr] | [INFO] [stderr] 1641 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_indexToken` should have a snake case name [INFO] [stderr] --> src/contract.rs:1642:5 [INFO] [stderr] | [INFO] [stderr] 1642 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_isLong` should have a snake case name [INFO] [stderr] --> src/contract.rs:1643:5 [INFO] [stderr] | [INFO] [stderr] 1643 | _isLong: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stderr] [INFO] [stderr] warning: variable `liquidationState` should have a snake case name [INFO] [stderr] --> src/contract.rs:1671:9 [INFO] [stderr] | [INFO] [stderr] 1671 | let liquidationState: Uint128; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `liquidation_state` [INFO] [stderr] [INFO] [stderr] warning: variable `marginFees` should have a snake case name [INFO] [stderr] --> src/contract.rs:1672:9 [INFO] [stderr] | [INFO] [stderr] 1672 | let marginFees: Uint128; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `margin_fees` [INFO] [stderr] [INFO] [stderr] warning: variable `feeTokens` should have a snake case name [INFO] [stderr] --> src/contract.rs:1704:9 [INFO] [stderr] | [INFO] [stderr] 1704 | let feeTokens = usd_to_token_min( [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `fee_tokens` [INFO] [stderr] [INFO] [stderr] warning: variable `feeReserves` should have a snake case name [INFO] [stderr] --> src/contract.rs:1711:9 [INFO] [stderr] | [INFO] [stderr] 1711 | let feeReserves = FEERESERVED.load(_deps.storage, _collateralToken.clone())?; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stderr] [INFO] [stderr] warning: variable `markPrice` should have a snake case name [INFO] [stderr] --> src/contract.rs:1748:9 [INFO] [stderr] | [INFO] [stderr] 1748 | let markPrice: Uint128; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `mark_price` [INFO] [stderr] [INFO] [stderr] warning: function `get_Utilisationsition_key` should have a snake case name [INFO] [stderr] --> src/contract.rs:1824:8 [INFO] [stderr] | [INFO] [stderr] 1824 | pub fn get_Utilisationsition_key(_deps: DepsMut, _token: Addr) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_utilisationsition_key` [INFO] [stderr] [INFO] [stderr] warning: variable `poolAmount` should have a snake case name [INFO] [stderr] --> src/contract.rs:1825:9 [INFO] [stderr] | [INFO] [stderr] 1825 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `reservedAmounts` should have a snake case name [INFO] [stderr] --> src/contract.rs:1830:9 [INFO] [stderr] | [INFO] [stderr] 1830 | let reservedAmounts = RESERVEDAMOUNTS.load(_deps.storage, _token)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserved_amounts` [INFO] [stderr] [INFO] [stderr] warning: function `_increaseUsdgAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn _increaseUsdgAmount( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `maxUsdgAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | let maxUsdgAmount = MAXUSDGAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: function `_decreaseUsdgAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn _decreaseUsdgAmount( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: function `_increasePoolAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:144:8 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn _increasePoolAmount( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_pool_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `poolAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `_poolAmount_next` should have a snake case name [INFO] [stderr] --> src/helpers.rs:155:9 [INFO] [stderr] | [INFO] [stderr] 155 | let _poolAmount_next = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_pool_amount_next` [INFO] [stderr] [INFO] [stderr] warning: function `updateCumulativeFundingRate` should have a snake case name [INFO] [stderr] --> src/helpers.rs:165:8 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn updateCumulativeFundingRate( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_cumulative_funding_rate` [INFO] [stderr] [INFO] [stderr] warning: function `getBuyUsdgFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/helpers.rs:190:8 [INFO] [stderr] | [INFO] [stderr] 190 | pub fn getBuyUsdgFeeBasisPoints( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_buy_usdg_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_usdgAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:195:5 [INFO] [stderr] | [INFO] [stderr] 195 | _usdgAmount: Uint128, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: function `getSellUsdgFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/helpers.rs:199:8 [INFO] [stderr] | [INFO] [stderr] 199 | pub fn getSellUsdgFeeBasisPoints( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sell_usdg_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_usdgAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 204 | _usdgAmount: Uint128, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: function `getSwapFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/helpers.rs:209:8 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn getSwapFeeBasisPoints( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_swap_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_usdgAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | _usdgAmount: Uint128, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: function `_decreasePoolAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:220:8 [INFO] [stderr] | [INFO] [stderr] 220 | pub fn _decreasePoolAmount( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_pool_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `poolAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:227:9 [INFO] [stderr] | [INFO] [stderr] 227 | let poolAmount = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `poolAmount_next` should have a snake case name [INFO] [stderr] --> src/helpers.rs:231:9 [INFO] [stderr] | [INFO] [stderr] 231 | let poolAmount_next = POOLAMOUNT.load(_deps.storage, _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pool_amount_next` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/helpers.rs:248:5 [INFO] [stderr] | [INFO] [stderr] 248 | TOKENBALANCE.save(_deps.storage, _address, &bal); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 248 | let _ = TOKENBALANCE.save(_deps.storage, _address, &bal); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: function `_validateTokens` should have a snake case name [INFO] [stderr] --> src/helpers.rs:252:8 [INFO] [stderr] | [INFO] [stderr] 252 | pub fn _validateTokens( [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_validate_tokens` [INFO] [stderr] [INFO] [stderr] warning: variable `feeUsd` should have a snake case name [INFO] [stderr] --> src/helpers.rs:449:13 [INFO] [stderr] | [INFO] [stderr] 449 | let mut feeUsd = get_position_fee( [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `fee_usd` [INFO] [stderr] [INFO] [stderr] warning: variable `fundingFee` should have a snake case name [INFO] [stderr] --> src/helpers.rs:456:9 [INFO] [stderr] | [INFO] [stderr] 456 | let fundingFee = get_funding_fee( [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `funding_fee` [INFO] [stderr] [INFO] [stderr] warning: variable `feeTokens` should have a snake case name [INFO] [stderr] --> src/helpers.rs:467:9 [INFO] [stderr] | [INFO] [stderr] 467 | let feeTokens: Uint128 = Uint128::new(usd_to_token_min( [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `fee_tokens` [INFO] [stderr] [INFO] [stderr] warning: variable `feeReserves` should have a snake case name [INFO] [stderr] --> src/helpers.rs:475:9 [INFO] [stderr] | [INFO] [stderr] 475 | let feeReserves = FEERESERVED.load(deps.storage, _collateral_token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fee_reserves` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/helpers.rs:477:5 [INFO] [stderr] | [INFO] [stderr] 477 | / FEERESERVED.save( [INFO] [stderr] 478 | | deps.storage, [INFO] [stderr] 479 | | _collateral_token.clone(), [INFO] [stderr] 480 | | &(feeReserves + feeTokens), [INFO] [stderr] 481 | | ); [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 477 | let _ = FEERESERVED.save( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: function `usdToTokenMax` should have a snake case name [INFO] [stderr] --> src/helpers.rs:518:8 [INFO] [stderr] | [INFO] [stderr] 518 | pub fn usdToTokenMax( [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `usd_to_token_max` [INFO] [stderr] [INFO] [stderr] warning: variable `_usdAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:523:5 [INFO] [stderr] | [INFO] [stderr] 523 | _usdAmount: Uint128, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_usd_amount` [INFO] [stderr] [INFO] [stderr] warning: function `_increaseReservedAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:534:8 [INFO] [stderr] | [INFO] [stderr] 534 | pub fn _increaseReservedAmount( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_reserved_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `_reserveDelta` should have a snake case name [INFO] [stderr] --> src/helpers.rs:537:5 [INFO] [stderr] | [INFO] [stderr] 537 | _reserveDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_reserve_delta` [INFO] [stderr] [INFO] [stderr] warning: function `_increaseGuaranteedUsd` should have a snake case name [INFO] [stderr] --> src/helpers.rs:542:8 [INFO] [stderr] | [INFO] [stderr] 542 | pub fn _increaseGuaranteedUsd( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_increase_guaranteed_usd` [INFO] [stderr] [INFO] [stderr] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stderr] --> src/helpers.rs:547:13 [INFO] [stderr] | [INFO] [stderr] 547 | let mut guaranteedUsd = GUARANTEEUSD.load(deps.storage, _collateral_token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/helpers.rs:550:5 [INFO] [stderr] | [INFO] [stderr] 550 | GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 550 | let _ = GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: function `_decreaseGuaranteedUsd` should have a snake case name [INFO] [stderr] --> src/helpers.rs:558:8 [INFO] [stderr] | [INFO] [stderr] 558 | pub fn _decreaseGuaranteedUsd( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_guaranteed_usd` [INFO] [stderr] [INFO] [stderr] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stderr] --> src/helpers.rs:563:13 [INFO] [stderr] | [INFO] [stderr] 563 | let mut guaranteedUsd = GUARANTEEUSD.load(deps.storage, _collateral_token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/helpers.rs:566:5 [INFO] [stderr] | [INFO] [stderr] 566 | GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 566 | let _ = GUARANTEEUSD.save(deps.storage, _collateral_token.clone(), &guaranteedUsd); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: function `_decreaseReservedAmount` should have a snake case name [INFO] [stderr] --> src/helpers.rs:603:8 [INFO] [stderr] | [INFO] [stderr] 603 | pub fn _decreaseReservedAmount( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_reserved_amount` [INFO] [stderr] [INFO] [stderr] warning: variable `guaranteedUsd` should have a snake case name [INFO] [stderr] --> src/helpers.rs:608:13 [INFO] [stderr] | [INFO] [stderr] 608 | let mut guaranteedUsd = RESERVEDAMOUNTS.load(deps.storage, _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `guaranteed_usd` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/helpers.rs:611:5 [INFO] [stderr] | [INFO] [stderr] 611 | RESERVEDAMOUNTS.save(deps.storage, _token.clone(), &guaranteedUsd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 611 | let _ = RESERVEDAMOUNTS.save(deps.storage, _token.clone(), &guaranteedUsd); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: function `_decreaseGlobalShortSize` should have a snake case name [INFO] [stderr] --> src/helpers.rs:618:8 [INFO] [stderr] | [INFO] [stderr] 618 | pub fn _decreaseGlobalShortSize( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_decrease_global_short_size` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/helpers.rs:625:9 [INFO] [stderr] | [INFO] [stderr] 625 | GLOBALSHORTSIZE.save(_deps.storage, _token, &Uint128::zero()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 625 | let _ = GLOBALSHORTSIZE.save(_deps.storage, _token, &Uint128::zero()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: function `validLiquidation` should have a snake case name [INFO] [stderr] --> src/helpers.rs:633:8 [INFO] [stderr] | [INFO] [stderr] 633 | pub fn validLiquidation( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_liquidation` [INFO] [stderr] [INFO] [stderr] warning: variable `_collateralToken` should have a snake case name [INFO] [stderr] --> src/helpers.rs:638:5 [INFO] [stderr] | [INFO] [stderr] 638 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_indexToken` should have a snake case name [INFO] [stderr] --> src/helpers.rs:639:5 [INFO] [stderr] | [INFO] [stderr] 639 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_isLong` should have a snake case name [INFO] [stderr] --> src/helpers.rs:640:5 [INFO] [stderr] | [INFO] [stderr] 640 | _isLong: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stderr] [INFO] [stderr] warning: function `getRedemptionCollateral` should have a snake case name [INFO] [stderr] --> src/helpers.rs:646:8 [INFO] [stderr] | [INFO] [stderr] 646 | pub fn getRedemptionCollateral( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_collateral` [INFO] [stderr] [INFO] [stderr] warning: variable `stableTokens` should have a snake case name [INFO] [stderr] --> src/helpers.rs:652:9 [INFO] [stderr] | [INFO] [stderr] 652 | let stableTokens = STABLETOKEN.load(_deps.storage, _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stable_tokens` [INFO] [stderr] [INFO] [stderr] warning: variable `reservedAmounts` should have a snake case name [INFO] [stderr] --> src/helpers.rs:669:9 [INFO] [stderr] | [INFO] [stderr] 669 | let reservedAmounts = RESERVEDAMOUNTS.load(_deps.storage, _token.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserved_amounts` [INFO] [stderr] [INFO] [stderr] warning: function `getRedemptionCollateralUsd` should have a snake case name [INFO] [stderr] --> src/helpers.rs:675:8 [INFO] [stderr] | [INFO] [stderr] 675 | pub fn getRedemptionCollateralUsd( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_redemption_collateral_usd` [INFO] [stderr] [INFO] [stderr] warning: variable `RedemptionCollateral` should have a snake case name [INFO] [stderr] --> src/helpers.rs:681:9 [INFO] [stderr] | [INFO] [stderr] 681 | let RedemptionCollateral = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `redemption_collateral` [INFO] [stderr] [INFO] [stderr] warning: function `getPositionFee` should have a snake case name [INFO] [stderr] --> src/helpers.rs:694:8 [INFO] [stderr] | [INFO] [stderr] 694 | pub fn getPositionFee( [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_position_fee` [INFO] [stderr] [INFO] [stderr] warning: variable `_collateralToken` should have a snake case name [INFO] [stderr] --> src/helpers.rs:699:5 [INFO] [stderr] | [INFO] [stderr] 699 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_indexToken` should have a snake case name [INFO] [stderr] --> src/helpers.rs:700:5 [INFO] [stderr] | [INFO] [stderr] 700 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: variable `_isLong` should have a snake case name [INFO] [stderr] --> src/helpers.rs:701:5 [INFO] [stderr] | [INFO] [stderr] 701 | _isLong: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stderr] [INFO] [stderr] warning: variable `_sizeDelta` should have a snake case name [INFO] [stderr] --> src/helpers.rs:702:5 [INFO] [stderr] | [INFO] [stderr] 702 | _sizeDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stderr] [INFO] [stderr] warning: function `getFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/helpers.rs:707:8 [INFO] [stderr] | [INFO] [stderr] 707 | pub fn getFeeBasisPoints( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_usdgDelta` should have a snake case name [INFO] [stderr] --> src/helpers.rs:712:5 [INFO] [stderr] | [INFO] [stderr] 712 | _usdgDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_usdg_delta` [INFO] [stderr] [INFO] [stderr] warning: variable `_feeBasisPoints` should have a snake case name [INFO] [stderr] --> src/helpers.rs:713:5 [INFO] [stderr] | [INFO] [stderr] 713 | _feeBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: variable `_taxBasisPoints` should have a snake case name [INFO] [stderr] --> src/helpers.rs:714:5 [INFO] [stderr] | [INFO] [stderr] 714 | _taxBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stderr] [INFO] [stderr] warning: structure field `_priceFeed` should have a snake case name [INFO] [stderr] --> src/msg.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub _priceFeed: Addr, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_price_feed` [INFO] [stderr] [INFO] [stderr] warning: structure field `_liquidationFeeUsd` should have a snake case name [INFO] [stderr] --> src/msg.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub _liquidationFeeUsd: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stderr] [INFO] [stderr] warning: structure field `_fundingRateFactor` should have a snake case name [INFO] [stderr] --> src/msg.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub _fundingRateFactor: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stderr] [INFO] [stderr] warning: structure field `_stableFundingRateFactor` should have a snake case name [INFO] [stderr] --> src/msg.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub _stableFundingRateFactor: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stderr] [INFO] [stderr] warning: structure field `_bankAddr` should have a snake case name [INFO] [stderr] --> src/msg.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub _bankAddr: Addr, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `_bank_addr` [INFO] [stderr] [INFO] [stderr] warning: structure field `_utilisAddr` should have a snake case name [INFO] [stderr] --> src/msg.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | _utilisAddr: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_utilis_addr` [INFO] [stderr] [INFO] [stderr] warning: structure field `Inmanagermode` should have a snake case name [INFO] [stderr] --> src/msg.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | Inmanagermode: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `inmanagermode` [INFO] [stderr] [INFO] [stderr] warning: structure field `InPrivateLiqMode` should have a snake case name [INFO] [stderr] --> src/msg.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | InPrivateLiqMode: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `in_private_liq_mode` [INFO] [stderr] [INFO] [stderr] warning: structure field `is_Leverage_enable` should have a snake case name [INFO] [stderr] --> src/msg.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | is_Leverage_enable: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_leverage_enable` [INFO] [stderr] [INFO] [stderr] warning: structure field `_maxLeverage` should have a snake case name [INFO] [stderr] --> src/msg.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | _maxLeverage: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_leverage` [INFO] [stderr] [INFO] [stderr] warning: structure field `_taxBasisPoints` should have a snake case name [INFO] [stderr] --> src/msg.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | _taxBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_tax_basis_points` [INFO] [stderr] [INFO] [stderr] warning: structure field `_stableTaxBasisPoints` should have a snake case name [INFO] [stderr] --> src/msg.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | _stableTaxBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_tax_basis_points` [INFO] [stderr] [INFO] [stderr] warning: structure field `_mintBurnFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/msg.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | _mintBurnFeeBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_mint_burn_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: structure field `_swapFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/msg.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | _swapFeeBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_swap_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: structure field `_stableSwapFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/msg.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | _stableSwapFeeBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_swap_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: structure field `_marginFeeBasisPoints` should have a snake case name [INFO] [stderr] --> src/msg.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | _marginFeeBasisPoints: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_margin_fee_basis_points` [INFO] [stderr] [INFO] [stderr] warning: structure field `_liquidationFeeUsd` should have a snake case name [INFO] [stderr] --> src/msg.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | _liquidationFeeUsd: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_liquidation_fee_usd` [INFO] [stderr] [INFO] [stderr] warning: structure field `_minProfitTime` should have a snake case name [INFO] [stderr] --> src/msg.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | _minProfitTime: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_time` [INFO] [stderr] [INFO] [stderr] warning: structure field `_hasDynamicFees` should have a snake case name [INFO] [stderr] --> src/msg.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | _hasDynamicFees: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_has_dynamic_fees` [INFO] [stderr] [INFO] [stderr] warning: structure field `_fundingInterval` should have a snake case name [INFO] [stderr] --> src/msg.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | _fundingInterval: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_interval` [INFO] [stderr] [INFO] [stderr] warning: structure field `_fundingRateFactor` should have a snake case name [INFO] [stderr] --> src/msg.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | _fundingRateFactor: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_funding_rate_factor` [INFO] [stderr] [INFO] [stderr] warning: structure field `_stableFundingRateFactor` should have a snake case name [INFO] [stderr] --> src/msg.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | _stableFundingRateFactor: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_stable_funding_rate_factor` [INFO] [stderr] [INFO] [stderr] warning: structure field `_tokenDecimals` should have a snake case name [INFO] [stderr] --> src/msg.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | _tokenDecimals: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_decimals` [INFO] [stderr] [INFO] [stderr] warning: structure field `_tokenWeight` should have a snake case name [INFO] [stderr] --> src/msg.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | _tokenWeight: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_token_weight` [INFO] [stderr] [INFO] [stderr] warning: structure field `_minProfitBps` should have a snake case name [INFO] [stderr] --> src/msg.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | _minProfitBps: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_min_profit_bps` [INFO] [stderr] [INFO] [stderr] warning: structure field `_maxUsdgAmount` should have a snake case name [INFO] [stderr] --> src/msg.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | _maxUsdgAmount: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_max_usdg_amount` [INFO] [stderr] [INFO] [stderr] warning: structure field `_isStable` should have a snake case name [INFO] [stderr] --> src/msg.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | _isStable: bool, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `_is_stable` [INFO] [stderr] [INFO] [stderr] warning: structure field `_isShortable` should have a snake case name [INFO] [stderr] --> src/msg.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | _isShortable: bool, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_is_shortable` [INFO] [stderr] [INFO] [stderr] warning: structure field `_newVault` should have a snake case name [INFO] [stderr] --> src/msg.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | _newVault: Addr, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `_new_vault` [INFO] [stderr] [INFO] [stderr] warning: structure field `_collateralToken` should have a snake case name [INFO] [stderr] --> src/msg.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: structure field `_indexToken` should have a snake case name [INFO] [stderr] --> src/msg.rs:139:9 [INFO] [stderr] | [INFO] [stderr] 139 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: structure field `_tokenIn` should have a snake case name [INFO] [stderr] --> src/msg.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | _tokenIn: Addr, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `_token_in` [INFO] [stderr] [INFO] [stderr] warning: structure field `_tokenOut` should have a snake case name [INFO] [stderr] --> src/msg.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | _tokenOut: Addr, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `_token_out` [INFO] [stderr] [INFO] [stderr] warning: structure field `_collateralToken` should have a snake case name [INFO] [stderr] --> src/msg.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: structure field `_indexToken` should have a snake case name [INFO] [stderr] --> src/msg.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stderr] --> src/msg.rs:152:9 [INFO] [stderr] | [INFO] [stderr] 152 | _sizeDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stderr] [INFO] [stderr] warning: structure field `_isLong` should have a snake case name [INFO] [stderr] --> src/msg.rs:153:9 [INFO] [stderr] | [INFO] [stderr] 153 | _isLong: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stderr] [INFO] [stderr] warning: structure field `_collateralToken` should have a snake case name [INFO] [stderr] --> src/msg.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: structure field `_indexToken` should have a snake case name [INFO] [stderr] --> src/msg.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: structure field `_collateralDelta` should have a snake case name [INFO] [stderr] --> src/msg.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | _collateralDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stderr] [INFO] [stderr] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stderr] --> src/msg.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | _sizeDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stderr] [INFO] [stderr] warning: structure field `_isLong` should have a snake case name [INFO] [stderr] --> src/msg.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | _isLong: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stderr] [INFO] [stderr] warning: structure field `_collateralToken` should have a snake case name [INFO] [stderr] --> src/msg.rs:168:9 [INFO] [stderr] | [INFO] [stderr] 168 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: structure field `_indexToken` should have a snake case name [INFO] [stderr] --> src/msg.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 169 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: structure field `_collateralDelta` should have a snake case name [INFO] [stderr] --> src/msg.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | _collateralDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_delta` [INFO] [stderr] [INFO] [stderr] warning: structure field `_sizeDelta` should have a snake case name [INFO] [stderr] --> src/msg.rs:171:9 [INFO] [stderr] | [INFO] [stderr] 171 | _sizeDelta: Uint128, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `_size_delta` [INFO] [stderr] [INFO] [stderr] warning: structure field `_isLong` should have a snake case name [INFO] [stderr] --> src/msg.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | _isLong: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stderr] [INFO] [stderr] warning: structure field `_collateralToken` should have a snake case name [INFO] [stderr] --> src/msg.rs:177:9 [INFO] [stderr] | [INFO] [stderr] 177 | _collateralToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_collateral_token` [INFO] [stderr] [INFO] [stderr] warning: structure field `_indexToken` should have a snake case name [INFO] [stderr] --> src/msg.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | _indexToken: Addr, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_index_token` [INFO] [stderr] [INFO] [stderr] warning: structure field `_isLong` should have a snake case name [INFO] [stderr] --> src/msg.rs:179:9 [INFO] [stderr] | [INFO] [stderr] 179 | _isLong: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `_is_long` [INFO] [stderr] [INFO] [stderr] warning: function `all_whiteListed_token` should have a snake case name [INFO] [stderr] --> src/query.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn all_whiteListed_token(_deps: Deps) -> StdResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_white_listed_token` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/query.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | validate(position.collateral > Uint128::zero(), "err"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 108 | let _ = validate(position.collateral > Uint128::zero(), "err"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: structure field `averagePrice` should have a snake case name [INFO] [stderr] --> src/state.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub averagePrice: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `average_price` [INFO] [stderr] [INFO] [stderr] warning: structure field `entryFundingRate` should have a snake case name [INFO] [stderr] --> src/state.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub entryFundingRate: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `entry_funding_rate` [INFO] [stderr] [INFO] [stderr] warning: structure field `reserveAmount` should have a snake case name [INFO] [stderr] --> src/state.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub reserveAmount: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `reserve_amount` [INFO] [stderr] [INFO] [stderr] warning: structure field `realisedPnL` should have a snake case name [INFO] [stderr] --> src/state.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub realisedPnL: Int128, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `realised_pn_l` [INFO] [stderr] [INFO] [stderr] warning: structure field `lastIncreasedTime` should have a snake case name [INFO] [stderr] --> src/state.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub lastIncreasedTime: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_increased_time` [INFO] [stderr] [INFO] [stderr] warning: `vault` (lib) generated 242 warnings [INFO] [stderr] warning: `vault` (lib test) generated 242 warnings (242 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vault-b7502c0f0d8cb202) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/schema.rs (/opt/rustwide/target/debug/deps/schema-d1cee6f5bce3f79f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests vault [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "327dbe3d0817929591ea67f065a2fce48361ac5b45c22126d2ff2e2ec8825907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "327dbe3d0817929591ea67f065a2fce48361ac5b45c22126d2ff2e2ec8825907", kill_on_drop: false }` [INFO] [stdout] 327dbe3d0817929591ea67f065a2fce48361ac5b45c22126d2ff2e2ec8825907