[INFO] cloning repository https://github.com/SolanaNFT812/Lottery-Smart-Contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SolanaNFT812/Lottery-Smart-Contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolanaNFT812%2FLottery-Smart-Contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolanaNFT812%2FLottery-Smart-Contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d791286e91e0bdb55afea7cbbc25f1959cd5dee9 [INFO] checking SolanaNFT812/Lottery-Smart-Contract/d791286e91e0bdb55afea7cbbc25f1959cd5dee9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolanaNFT812%2FLottery-Smart-Contract" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SolanaNFT812/Lottery-Smart-Contract on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/SolanaNFT812/Lottery-Smart-Contract [INFO] finished tweaking git repo https://github.com/SolanaNFT812/Lottery-Smart-Contract [INFO] tweaked toml for git repo https://github.com/SolanaNFT812/Lottery-Smart-Contract written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SolanaNFT812/Lottery-Smart-Contract 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e2ee5fb3d12b639985f8cfe8925ff7ed55c85bdd44e5101a1e7b3fe6932d42b [INFO] running `Command { std: "docker" "start" "-a" "4e2ee5fb3d12b639985f8cfe8925ff7ed55c85bdd44e5101a1e7b3fe6932d42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e2ee5fb3d12b639985f8cfe8925ff7ed55c85bdd44e5101a1e7b3fe6932d42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2ee5fb3d12b639985f8cfe8925ff7ed55c85bdd44e5101a1e7b3fe6932d42b", kill_on_drop: false }` [INFO] [stdout] 4e2ee5fb3d12b639985f8cfe8925ff7ed55c85bdd44e5101a1e7b3fe6932d42b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35ddfdc928425da14121f73c5c5e053ade44d904fa510d6755af9a9f87e89ebc [INFO] running `Command { std: "docker" "start" "-a" "35ddfdc928425da14121f73c5c5e053ade44d904fa510d6755af9a9f87e89ebc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling hex-literal v0.3.1 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling fff v0.2.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling fff_derive v0.2.2 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking groupy v0.3.1 [INFO] [stderr] Checking paired v0.21.0 [INFO] [stderr] Checking drand-verify v0.1.0 [INFO] [stderr] Checking serde-json-wasm v0.2.1 [INFO] [stderr] Checking cosmwasm-std v0.12.2 [INFO] [stderr] Checking cosmwasm-schema v0.12.2 [INFO] [stderr] Checking cosmwasm-storage v0.12.2 [INFO] [stderr] Checking lottery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `QueryMsg` [INFO] [stdout] --> src/contract.rs:1410:42 [INFO] [stdout] | [INFO] [stdout] 1410 | use crate::msg::{HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BankQuerier` [INFO] [stdout] --> src/contract.rs:1412:49 [INFO] [stdout] | [INFO] [stdout] 1412 | mock_dependencies, mock_env, mock_info, BankQuerier, MockApi, MockQuerier, MockStorage, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute`, `MessageInfo`, `QuerierResult`, `Storage`, `coins`, and `from_binary` [INFO] [stdout] --> src/contract.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1416 | coins, from_binary, Api, Attribute, Binary, CanonicalAddr, CosmosMsg, Decimal, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 1417 | FullDelegation, HumanAddr, MessageInfo, OwnedDeps, QuerierResult, StdError::NotFound, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 1418 | Storage, Uint128, Validator, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bucket_read`, `bucket`, `singleton_read`, and `singleton` [INFO] [stdout] --> src/contract.rs:1420:28 [INFO] [stdout] | [INFO] [stdout] 1420 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> src/contract.rs:1421:9 [INFO] [stdout] | [INFO] [stdout] 1421 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/contract.rs:1422:17 [INFO] [stdout] | [INFO] [stdout] 1422 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/contract.rs:1423:9 [INFO] [stdout] | [INFO] [stdout] 1423 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/contract.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1424 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `g1_from_fixed`, `g1_from_variable`, and `verify` [INFO] [stdout] --> src/contract.rs:1427:24 [INFO] [stdout] | [INFO] [stdout] 1427 | use drand_verify::{g1_from_fixed, g1_from_variable, verify}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> src/contract.rs:1428:9 [INFO] [stdout] | [INFO] [stdout] 1428 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm_std::attr` [INFO] [stdout] --> src/contract.rs:1600:13 [INFO] [stdout] | [INFO] [stdout] 1600 | use cosmwasm_std::attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm_std::attr` [INFO] [stdout] --> src/contract.rs:1780:13 [INFO] [stdout] | [INFO] [stdout] 1780 | use cosmwasm_std::attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm_std::attr` [INFO] [stdout] --> src/contract.rs:2100:13 [INFO] [stdout] | [INFO] [stdout] 2100 | use cosmwasm_std::attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm_std::attr` [INFO] [stdout] --> src/contract.rs:2235:13 [INFO] [stdout] | [INFO] [stdout] 2235 | use cosmwasm_std::attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm_std::attr` [INFO] [stdout] --> src/contract.rs:2360:13 [INFO] [stdout] | [INFO] [stdout] 2360 | use cosmwasm_std::attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm_std::attr` [INFO] [stdout] --> src/contract.rs:2596:13 [INFO] [stdout] | [INFO] [stdout] 2596 | use cosmwasm_std::attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:1634:17 [INFO] [stdout] | [INFO] [stdout] 1634 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:2225:17 [INFO] [stdout] | [INFO] [stdout] 2225 | let res = handle_ico(deps.as_mut(), mock_env(), info.clone()).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3216:13 [INFO] [stdout] | [INFO] [stdout] 3216 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3230:13 [INFO] [stdout] | [INFO] [stdout] 3230 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3244:13 [INFO] [stdout] | [INFO] [stdout] 3244 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3258:13 [INFO] [stdout] | [INFO] [stdout] 3258 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3272:13 [INFO] [stdout] | [INFO] [stdout] 3272 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3286:13 [INFO] [stdout] | [INFO] [stdout] 3286 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3300:13 [INFO] [stdout] | [INFO] [stdout] 3300 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3314:13 [INFO] [stdout] | [INFO] [stdout] 3314 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errMsg` [INFO] [stdout] --> src/contract.rs:3396:13 [INFO] [stdout] | [INFO] [stdout] 3396 | let errMsg = "lottery::state::PollInfoState".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errMsg` [INFO] [stdout] --> src/contract.rs:3399:38 [INFO] [stdout] | [INFO] [stdout] 3399 | Err(Std(NotFound { kind: errMsg, .. })) => {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3410:13 [INFO] [stdout] | [INFO] [stdout] 3410 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3417:13 [INFO] [stdout] | [INFO] [stdout] 3417 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:3481:13 [INFO] [stdout] | [INFO] [stdout] 3481 | let res = handle(deps.as_mut(), mock_env(), info.clone(), msg.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regexBuild` should have a snake case name [INFO] [stdout] --> src/contract.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let regexBuild = format!(r"\b[a-f0-9]{{{}}}\b", state.combinationLen); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `regex_build` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keyExist` should have a snake case name [INFO] [stdout] --> src/contract.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let keyExist = combination_storage(deps.storage).load(&combination.as_bytes()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `key_exist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `combinationStorage` should have a snake case name [INFO] [stdout] --> src/contract.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut combinationStorage = keyExist.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `combination_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validatorBalance` should have a snake case name [INFO] [stdout] --> src/contract.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let validatorBalance = deps [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `validator_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fromGenesis` should have a snake case name [INFO] [stdout] --> src/contract.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | let fromGenesis = state.blockTimePlay - state.drandGenesisTime; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `from_genesis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextRound` should have a snake case name [INFO] [stdout] --> src/contract.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | let nextRound = (fromGenesis as f64 / state.drandPeriod as f64) + 1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomnessHash` should have a snake case name [INFO] [stdout] --> src/contract.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | let randomnessHash = hex::encode(randomness); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `randomness_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winningCombination` should have a snake case name [INFO] [stdout] --> src/contract.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | let winningCombination = &randomnessHash[n..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `winning_combination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeForDrandWorker` should have a snake case name [INFO] [stdout] --> src/contract.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | let feeForDrandWorker = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_for_drand_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenHolderFeeReward` should have a snake case name [INFO] [stdout] --> src/contract.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let tokenHolderFeeReward = jackpot.mul(Decimal::percent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_holder_fee_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalFee` should have a snake case name [INFO] [stdout] --> src/contract.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | let totalFee = jackpot.mul(Decimal::percent( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `total_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jackpotAfter` should have a snake case name [INFO] [stdout] --> src/contract.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | let mut jackpotAfter = (jackpot - feeForDrandWorker).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataWinner` should have a snake case name [INFO] [stdout] --> src/contract.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | let mut dataWinner: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `data_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 372 | for winnerAddress in combination.addresses { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataWinner` should have a snake case name [INFO] [stdout] --> src/contract.rs:387:25 [INFO] [stdout] | [INFO] [stdout] 387 | let mut dataWinner: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `data_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 388 | for winnerAddress in combination.addresses { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataWinner` should have a snake case name [INFO] [stdout] --> src/contract.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | let mut dataWinner: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `data_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:404:21 [INFO] [stdout] | [INFO] [stdout] 404 | for winnerAddress in combination.addresses { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataWinner` should have a snake case name [INFO] [stdout] --> src/contract.rs:419:25 [INFO] [stdout] | [INFO] [stdout] 419 | let mut dataWinner: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `data_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:420:21 [INFO] [stdout] | [INFO] [stdout] 420 | for winnerAddress in combination.addresses { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataWinner` should have a snake case name [INFO] [stdout] --> src/contract.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | let mut dataWinner: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `data_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:436:21 [INFO] [stdout] | [INFO] [stdout] 436 | for winnerAddress in combination.addresses { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountToSend` should have a snake case name [INFO] [stdout] --> src/contract.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | let amountToSend = sent.u128() / state.denomDelegationDecimal.u128(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_to_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `balanceSender` should have a snake case name [INFO] [stdout] --> src/contract.rs:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | let balanceSender = deps [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `balance_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `balanceContract` should have a snake case name [INFO] [stdout] --> src/contract.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | let balanceContract = deps [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `balance_contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shareHolderPercentage` should have a snake case name [INFO] [stdout] --> src/contract.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | let shareHolderPercentage = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `share_holder_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | let mut newAddress = winner.winners.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jackpotAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | let mut jackpotAmount: Uint128 = Uint128(0); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ticketWinning` should have a snake case name [INFO] [stdout] --> src/contract.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | let mut ticketWinning: Uint128 = Uint128(0); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ticket_winning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerInfo` should have a snake case name [INFO] [stdout] --> src/contract.rs:720:13 [INFO] [stdout] | [INFO] [stdout] 720 | for winnerInfo in winner.winners.clone() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `winner_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddresses` should have a snake case name [INFO] [stdout] --> src/contract.rs:736:29 [INFO] [stdout] | [INFO] [stdout] 736 | let newAddresses = remove_from_storage(&deps, &info, &winner); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddresses` should have a snake case name [INFO] [stdout] --> src/contract.rs:753:29 [INFO] [stdout] | [INFO] [stdout] 753 | let newAddresses = remove_from_storage(&deps, &info, &winner); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddresses` should have a snake case name [INFO] [stdout] --> src/contract.rs:770:29 [INFO] [stdout] | [INFO] [stdout] 770 | let newAddresses = remove_from_storage(&deps, &info, &winner); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddresses` should have a snake case name [INFO] [stdout] --> src/contract.rs:787:29 [INFO] [stdout] | [INFO] [stdout] 787 | let newAddresses = remove_from_storage(&deps, &info, &winner); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddresses` should have a snake case name [INFO] [stdout] --> src/contract.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | let newAddresses = remove_from_storage(&deps, &info, &winner); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountToSend` should have a snake case name [INFO] [stdout] --> src/contract.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | let mut amountToSend: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_to_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ticketBalance` should have a snake case name [INFO] [stdout] --> src/contract.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | let ticketBalance = deps [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ticket_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prizePerRank` should have a snake case name [INFO] [stdout] --> src/contract.rs:892:5 [INFO] [stdout] | [INFO] [stdout] 892 | prizePerRank: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_per_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollId` should have a snake case name [INFO] [stdout] --> src/contract.rs:896:9 [INFO] [stdout] | [INFO] [stdout] 896 | let pollId = state.pollCount + 1; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proposalAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:912:13 [INFO] [stdout] | [INFO] [stdout] 912 | let mut proposalAmount: Uint128 = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proposal_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proposalPrizeRank` should have a snake case name [INFO] [stdout] --> src/contract.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | let mut proposalPrizeRank: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proposal_prize_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockTime` should have a snake case name [INFO] [stdout] --> src/contract.rs:971:18 [INFO] [stdout] | [INFO] [stdout] 971 | Some(blockTime) => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `block_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:984:18 [INFO] [stdout] | [INFO] [stdout] 984 | Some(minAmount) => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `min_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:997:18 [INFO] [stdout] | [INFO] [stdout] 997 | Some(minAmount) => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `min_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalPercentage` should have a snake case name [INFO] [stdout] --> src/contract.rs:1015:25 [INFO] [stdout] | [INFO] [stdout] 1015 | let mut totalPercentage = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockTime` should have a snake case name [INFO] [stdout] --> src/contract.rs:1042:18 [INFO] [stdout] | [INFO] [stdout] 1042 | Some(blockTime) => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `block_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proposalType` should have a snake case name [INFO] [stdout] --> src/contract.rs:915:9 [INFO] [stdout] | [INFO] [stdout] 915 | let proposalType = if let Proposal::HolderFeePercentage = proposal { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `proposal_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderToCanonical` should have a snake case name [INFO] [stdout] --> src/contract.rs:1056:9 [INFO] [stdout] | [INFO] [stdout] 1056 | let senderToCanonical = deps.api.canonical_address(&info.sender).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sender_to_canonical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPoll` should have a snake case name [INFO] [stdout] --> src/contract.rs:1058:9 [INFO] [stdout] | [INFO] [stdout] 1058 | let newPoll = PollInfoState { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollId` should have a snake case name [INFO] [stdout] --> src/contract.rs:1093:5 [INFO] [stdout] | [INFO] [stdout] 1093 | pollId: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:1115:25 [INFO] [stdout] | [INFO] [stdout] 1115 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:1122:25 [INFO] [stdout] | [INFO] [stdout] 1122 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollId` should have a snake case name [INFO] [stdout] --> src/contract.rs:1144:5 [INFO] [stdout] | [INFO] [stdout] 1144 | pollId: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:1163:17 [INFO] [stdout] | [INFO] [stdout] 1163 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `humanAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:1184:13 [INFO] [stdout] | [INFO] [stdout] 1184 | let humanAddress = deps.api.human_address(&address).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `human_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollId` should have a snake case name [INFO] [stdout] --> src/contract.rs:1202:5 [INFO] [stdout] | [INFO] [stdout] 1202 | pollId: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `yesWeight` should have a snake case name [INFO] [stdout] --> src/contract.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | let yesWeight = total_weight(&deps, &state, &store.yes_voters); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `yes_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `finalVoteWeightInPercentage` should have a snake case name [INFO] [stdout] --> src/contract.rs:1229:13 [INFO] [stdout] | [INFO] [stdout] 1229 | let mut finalVoteWeightInPercentage: u128 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `final_vote_weight_in_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `yesWeightByHundred` should have a snake case name [INFO] [stdout] --> src/contract.rs:1231:13 [INFO] [stdout] | [INFO] [stdout] 1231 | let yesWeightByHundred = yesWeight.u128() * 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `yes_weight_by_hundred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:1240:21 [INFO] [stdout] | [INFO] [stdout] 1240 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:1289:17 [INFO] [stdout] | [INFO] [stdout] 1289 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollId` should have a snake case name [INFO] [stdout] --> src/contract.rs:1376:27 [INFO] [stdout] | [INFO] [stdout] 1376 | fn query_poll(deps: Deps, pollId: u64) -> Result { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fromGenesis` should have a snake case name [INFO] [stdout] --> src/contract.rs:1398:9 [INFO] [stdout] | [INFO] [stdout] 1398 | let fromGenesis = state.blockTimePlay - state.drandGenesisTime; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `from_genesis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextRound` should have a snake case name [INFO] [stdout] --> src/contract.rs:1399:9 [INFO] [stdout] | [INFO] [stdout] 1399 | let nextRound = (fromGenesis as f64 / state.drandPeriod as f64) + 1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextRoundFormat` should have a snake case name [INFO] [stdout] --> src/contract.rs:1400:9 [INFO] [stdout] | [INFO] [stdout] 1400 | let nextRoundFormat = nextRound as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_round_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomTicket` should have a snake case name [INFO] [stdout] --> src/msg.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub denomTicket: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `denom_ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomDelegation` should have a snake case name [INFO] [stdout] --> src/msg.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub denomDelegation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `denom_delegation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomDelegationDecimal` should have a snake case name [INFO] [stdout] --> src/msg.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub denomDelegationDecimal: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `denom_delegation_decimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomShare` should have a snake case name [INFO] [stdout] --> src/msg.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub denomShare: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `denom_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `everyBlockHeight` should have a snake case name [INFO] [stdout] --> src/msg.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub everyBlockHeight: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `every_block_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `claimTicket` should have a snake case name [INFO] [stdout] --> src/msg.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub claimTicket: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `claim_ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `claimReward` should have a snake case name [INFO] [stdout] --> src/msg.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub claimReward: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `claim_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockTimePlay` should have a snake case name [INFO] [stdout] --> src/msg.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub blockTimePlay: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_time_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `everyBlockTimePlay` should have a snake case name [INFO] [stdout] --> src/msg.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub everyBlockTimePlay: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `every_block_time_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockClaim` should have a snake case name [INFO] [stdout] --> src/msg.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub blockClaim: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_claim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockIcoTimeframe` should have a snake case name [INFO] [stdout] --> src/msg.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub blockIcoTimeframe: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_ico_timeframe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `holdersRewards` should have a snake case name [INFO] [stdout] --> src/msg.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub holdersRewards: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `holders_rewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenHolderSupply` should have a snake case name [INFO] [stdout] --> src/msg.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub tokenHolderSupply: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_holder_supply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandPublicKey` should have a snake case name [INFO] [stdout] --> src/msg.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub drandPublicKey: Binary, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `drand_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandPeriod` should have a snake case name [INFO] [stdout] --> src/msg.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub drandPeriod: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `drand_period` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandGenesisTime` should have a snake case name [INFO] [stdout] --> src/msg.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub drandGenesisTime: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `drand_genesis_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `validatorMinAmountToAllowClaim` should have a snake case name [INFO] [stdout] --> src/msg.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub validatorMinAmountToAllowClaim: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `validator_min_amount_to_allow_claim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `delegatorMinAmountInDelegation` should have a snake case name [INFO] [stdout] --> src/msg.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub delegatorMinAmountInDelegation: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `delegator_min_amount_in_delegation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `combinationLen` should have a snake case name [INFO] [stdout] --> src/msg.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub combinationLen: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `combination_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `jackpotReward` should have a snake case name [INFO] [stdout] --> src/msg.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub jackpotReward: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `jackpotPercentageReward` should have a snake case name [INFO] [stdout] --> src/msg.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub jackpotPercentageReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_percentage_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenHolderPercentageFeeReward` should have a snake case name [INFO] [stdout] --> src/msg.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub tokenHolderPercentageFeeReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_holder_percentage_fee_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feeForDrandWorkerInPercentage` should have a snake case name [INFO] [stdout] --> src/msg.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub feeForDrandWorkerInPercentage: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_for_drand_worker_in_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prizeRankWinnerPercentage` should have a snake case name [INFO] [stdout] --> src/msg.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub prizeRankWinnerPercentage: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_rank_winner_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollEndHeight` should have a snake case name [INFO] [stdout] --> src/msg.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub pollEndHeight: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poll_end_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prizePerRank` should have a snake case name [INFO] [stdout] --> src/msg.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | prizePerRank: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_per_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollId` should have a snake case name [INFO] [stdout] --> src/msg.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | Vote { pollId: u64, approve: bool }, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollId` should have a snake case name [INFO] [stdout] --> src/msg.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | PresentProposal { pollId: u64 }, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollId` should have a snake case name [INFO] [stdout] --> src/msg.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | RejectProposal { pollId: u64 }, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/msg.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollId` should have a snake case name [INFO] [stdout] --> src/msg.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | GetPoll { pollId: u64 }, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/msg.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prizePerRank` should have a snake case name [INFO] [stdout] --> src/msg.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub prizePerRank: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_per_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nextRound` should have a snake case name [INFO] [stdout] --> src/msg.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub nextRound: u64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockTimePlay` should have a snake case name [INFO] [stdout] --> src/state.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub blockTimePlay: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_time_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `everyBlockTimePlay` should have a snake case name [INFO] [stdout] --> src/state.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub everyBlockTimePlay: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `every_block_time_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockClaim` should have a snake case name [INFO] [stdout] --> src/state.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub blockClaim: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_claim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockIcoTimeframe` should have a snake case name [INFO] [stdout] --> src/state.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub blockIcoTimeframe: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_ico_timeframe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `everyBlockHeight` should have a snake case name [INFO] [stdout] --> src/state.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub everyBlockHeight: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `every_block_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomTicket` should have a snake case name [INFO] [stdout] --> src/state.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub denomTicket: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `denom_ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomDelegation` should have a snake case name [INFO] [stdout] --> src/state.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub denomDelegation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `denom_delegation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomDelegationDecimal` should have a snake case name [INFO] [stdout] --> src/state.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub denomDelegationDecimal: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `denom_delegation_decimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomShare` should have a snake case name [INFO] [stdout] --> src/state.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub denomShare: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `denom_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `claimTicket` should have a snake case name [INFO] [stdout] --> src/state.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub claimTicket: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `claim_ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `claimReward` should have a snake case name [INFO] [stdout] --> src/state.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub claimReward: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `claim_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `holdersRewards` should have a snake case name [INFO] [stdout] --> src/state.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub holdersRewards: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `holders_rewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenHolderSupply` should have a snake case name [INFO] [stdout] --> src/state.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub tokenHolderSupply: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_holder_supply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandPublicKey` should have a snake case name [INFO] [stdout] --> src/state.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub drandPublicKey: Binary, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `drand_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandPeriod` should have a snake case name [INFO] [stdout] --> src/state.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub drandPeriod: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `drand_period` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandGenesisTime` should have a snake case name [INFO] [stdout] --> src/state.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub drandGenesisTime: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `drand_genesis_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `validatorMinAmountToAllowClaim` should have a snake case name [INFO] [stdout] --> src/state.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub validatorMinAmountToAllowClaim: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `validator_min_amount_to_allow_claim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `delegatorMinAmountInDelegation` should have a snake case name [INFO] [stdout] --> src/state.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub delegatorMinAmountInDelegation: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `delegator_min_amount_in_delegation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `combinationLen` should have a snake case name [INFO] [stdout] --> src/state.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub combinationLen: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `combination_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `jackpotReward` should have a snake case name [INFO] [stdout] --> src/state.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub jackpotReward: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `jackpotPercentageReward` should have a snake case name [INFO] [stdout] --> src/state.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub jackpotPercentageReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_percentage_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenHolderPercentageFeeReward` should have a snake case name [INFO] [stdout] --> src/state.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub tokenHolderPercentageFeeReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_holder_percentage_fee_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feeForDrandWorkerInPercentage` should have a snake case name [INFO] [stdout] --> src/state.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub feeForDrandWorkerInPercentage: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_for_drand_worker_in_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prizeRankWinnerPercentage` should have a snake case name [INFO] [stdout] --> src/state.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub prizeRankWinnerPercentage: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_rank_winner_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollCount` should have a snake case name [INFO] [stdout] --> src/state.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub pollCount: u64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `poll_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `holdersMaxPercentageReward` should have a snake case name [INFO] [stdout] --> src/state.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub holdersMaxPercentageReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `holders_max_percentage_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `workerDrandMaxPercentageReward` should have a snake case name [INFO] [stdout] --> src/state.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub workerDrandMaxPercentageReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `worker_drand_max_percentage_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollEndHeight` should have a snake case name [INFO] [stdout] --> src/state.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub pollEndHeight: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poll_end_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prizeRank` should have a snake case name [INFO] [stdout] --> src/state.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub prizeRank: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `prize_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 126 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lottery` (lib) due to 5 previous errors; 126 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `BLOCK_CLAIM` is never used [INFO] [stdout] --> src/contract.rs:1441:15 [INFO] [stdout] | [INFO] [stdout] 1441 | const BLOCK_CLAIM: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pubkey` is never used [INFO] [stdout] --> src/contract.rs:1464:12 [INFO] [stdout] | [INFO] [stdout] 1464 | fn pubkey() -> Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive_randomness` is never used [INFO] [stdout] --> src/contract.rs:1504:8 [INFO] [stdout] | [INFO] [stdout] 1504 | fn derive_randomness(signature: &[u8]) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regexBuild` should have a snake case name [INFO] [stdout] --> src/contract.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let regexBuild = format!(r"\b[a-f0-9]{{{}}}\b", state.combinationLen); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `regex_build` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keyExist` should have a snake case name [INFO] [stdout] --> src/contract.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let keyExist = combination_storage(deps.storage).load(&combination.as_bytes()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `key_exist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `combinationStorage` should have a snake case name [INFO] [stdout] --> src/contract.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut combinationStorage = keyExist.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `combination_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validatorBalance` should have a snake case name [INFO] [stdout] --> src/contract.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let validatorBalance = deps [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `validator_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fromGenesis` should have a snake case name [INFO] [stdout] --> src/contract.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | let fromGenesis = state.blockTimePlay - state.drandGenesisTime; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `from_genesis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextRound` should have a snake case name [INFO] [stdout] --> src/contract.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | let nextRound = (fromGenesis as f64 / state.drandPeriod as f64) + 1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomnessHash` should have a snake case name [INFO] [stdout] --> src/contract.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | let randomnessHash = hex::encode(randomness); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `randomness_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winningCombination` should have a snake case name [INFO] [stdout] --> src/contract.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | let winningCombination = &randomnessHash[n..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `winning_combination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feeForDrandWorker` should have a snake case name [INFO] [stdout] --> src/contract.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | let feeForDrandWorker = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_for_drand_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenHolderFeeReward` should have a snake case name [INFO] [stdout] --> src/contract.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let tokenHolderFeeReward = jackpot.mul(Decimal::percent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_holder_fee_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalFee` should have a snake case name [INFO] [stdout] --> src/contract.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | let totalFee = jackpot.mul(Decimal::percent( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `total_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jackpotAfter` should have a snake case name [INFO] [stdout] --> src/contract.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | let mut jackpotAfter = (jackpot - feeForDrandWorker).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataWinner` should have a snake case name [INFO] [stdout] --> src/contract.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | let mut dataWinner: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `data_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 372 | for winnerAddress in combination.addresses { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataWinner` should have a snake case name [INFO] [stdout] --> src/contract.rs:387:25 [INFO] [stdout] | [INFO] [stdout] 387 | let mut dataWinner: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `data_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 388 | for winnerAddress in combination.addresses { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataWinner` should have a snake case name [INFO] [stdout] --> src/contract.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | let mut dataWinner: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `data_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:404:21 [INFO] [stdout] | [INFO] [stdout] 404 | for winnerAddress in combination.addresses { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataWinner` should have a snake case name [INFO] [stdout] --> src/contract.rs:419:25 [INFO] [stdout] | [INFO] [stdout] 419 | let mut dataWinner: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `data_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:420:21 [INFO] [stdout] | [INFO] [stdout] 420 | for winnerAddress in combination.addresses { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataWinner` should have a snake case name [INFO] [stdout] --> src/contract.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | let mut dataWinner: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `data_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:436:21 [INFO] [stdout] | [INFO] [stdout] 436 | for winnerAddress in combination.addresses { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountToSend` should have a snake case name [INFO] [stdout] --> src/contract.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | let amountToSend = sent.u128() / state.denomDelegationDecimal.u128(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_to_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `balanceSender` should have a snake case name [INFO] [stdout] --> src/contract.rs:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | let balanceSender = deps [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `balance_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `balanceContract` should have a snake case name [INFO] [stdout] --> src/contract.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | let balanceContract = deps [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `balance_contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shareHolderPercentage` should have a snake case name [INFO] [stdout] --> src/contract.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | let shareHolderPercentage = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `share_holder_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | let mut newAddress = winner.winners.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jackpotAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | let mut jackpotAmount: Uint128 = Uint128(0); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ticketWinning` should have a snake case name [INFO] [stdout] --> src/contract.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | let mut ticketWinning: Uint128 = Uint128(0); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ticket_winning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerInfo` should have a snake case name [INFO] [stdout] --> src/contract.rs:720:13 [INFO] [stdout] | [INFO] [stdout] 720 | for winnerInfo in winner.winners.clone() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `winner_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddresses` should have a snake case name [INFO] [stdout] --> src/contract.rs:736:29 [INFO] [stdout] | [INFO] [stdout] 736 | let newAddresses = remove_from_storage(&deps, &info, &winner); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddresses` should have a snake case name [INFO] [stdout] --> src/contract.rs:753:29 [INFO] [stdout] | [INFO] [stdout] 753 | let newAddresses = remove_from_storage(&deps, &info, &winner); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddresses` should have a snake case name [INFO] [stdout] --> src/contract.rs:770:29 [INFO] [stdout] | [INFO] [stdout] 770 | let newAddresses = remove_from_storage(&deps, &info, &winner); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddresses` should have a snake case name [INFO] [stdout] --> src/contract.rs:787:29 [INFO] [stdout] | [INFO] [stdout] 787 | let newAddresses = remove_from_storage(&deps, &info, &winner); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newAddresses` should have a snake case name [INFO] [stdout] --> src/contract.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | let newAddresses = remove_from_storage(&deps, &info, &winner); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountToSend` should have a snake case name [INFO] [stdout] --> src/contract.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | let mut amountToSend: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_to_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ticketBalance` should have a snake case name [INFO] [stdout] --> src/contract.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | let ticketBalance = deps [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ticket_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prizePerRank` should have a snake case name [INFO] [stdout] --> src/contract.rs:892:5 [INFO] [stdout] | [INFO] [stdout] 892 | prizePerRank: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_per_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollId` should have a snake case name [INFO] [stdout] --> src/contract.rs:896:9 [INFO] [stdout] | [INFO] [stdout] 896 | let pollId = state.pollCount + 1; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proposalAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:912:13 [INFO] [stdout] | [INFO] [stdout] 912 | let mut proposalAmount: Uint128 = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proposal_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proposalPrizeRank` should have a snake case name [INFO] [stdout] --> src/contract.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | let mut proposalPrizeRank: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proposal_prize_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockTime` should have a snake case name [INFO] [stdout] --> src/contract.rs:971:18 [INFO] [stdout] | [INFO] [stdout] 971 | Some(blockTime) => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `block_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:984:18 [INFO] [stdout] | [INFO] [stdout] 984 | Some(minAmount) => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `min_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minAmount` should have a snake case name [INFO] [stdout] --> src/contract.rs:997:18 [INFO] [stdout] | [INFO] [stdout] 997 | Some(minAmount) => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `min_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalPercentage` should have a snake case name [INFO] [stdout] --> src/contract.rs:1015:25 [INFO] [stdout] | [INFO] [stdout] 1015 | let mut totalPercentage = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockTime` should have a snake case name [INFO] [stdout] --> src/contract.rs:1042:18 [INFO] [stdout] | [INFO] [stdout] 1042 | Some(blockTime) => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `block_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proposalType` should have a snake case name [INFO] [stdout] --> src/contract.rs:915:9 [INFO] [stdout] | [INFO] [stdout] 915 | let proposalType = if let Proposal::HolderFeePercentage = proposal { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `proposal_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderToCanonical` should have a snake case name [INFO] [stdout] --> src/contract.rs:1056:9 [INFO] [stdout] | [INFO] [stdout] 1056 | let senderToCanonical = deps.api.canonical_address(&info.sender).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sender_to_canonical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPoll` should have a snake case name [INFO] [stdout] --> src/contract.rs:1058:9 [INFO] [stdout] | [INFO] [stdout] 1058 | let newPoll = PollInfoState { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollId` should have a snake case name [INFO] [stdout] --> src/contract.rs:1093:5 [INFO] [stdout] | [INFO] [stdout] 1093 | pollId: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:1115:25 [INFO] [stdout] | [INFO] [stdout] 1115 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:1122:25 [INFO] [stdout] | [INFO] [stdout] 1122 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollId` should have a snake case name [INFO] [stdout] --> src/contract.rs:1144:5 [INFO] [stdout] | [INFO] [stdout] 1144 | pollId: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:1163:17 [INFO] [stdout] | [INFO] [stdout] 1163 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `humanAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:1184:13 [INFO] [stdout] | [INFO] [stdout] 1184 | let humanAddress = deps.api.human_address(&address).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `human_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollId` should have a snake case name [INFO] [stdout] --> src/contract.rs:1202:5 [INFO] [stdout] | [INFO] [stdout] 1202 | pollId: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `yesWeight` should have a snake case name [INFO] [stdout] --> src/contract.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | let yesWeight = total_weight(&deps, &state, &store.yes_voters); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `yes_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `finalVoteWeightInPercentage` should have a snake case name [INFO] [stdout] --> src/contract.rs:1229:13 [INFO] [stdout] | [INFO] [stdout] 1229 | let mut finalVoteWeightInPercentage: u128 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `final_vote_weight_in_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `yesWeightByHundred` should have a snake case name [INFO] [stdout] --> src/contract.rs:1231:13 [INFO] [stdout] | [INFO] [stdout] 1231 | let yesWeightByHundred = yesWeight.u128() * 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `yes_weight_by_hundred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:1240:21 [INFO] [stdout] | [INFO] [stdout] 1240 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:1289:17 [INFO] [stdout] | [INFO] [stdout] 1289 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollId` should have a snake case name [INFO] [stdout] --> src/contract.rs:1376:27 [INFO] [stdout] | [INFO] [stdout] 1376 | fn query_poll(deps: Deps, pollId: u64) -> Result { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fromGenesis` should have a snake case name [INFO] [stdout] --> src/contract.rs:1398:9 [INFO] [stdout] | [INFO] [stdout] 1398 | let fromGenesis = state.blockTimePlay - state.drandGenesisTime; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `from_genesis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextRound` should have a snake case name [INFO] [stdout] --> src/contract.rs:1399:9 [INFO] [stdout] | [INFO] [stdout] 1399 | let nextRound = (fromGenesis as f64 / state.drandPeriod as f64) + 1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextRoundFormat` should have a snake case name [INFO] [stdout] --> src/contract.rs:1400:9 [INFO] [stdout] | [INFO] [stdout] 1400 | let nextRoundFormat = nextRound as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_round_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PUBLIC_KEY` should have a snake case name [INFO] [stdout] --> src/contract.rs:1446:13 [INFO] [stdout] | [INFO] [stdout] 1446 | let PUBLIC_KEY: Binary = vec![ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PRIZE_RANK_WINNER_PERCENTAGE` should have a snake case name [INFO] [stdout] --> src/contract.rs:1461:13 [INFO] [stdout] | [INFO] [stdout] 1461 | let PRIZE_RANK_WINNER_PERCENTAGE: Vec = vec![84, 10, 5, 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_rank_winner_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress` should have a snake case name [INFO] [stdout] --> src/contract.rs:1537:13 [INFO] [stdout] | [INFO] [stdout] 1537 | let winnerAddress = deps [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `winnerAddress2` should have a snake case name [INFO] [stdout] --> src/contract.rs:1541:13 [INFO] [stdout] | [INFO] [stdout] 1541 | let winnerAddress2 = deps [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `winner_address2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:1545:9 [INFO] [stdout] | [INFO] [stdout] 1545 | / winner_storage(deps.as_mut().storage).save( [INFO] [stdout] 1546 | | &2_u8.to_be_bytes(), [INFO] [stdout] 1547 | | &Winner { [INFO] [stdout] 1548 | | winners: vec![ [INFO] [stdout] ... | [INFO] [stdout] 1558 | | }, [INFO] [stdout] 1559 | | ); [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] 1545 | let _ = winner_storage(deps.as_mut().storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `errMsg` should have a snake case name [INFO] [stdout] --> src/contract.rs:3396:13 [INFO] [stdout] | [INFO] [stdout] 3396 | let errMsg = "lottery::state::PollInfoState".to_string(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `err_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `errMsg` should have a snake case name [INFO] [stdout] --> src/contract.rs:3399:38 [INFO] [stdout] | [INFO] [stdout] 3399 | Err(Std(NotFound { kind: errMsg, .. })) => {} [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `err_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3454:9 [INFO] [stdout] | [INFO] [stdout] 3454 | / poll_storage(deps.as_mut().storage).update::<_, StdError>(&1_u64.to_be_bytes(), |poll| { [INFO] [stdout] 3455 | | let mut pollData = poll.unwrap(); [INFO] [stdout] 3456 | | // Update the status to rejected by the creator [INFO] [stdout] 3457 | | pollData.status = PollStatus::RejectedByCreator; [INFO] [stdout] ... | [INFO] [stdout] 3460 | | Ok(pollData) [INFO] [stdout] 3461 | | }); [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] 3454 | let _ = poll_storage(deps.as_mut().storage).update::<_, StdError>(&1_u64.to_be_bytes(), |poll| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:3455:21 [INFO] [stdout] | [INFO] [stdout] 3455 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3524:9 [INFO] [stdout] | [INFO] [stdout] 3524 | / poll_storage(deps.as_mut().storage).update::<_, StdError>(&1_u64.to_be_bytes(), |poll| { [INFO] [stdout] 3525 | | let mut pollData = poll.unwrap(); [INFO] [stdout] 3526 | | // Update the status to rejected by the creator [INFO] [stdout] 3527 | | pollData.status = PollStatus::RejectedByCreator; [INFO] [stdout] 3528 | | Ok(pollData) [INFO] [stdout] 3529 | | }); [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] 3524 | let _ = poll_storage(deps.as_mut().storage).update::<_, StdError>(&1_u64.to_be_bytes(), |poll| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:3525:21 [INFO] [stdout] | [INFO] [stdout] 3525 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3537:9 [INFO] [stdout] | [INFO] [stdout] 3537 | / poll_storage(deps.as_mut().storage).update::<_, StdError>(&1_u64.to_be_bytes(), |poll| { [INFO] [stdout] 3538 | | let mut pollData = poll.unwrap(); [INFO] [stdout] 3539 | | // Update the end eight to now [INFO] [stdout] 3540 | | pollData.end_height = env.block.height - 1; [INFO] [stdout] 3541 | | Ok(pollData) [INFO] [stdout] 3542 | | }); [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] 3537 | let _ = poll_storage(deps.as_mut().storage).update::<_, StdError>(&1_u64.to_be_bytes(), |poll| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pollData` should have a snake case name [INFO] [stdout] --> src/contract.rs:3538:21 [INFO] [stdout] | [INFO] [stdout] 3538 | let mut pollData = poll.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `poll_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2392:13 [INFO] [stdout] | [INFO] [stdout] 2392 | / combination_storage(&mut deps.storage).save( [INFO] [stdout] 2393 | | &combination.as_bytes(), [INFO] [stdout] 2394 | | &Combination { [INFO] [stdout] 2395 | | addresses: addresses1.clone(), [INFO] [stdout] 2396 | | }, [INFO] [stdout] 2397 | | ); [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] 2392 | let _ = combination_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2398:13 [INFO] [stdout] | [INFO] [stdout] 2398 | / combination_storage(&mut deps.storage).save( [INFO] [stdout] 2399 | | &combination2.as_bytes(), [INFO] [stdout] 2400 | | &Combination { [INFO] [stdout] 2401 | | addresses: addresses2.clone(), [INFO] [stdout] 2402 | | }, [INFO] [stdout] 2403 | | ); [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] 2398 | let _ = combination_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2404:13 [INFO] [stdout] | [INFO] [stdout] 2404 | / combination_storage(&mut deps.storage).save( [INFO] [stdout] 2405 | | &combination3.as_bytes(), [INFO] [stdout] 2406 | | &Combination { [INFO] [stdout] 2407 | | addresses: addresses3.clone(), [INFO] [stdout] 2408 | | }, [INFO] [stdout] 2409 | | ); [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] 2404 | let _ = combination_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2410:13 [INFO] [stdout] | [INFO] [stdout] 2410 | / combination_storage(&mut deps.storage).save( [INFO] [stdout] 2411 | | &combination4.as_bytes(), [INFO] [stdout] 2412 | | &Combination { [INFO] [stdout] 2413 | | addresses: addresses2.clone(), [INFO] [stdout] 2414 | | }, [INFO] [stdout] 2415 | | ); [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] 2410 | let _ = combination_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2416:13 [INFO] [stdout] | [INFO] [stdout] 2416 | / combination_storage(&mut deps.storage).save( [INFO] [stdout] 2417 | | &combination5.as_bytes(), [INFO] [stdout] 2418 | | &Combination { [INFO] [stdout] 2419 | | addresses: addresses1.clone(), [INFO] [stdout] 2420 | | }, [INFO] [stdout] 2421 | | ); [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] 2416 | let _ = combination_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2791:13 [INFO] [stdout] | [INFO] [stdout] 2791 | config(deps.as_mut().storage).save(&state); [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] 2791 | let _ = config(deps.as_mut().storage).save(&state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2842:13 [INFO] [stdout] | [INFO] [stdout] 2842 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 2843 | | &key1.to_be_bytes(), [INFO] [stdout] 2844 | | &Winner { [INFO] [stdout] 2845 | | winners: vec![WinnerInfoState { [INFO] [stdout] ... | [INFO] [stdout] 2852 | | }, [INFO] [stdout] 2853 | | ); [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] 2842 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2854:13 [INFO] [stdout] | [INFO] [stdout] 2854 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 2855 | | &key2.to_be_bytes(), [INFO] [stdout] 2856 | | &Winner { [INFO] [stdout] 2857 | | winners: vec![ [INFO] [stdout] ... | [INFO] [stdout] 2873 | | }, [INFO] [stdout] 2874 | | ); [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] 2854 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2904:13 [INFO] [stdout] | [INFO] [stdout] 2904 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 2905 | | &key1.to_be_bytes(), [INFO] [stdout] 2906 | | &Winner { [INFO] [stdout] 2907 | | winners: vec![WinnerInfoState { [INFO] [stdout] ... | [INFO] [stdout] 2914 | | }, [INFO] [stdout] 2915 | | ); [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] 2904 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2916:13 [INFO] [stdout] | [INFO] [stdout] 2916 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 2917 | | &key2.to_be_bytes(), [INFO] [stdout] 2918 | | &Winner { [INFO] [stdout] 2919 | | winners: vec![ [INFO] [stdout] ... | [INFO] [stdout] 2935 | | }, [INFO] [stdout] 2936 | | ); [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] 2916 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2967:13 [INFO] [stdout] | [INFO] [stdout] 2967 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 2968 | | &key1.to_be_bytes(), [INFO] [stdout] 2969 | | &Winner { [INFO] [stdout] 2970 | | winners: vec![WinnerInfoState { [INFO] [stdout] ... | [INFO] [stdout] 2977 | | }, [INFO] [stdout] 2978 | | ); [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] 2967 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:2979:13 [INFO] [stdout] | [INFO] [stdout] 2979 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 2980 | | &key2.to_be_bytes(), [INFO] [stdout] 2981 | | &Winner { [INFO] [stdout] 2982 | | winners: vec![ [INFO] [stdout] ... | [INFO] [stdout] 2998 | | }, [INFO] [stdout] 2999 | | ); [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] 2979 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3015:13 [INFO] [stdout] | [INFO] [stdout] 3015 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 3016 | | &key1.to_be_bytes(), [INFO] [stdout] 3017 | | &Winner { [INFO] [stdout] 3018 | | winners: vec![WinnerInfoState { [INFO] [stdout] ... | [INFO] [stdout] 3025 | | }, [INFO] [stdout] 3026 | | ); [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] 3015 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3027:13 [INFO] [stdout] | [INFO] [stdout] 3027 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 3028 | | &key2.to_be_bytes(), [INFO] [stdout] 3029 | | &Winner { [INFO] [stdout] 3030 | | winners: vec![ [INFO] [stdout] ... | [INFO] [stdout] 3046 | | }, [INFO] [stdout] 3047 | | ); [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] 3027 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3070:13 [INFO] [stdout] | [INFO] [stdout] 3070 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 3071 | | &key1.to_be_bytes(), [INFO] [stdout] 3072 | | &Winner { [INFO] [stdout] 3073 | | winners: vec![WinnerInfoState { [INFO] [stdout] ... | [INFO] [stdout] 3080 | | }, [INFO] [stdout] 3081 | | ); [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] 3070 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3082:13 [INFO] [stdout] | [INFO] [stdout] 3082 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 3083 | | &key2.to_be_bytes(), [INFO] [stdout] 3084 | | &Winner { [INFO] [stdout] 3085 | | winners: vec![ [INFO] [stdout] ... | [INFO] [stdout] 3101 | | }, [INFO] [stdout] 3102 | | ); [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] 3082 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3135:13 [INFO] [stdout] | [INFO] [stdout] 3135 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 3136 | | &key1.to_be_bytes(), [INFO] [stdout] 3137 | | &Winner { [INFO] [stdout] 3138 | | winners: vec![WinnerInfoState { [INFO] [stdout] ... | [INFO] [stdout] 3145 | | }, [INFO] [stdout] 3146 | | ); [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] 3135 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3147:13 [INFO] [stdout] | [INFO] [stdout] 3147 | / winner_storage(&mut deps.storage).save( [INFO] [stdout] 3148 | | &key2.to_be_bytes(), [INFO] [stdout] 3149 | | &Winner { [INFO] [stdout] 3150 | | winners: vec![ [INFO] [stdout] ... | [INFO] [stdout] 3166 | | }, [INFO] [stdout] 3167 | | ); [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] 3147 | let _ = winner_storage(&mut deps.storage).save( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3563:13 [INFO] [stdout] | [INFO] [stdout] 3563 | handle(deps, env.clone(), info.clone(), msg.clone()); [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] 3563 | let _ = handle(deps, env.clone(), info.clone(), msg.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:3572:13 [INFO] [stdout] | [INFO] [stdout] 3572 | handle(deps, env.clone(), info.clone(), msg.clone()); [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] 3572 | let _ = handle(deps, env.clone(), info.clone(), msg.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `present_proposal_with_voters_NO_WEIGHT` should have a snake case name [INFO] [stdout] --> src/contract.rs:3601:12 [INFO] [stdout] | [INFO] [stdout] 3601 | fn present_proposal_with_voters_NO_WEIGHT() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `present_proposal_with_voters_no_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateBefore` should have a snake case name [INFO] [stdout] --> src/contract.rs:3604:17 [INFO] [stdout] | [INFO] [stdout] 3604 | let stateBefore = config_read(deps.as_ref().storage).load().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `state_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateAfter` should have a snake case name [INFO] [stdout] --> src/contract.rs:3645:17 [INFO] [stdout] | [INFO] [stdout] 3645 | let stateAfter = config_read(deps.as_ref().storage).load().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `state_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `present_proposal_with_voters_YES_WEIGHT` should have a snake case name [INFO] [stdout] --> src/contract.rs:3652:12 [INFO] [stdout] | [INFO] [stdout] 3652 | fn present_proposal_with_voters_YES_WEIGHT() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `present_proposal_with_voters_yes_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomTicket` should have a snake case name [INFO] [stdout] --> src/msg.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub denomTicket: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `denom_ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomDelegation` should have a snake case name [INFO] [stdout] --> src/msg.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub denomDelegation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `denom_delegation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomDelegationDecimal` should have a snake case name [INFO] [stdout] --> src/msg.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub denomDelegationDecimal: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `denom_delegation_decimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomShare` should have a snake case name [INFO] [stdout] --> src/msg.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub denomShare: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `denom_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `everyBlockHeight` should have a snake case name [INFO] [stdout] --> src/msg.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub everyBlockHeight: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `every_block_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `claimTicket` should have a snake case name [INFO] [stdout] --> src/msg.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub claimTicket: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `claim_ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `claimReward` should have a snake case name [INFO] [stdout] --> src/msg.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub claimReward: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `claim_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockTimePlay` should have a snake case name [INFO] [stdout] --> src/msg.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub blockTimePlay: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_time_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `everyBlockTimePlay` should have a snake case name [INFO] [stdout] --> src/msg.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub everyBlockTimePlay: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `every_block_time_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockClaim` should have a snake case name [INFO] [stdout] --> src/msg.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub blockClaim: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_claim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockIcoTimeframe` should have a snake case name [INFO] [stdout] --> src/msg.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub blockIcoTimeframe: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_ico_timeframe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `holdersRewards` should have a snake case name [INFO] [stdout] --> src/msg.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub holdersRewards: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `holders_rewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenHolderSupply` should have a snake case name [INFO] [stdout] --> src/msg.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub tokenHolderSupply: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_holder_supply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandPublicKey` should have a snake case name [INFO] [stdout] --> src/msg.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub drandPublicKey: Binary, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `drand_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandPeriod` should have a snake case name [INFO] [stdout] --> src/msg.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub drandPeriod: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `drand_period` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandGenesisTime` should have a snake case name [INFO] [stdout] --> src/msg.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub drandGenesisTime: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `drand_genesis_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `validatorMinAmountToAllowClaim` should have a snake case name [INFO] [stdout] --> src/msg.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub validatorMinAmountToAllowClaim: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `validator_min_amount_to_allow_claim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `delegatorMinAmountInDelegation` should have a snake case name [INFO] [stdout] --> src/msg.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub delegatorMinAmountInDelegation: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `delegator_min_amount_in_delegation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `combinationLen` should have a snake case name [INFO] [stdout] --> src/msg.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub combinationLen: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `combination_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `jackpotReward` should have a snake case name [INFO] [stdout] --> src/msg.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub jackpotReward: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `jackpotPercentageReward` should have a snake case name [INFO] [stdout] --> src/msg.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub jackpotPercentageReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_percentage_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenHolderPercentageFeeReward` should have a snake case name [INFO] [stdout] --> src/msg.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub tokenHolderPercentageFeeReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_holder_percentage_fee_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feeForDrandWorkerInPercentage` should have a snake case name [INFO] [stdout] --> src/msg.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub feeForDrandWorkerInPercentage: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_for_drand_worker_in_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prizeRankWinnerPercentage` should have a snake case name [INFO] [stdout] --> src/msg.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub prizeRankWinnerPercentage: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_rank_winner_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollEndHeight` should have a snake case name [INFO] [stdout] --> src/msg.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub pollEndHeight: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poll_end_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prizePerRank` should have a snake case name [INFO] [stdout] --> src/msg.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | prizePerRank: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_per_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollId` should have a snake case name [INFO] [stdout] --> src/msg.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | Vote { pollId: u64, approve: bool }, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollId` should have a snake case name [INFO] [stdout] --> src/msg.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | PresentProposal { pollId: u64 }, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollId` should have a snake case name [INFO] [stdout] --> src/msg.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | RejectProposal { pollId: u64 }, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/msg.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollId` should have a snake case name [INFO] [stdout] --> src/msg.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | GetPoll { pollId: u64 }, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/msg.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prizePerRank` should have a snake case name [INFO] [stdout] --> src/msg.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub prizePerRank: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_per_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nextRound` should have a snake case name [INFO] [stdout] --> src/msg.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub nextRound: u64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockTimePlay` should have a snake case name [INFO] [stdout] --> src/state.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub blockTimePlay: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_time_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `everyBlockTimePlay` should have a snake case name [INFO] [stdout] --> src/state.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub everyBlockTimePlay: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `every_block_time_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockClaim` should have a snake case name [INFO] [stdout] --> src/state.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub blockClaim: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_claim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockIcoTimeframe` should have a snake case name [INFO] [stdout] --> src/state.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub blockIcoTimeframe: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_ico_timeframe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `everyBlockHeight` should have a snake case name [INFO] [stdout] --> src/state.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub everyBlockHeight: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `every_block_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomTicket` should have a snake case name [INFO] [stdout] --> src/state.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub denomTicket: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `denom_ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomDelegation` should have a snake case name [INFO] [stdout] --> src/state.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub denomDelegation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `denom_delegation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomDelegationDecimal` should have a snake case name [INFO] [stdout] --> src/state.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub denomDelegationDecimal: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `denom_delegation_decimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `denomShare` should have a snake case name [INFO] [stdout] --> src/state.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub denomShare: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `denom_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `claimTicket` should have a snake case name [INFO] [stdout] --> src/state.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub claimTicket: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `claim_ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `claimReward` should have a snake case name [INFO] [stdout] --> src/state.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub claimReward: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `claim_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `holdersRewards` should have a snake case name [INFO] [stdout] --> src/state.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub holdersRewards: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `holders_rewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenHolderSupply` should have a snake case name [INFO] [stdout] --> src/state.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub tokenHolderSupply: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_holder_supply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandPublicKey` should have a snake case name [INFO] [stdout] --> src/state.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub drandPublicKey: Binary, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `drand_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandPeriod` should have a snake case name [INFO] [stdout] --> src/state.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub drandPeriod: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `drand_period` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `drandGenesisTime` should have a snake case name [INFO] [stdout] --> src/state.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub drandGenesisTime: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `drand_genesis_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `validatorMinAmountToAllowClaim` should have a snake case name [INFO] [stdout] --> src/state.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub validatorMinAmountToAllowClaim: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `validator_min_amount_to_allow_claim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `delegatorMinAmountInDelegation` should have a snake case name [INFO] [stdout] --> src/state.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub delegatorMinAmountInDelegation: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `delegator_min_amount_in_delegation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `combinationLen` should have a snake case name [INFO] [stdout] --> src/state.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub combinationLen: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `combination_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `jackpotReward` should have a snake case name [INFO] [stdout] --> src/state.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub jackpotReward: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `jackpotPercentageReward` should have a snake case name [INFO] [stdout] --> src/state.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub jackpotPercentageReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jackpot_percentage_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenHolderPercentageFeeReward` should have a snake case name [INFO] [stdout] --> src/state.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub tokenHolderPercentageFeeReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_holder_percentage_fee_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feeForDrandWorkerInPercentage` should have a snake case name [INFO] [stdout] --> src/state.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub feeForDrandWorkerInPercentage: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fee_for_drand_worker_in_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prizeRankWinnerPercentage` should have a snake case name [INFO] [stdout] --> src/state.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub prizeRankWinnerPercentage: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prize_rank_winner_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollCount` should have a snake case name [INFO] [stdout] --> src/state.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub pollCount: u64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `poll_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `holdersMaxPercentageReward` should have a snake case name [INFO] [stdout] --> src/state.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub holdersMaxPercentageReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `holders_max_percentage_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `workerDrandMaxPercentageReward` should have a snake case name [INFO] [stdout] --> src/state.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub workerDrandMaxPercentageReward: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `worker_drand_max_percentage_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pollEndHeight` should have a snake case name [INFO] [stdout] --> src/state.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub pollEndHeight: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poll_end_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prizeRank` should have a snake case name [INFO] [stdout] --> src/state.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub prizeRank: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `prize_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 197 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lottery` (lib test) due to 5 previous errors; 197 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35ddfdc928425da14121f73c5c5e053ade44d904fa510d6755af9a9f87e89ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35ddfdc928425da14121f73c5c5e053ade44d904fa510d6755af9a9f87e89ebc", kill_on_drop: false }` [INFO] [stdout] 35ddfdc928425da14121f73c5c5e053ade44d904fa510d6755af9a9f87e89ebc