[INFO] cloning repository https://github.com/devgod611/Stablecoin_cosmwasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devgod611/Stablecoin_cosmwasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevgod611%2FStablecoin_cosmwasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevgod611%2FStablecoin_cosmwasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9fa033da1ab8568857774079079b326fb61a258 [INFO] testing devgod611/Stablecoin_cosmwasm against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevgod611%2FStablecoin_cosmwasm" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devgod611/Stablecoin_cosmwasm on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devgod611/Stablecoin_cosmwasm [INFO] finished tweaking git repo https://github.com/devgod611/Stablecoin_cosmwasm [INFO] tweaked toml for git repo https://github.com/devgod611/Stablecoin_cosmwasm written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/devgod611/Stablecoin_cosmwasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/contracts/ERC20/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/contracts/Masonry/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/packages/IMasonry/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/contracts/Treasury/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/packages/BasisAsset/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/packages/BondTreasury/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/contracts/Oracle/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/contracts/RebateTreasury/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/contracts/TShareRewardPool/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/contracts/TombGenesisRewardPool/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/contracts/TombRewardPool/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-11/source/packages/lib/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-11/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-derive v0.16.5 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.5 [INFO] [stderr] Downloaded wasmer-types v2.2.0 [INFO] [stderr] Downloaded cosmwasm-crypto v0.16.5 [INFO] [stderr] Downloaded cosmwasm-schema v0.16.5 [INFO] [stderr] Downloaded wasmer-vm v2.2.0 [INFO] [stderr] Downloaded rend v0.3.6 [INFO] [stderr] Downloaded rkyv v0.7.35 [INFO] [stderr] Downloaded region v3.0.0 [INFO] [stderr] Downloaded loupe-derive v0.1.3 [INFO] [stderr] Downloaded enumset v1.0.8 [INFO] [stderr] Downloaded wasmer-compiler v2.2.0 [INFO] [stderr] Downloaded wasmer-engine v2.2.0 [INFO] [stderr] Downloaded wasmer-engine-universal v2.2.0 [INFO] [stderr] Downloaded wasmer v2.2.0 [INFO] [stderr] Downloaded wasmer-object v2.2.0 [INFO] [stderr] Downloaded wasmer-engine-dylib v2.2.0 [INFO] [stderr] Downloaded bytecheck v0.6.7 [INFO] [stderr] Downloaded bytecheck_derive v0.6.7 [INFO] [stderr] Downloaded object v0.28.3 [INFO] [stderr] Downloaded wasmer-derive v2.2.0 [INFO] [stderr] Downloaded wasmer-compiler-cranelift v2.2.0 [INFO] [stderr] Downloaded cw20 v0.8.1 [INFO] [stderr] Downloaded dynasmrt v1.2.1 [INFO] [stderr] Downloaded clru v0.4.0 [INFO] [stderr] Downloaded rkyv_derive v0.7.35 [INFO] [stderr] Downloaded cosmwasm-std v0.16.5 [INFO] [stderr] Downloaded dynasm v1.2.1 [INFO] [stderr] Downloaded cosmwasm-bignumber v2.2.0 [INFO] [stderr] Downloaded terra-cosmwasm v2.2.0 [INFO] [stderr] Downloaded loupe v0.1.3 [INFO] [stderr] Downloaded wasmer-middlewares v2.2.0 [INFO] [stderr] Downloaded wasmer-compiler-singlepass v2.2.0 [INFO] [stderr] Downloaded cosmwasm-vm v1.0.0-beta6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cff9201e40d99293ea1d438a4d6e559f20df60f5d34cd78e68295f0af08db2f4 [INFO] running `Command { std: "docker" "start" "-a" "cff9201e40d99293ea1d438a4d6e559f20df60f5d34cd78e68295f0af08db2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cff9201e40d99293ea1d438a4d6e559f20df60f5d34cd78e68295f0af08db2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff9201e40d99293ea1d438a4d6e559f20df60f5d34cd78e68295f0af08db2f4", kill_on_drop: false }` [INFO] [stdout] cff9201e40d99293ea1d438a4d6e559f20df60f5d34cd78e68295f0af08db2f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 179f534dca44332cd6851e597f6143a08563e580805379be848b3d25dea85c2d [INFO] running `Command { std: "docker" "start" "-a" "179f534dca44332cd6851e597f6143a08563e580805379be848b3d25dea85c2d", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/ERC20/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Masonry/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/IMasonry/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Treasury/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/BasisAsset/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/BondTreasury/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Oracle/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/RebateTreasury/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/TShareRewardPool/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/TombGenesisRewardPool/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/TombRewardPool/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/lib/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling cosmwasm-derive v0.16.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.2 [INFO] [stderr] Compiling cosmwasm-crypto v0.16.5 [INFO] [stderr] Compiling cosmwasm-std v0.16.5 [INFO] [stderr] Compiling cw0 v0.8.1 [INFO] [stderr] Compiling cw-storage-plus v0.8.1 [INFO] [stderr] Compiling cosmwasm-storage v0.16.5 [INFO] [stderr] Compiling terra-cosmwasm v2.2.0 [INFO] [stderr] Compiling cosmwasm-bignumber v2.2.0 [INFO] [stderr] Compiling cw20 v0.8.1 [INFO] [stderr] Compiling cw2 v0.8.1 [INFO] [stderr] Compiling terraswap v2.4.1 (/opt/rustwide/workdir/packages/terraswap) [INFO] [stderr] Compiling IMasonry v0.0.1 (/opt/rustwide/workdir/packages/IMasonry) [INFO] [stderr] Compiling BondTreasury v0.0.1 (/opt/rustwide/workdir/packages/BondTreasury) [INFO] [stderr] Compiling BasisAsset v0.0.1 (/opt/rustwide/workdir/packages/BasisAsset) [INFO] [stdout] warning: unused imports: `Addr`, `Uint128` [INFO] [stdout] --> packages/BondTreasury/src/msg.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Uint128, Addr}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `BondTreasury` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `bond_treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> packages/BasisAsset/src/msg.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Uint128, Addr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling TombRewardPool v0.0.1 (/opt/rustwide/workdir/contracts/TombRewardPool) [INFO] [stderr] Compiling TShareRewardPool v0.0.1 (/opt/rustwide/workdir/contracts/TShareRewardPool) [INFO] [stderr] Compiling lib v0.0.1 (/opt/rustwide/workdir/packages/lib) [INFO] [stderr] Compiling TombGenesisRewardPool v0.0.1 (/opt/rustwide/workdir/contracts/TombGenesisRewardPool) [INFO] [stderr] Compiling ERC20 v0.0.1 (/opt/rustwide/workdir/contracts/ERC20) [INFO] [stdout] warning: crate `BasisAsset` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `basis_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_startTime` should have a snake case name [INFO] [stdout] --> packages/BasisAsset/src/msg.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub _startTime: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_communityFund` should have a snake case name [INFO] [stdout] --> packages/BasisAsset/src/msg.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub _communityFund: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_devFund` should have a snake case name [INFO] [stdout] --> packages/BasisAsset/src/msg.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub _devFund: String [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `IMasonry` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `imasonry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TOMB` should have a snake case name [INFO] [stdout] --> packages/IMasonry/src/msg.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TOMB: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tomb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POOLSTARTTIME` should have a snake case name [INFO] [stdout] --> packages/IMasonry/src/msg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub POOLSTARTTIME: Uint128 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poolstarttime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `Uint128` [INFO] [stdout] --> packages/lib/src/state.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Addr, Uint128}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Item`, `Map`, `U128Key` [INFO] [stdout] --> packages/lib/src/state.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PoolInfo`, `UserInfo` [INFO] [stdout] --> packages/lib/src/state.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::msg::{UserInfo, PoolInfo}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uq112x112` should have an upper camel case name [INFO] [stdout] --> packages/lib/src/fixed_point.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct uq112x112 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Uq112x112` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uq144x112` should have an upper camel case name [INFO] [stdout] --> packages/lib/src/fixed_point.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct uq144x112 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Uq144x112` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `setTreasuryFund` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | setTreasuryFund { _communityFund: Addr }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `SetTreasuryFund` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `setDevFund` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | setDevFund { _devFund: Addr }, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `SetDevFund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `claimRewards` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | claimRewards{ }, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `ClaimRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `distributeReward` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | distributeReward{ _farmingIncentiveFund: Addr }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DistributeReward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `governanceRecoverUnsupported` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | governanceRecoverUnsupported{ _token: Addr, _amount: Uint128, _to: Addr} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GovernanceRecoverUnsupported` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unclaimedTreasuryFund` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | unclaimedTreasuryFund { }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `UnclaimedTreasuryFund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unclaimedDevFund` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | unclaimedDevFund { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `UnclaimedDevFund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> contracts/ERC20/src/state.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Item, Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `Q112` [INFO] [stdout] --> packages/lib/src/fixed_point.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Q112: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TOMB` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TOMB: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tomb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SHIBA` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub SHIBA: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `shiba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POOLSTARTTIME` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub POOLSTARTTIME: Uint128 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poolstarttime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rewardDebt` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub rewardDebt: Uint128, // Reward debt. See explanation below. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_debt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `allocPoint` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub allocPoint: Uint128, // How many allocation points assigned to this pool. TOMB to distribute. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `alloc_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastRewardTime` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub lastRewardTime: Uint128, // Last time that TOMB distribution occurs. [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_reward_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accTombPerShare` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub accTombPerShare: Uint128, // Accumulated TOMB per share, times 1e18. See below. [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `acc_tomb_per_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isStarted` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub isStarted: bool, // if lastRewardBlock has passed [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_started` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `RESOLUTION` should have a snake case name [INFO] [stdout] --> packages/lib/src/fixed_point.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | RESOLUTION: u128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `resolution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Q112` should have a snake case name [INFO] [stdout] --> packages/lib/src/fixed_point.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Q112: u128, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `q112` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Q224` should have a snake case name [INFO] [stdout] --> packages/lib/src/fixed_point.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Q224: u128 [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `q224` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkStartTime` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn checkStartTime(self) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getCurrentEpoch` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn getCurrentEpoch(self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_current_epoch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getPeriod` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn getPeriod(self) -> u128 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_period` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getStartTime` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn getStartTime(self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLastEpochTime` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn getLastEpochTime(self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_last_epoch_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextEpochPoint` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn nextEpochPoint(self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_epoch_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPeriod` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn setPeriod(mut self, _period: u128, sender: Addr) [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_period` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setEpoch` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn setEpoch(mut self, _epoch: u128, sender: Addr) [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `set_epoch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TOTAL_REWARDS` [INFO] [stdout] --> contracts/TShareRewardPool/src/contract.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const TOTAL_REWARDS: u128 = 60_000_000_000_000_000_000_000; //60000 ether; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isOperator` should have a snake case name [INFO] [stdout] --> packages/lib/src/operator.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn isOperator(&self, sender: Addr) -> StdResult{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `TombRewardPool` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `tomb_reward_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `TShareRewardPool` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `tshare_reward_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TOMB` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TOMB: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tomb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POOLSTARTTIME` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub POOLSTARTTIME: Uint128 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poolstarttime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TSHARE` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TSHARE: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tshare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rewardDebt` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub rewardDebt: Uint128, // Reward debt. See explanation below. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_debt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `allocPoint` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub allocPoint: Uint128, // How many allocation points assigned to this pool. TOMB to distribute. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `alloc_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastRewardTime` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub lastRewardTime: Uint128, // Last time that TOMB distribution occurs. [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_reward_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accTombPerShare` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub accTombPerShare: Uint128, // Accumulated TOMB per share, times 1e18. See below. [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `acc_tomb_per_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isStarted` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub isStarted: bool, // if lastRewardBlock has passed [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_started` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POOLSTARTTIME` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub POOLSTARTTIME: Uint128 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poolstarttime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rewardDebt` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub rewardDebt: Uint128, // Reward debt. See explanation below. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_debt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `allocPoint` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub allocPoint: Uint128, // How many allocation points assigned to this pool. TSHARE to distribute. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `alloc_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastRewardTime` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub lastRewardTime: Uint128, // Last time that TSHARE distribution occurs. [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_reward_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accTSharePerShare` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub accTSharePerShare: Uint128, // Accumulated TSHARE per share, times 1e18. See below. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `acc_tshare_per_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isStarted` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub isStarted: bool, // if lastRewardBlock has passed [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_started` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TOTAL_REWARDS` [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/contract.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const TOTAL_REWARDS: u128 = 25_000_000_000_000_000_000_000; //25000 ether; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `TombGenesisRewardPool` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `tomb_genesis_reward_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_name` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:529:4 [INFO] [stdout] | [INFO] [stdout] 529 | fn is_valid_name(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_symbol` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:537:4 [INFO] [stdout] | [INFO] [stdout] 537 | fn is_valid_symbol(symbol: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TOMB` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TOMB: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tomb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SHIBA` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub SHIBA: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `shiba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POOLSTARTTIME` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub POOLSTARTTIME: Uint128 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poolstarttime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rewardDebt` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub rewardDebt: Uint128, // Reward debt. See explanation below. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_debt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `allocPoint` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub allocPoint: Uint128, // How many allocation points assigned to this pool. TOMB to distribute. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `alloc_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastRewardTime` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub lastRewardTime: Uint128, // Last time that TOMB distribution occurs. [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_reward_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accTombPerShare` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub accTombPerShare: Uint128, // Accumulated TOMB per share, times 1e18. See below. [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `acc_tomb_per_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isStarted` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub isStarted: bool, // if lastRewardBlock has passed [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_started` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ERC20` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `erc20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FARMING_POOL_REWARD_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let FARMING_POOL_REWARD_ALLOCATION: Uint128 = Uint128::from(60000 as u128) * ether; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `farming_pool_reward_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COMMUNITY_FUND_POOL_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let COMMUNITY_FUND_POOL_ALLOCATION: Uint128 = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `community_fund_pool_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEV_FUND_POOL_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let DEV_FUND_POOL_ALLOCATION: Uint128 = Uint128::from(5000 as u128) * ether; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dev_fund_pool_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VESTING_DURATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let VESTING_DURATION: Uint128 = Uint128::from(356 as u128) * day; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vesting_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_cRate` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let _cRate = COMMUNITY_FUND_POOL_ALLOCATION / VESTING_DURATION; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `_c_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_dRate` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let _dRate = DEV_FUND_POOL_ALLOCATION /VESTING_DURATION; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `_d_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let _devFund = deps.api.addr_validate(msg._devFund.as_str())?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_communityFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let _communityFund = deps.api.addr_validate(msg._communityFund.as_str())?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_farmingIncentiveFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | _farmingIncentiveFund: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_farming_incentive_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let _devFund = devFund.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_rewardPoolDistributed` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let mut _rewardPoolDistributed = rewardPoolDistributed.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_reward_pool_distributed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | rewardPoolDistributed.save(deps.storage, &_rewardPoolDistributed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | try_mint(deps, _env, info,_farmingIncentiveFund, constants.FARMING_POOL_REWARD_ALLOCATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_communityFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let _communityFund = communityFund.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | perform_mint(deps.storage, _env.clone(), _communityFund, _pending); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | communityFundLastClaimed.save(deps.storage, &_now); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let _devFund = devFund.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | perform_mint(deps.storage, _env.clone(), _devFund, _pending); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | devFundLastClaimed.save(deps.storage, &_now); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_communityFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | _communityFund: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let _devFund = devFund.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | communityFund.save(deps.storage, &_communityFund); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | _devFund: Addr, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let _devFund = devFund.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | devFund.save(deps.storage, &_devFund); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | perform_mint(deps.storage, _env, recipient.clone(), amount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_unclaimedTreasuryFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:432:4 [INFO] [stdout] | [INFO] [stdout] 432 | fn _unclaimedTreasuryFund( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_unclaimed_treasury_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_cLastClaimed` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | let _cLastClaimed = communityFundLastClaimed.load(store).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_c_last_claimed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_cRewardRate` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | let _cRewardRate = communityFundRewardRate.load(store).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_c_reward_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_unclaimedDevFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | fn _unclaimedDevFund( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_unclaimed_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_dLastClaimed` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let _dLastClaimed = devFundLastClaimed.load(store).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_d_last_claimed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_dRewardRate` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | let _dRewardRate = devFundRewardRate.load(store).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_d_reward_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_startTime` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub _startTime: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_communityFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub _communityFund: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub _devFund: String [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_communityFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | setTreasuryFund { _communityFund: Addr }, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | setDevFund { _devFund: Addr }, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_farmingIncentiveFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | distributeReward{ _farmingIncentiveFund: Addr }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_farming_incentive_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FARMING_POOL_REWARD_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub FARMING_POOL_REWARD_ALLOCATION: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `farming_pool_reward_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `COMMUNITY_FUND_POOL_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub COMMUNITY_FUND_POOL_ALLOCATION: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `community_fund_pool_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DEV_FUND_POOL_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub DEV_FUND_POOL_ALLOCATION: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dev_fund_pool_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VESTING_DURATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub VESTING_DURATION: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vesting_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `startTime` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const startTime: Item = Item::new("startTime"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `START_TIME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `endTime` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const endTime: Item = Item::new("endTime"); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `END_TIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `communityFundRewardRate` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const communityFundRewardRate: Item = Item::new("communityFundRewardRate"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `COMMUNITY_FUND_REWARD_RATE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `devFundRewardRate` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const devFundRewardRate: Item = Item::new("devFundRewardRate"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEV_FUND_REWARD_RATE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `communityFund` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const communityFund: Item = Item::new("communityFund"); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `COMMUNITY_FUND` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `devFund` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const devFund: Item = Item::new("devFund"); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DEV_FUND` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `communityFundLastClaimed` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const communityFundLastClaimed: Item = Item::new("communityFundLastClaimed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `COMMUNITY_FUND_LAST_CLAIMED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `devFundLastClaimed` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const devFundLastClaimed: Item = Item::new("devFundLastClaimed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEV_FUND_LAST_CLAIMED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `rewardPoolDistributed` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const rewardPoolDistributed: Item = Item::new("rewardPoolDistributed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `REWARD_POOL_DISTRIBUTED` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling Oracle v0.0.1 (/opt/rustwide/workdir/contracts/Oracle) [INFO] [stdout] warning: unused import: `query_pair_info` [INFO] [stdout] --> contracts/Oracle/src/contract.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | use terraswap::querier::{simulate, query_pair_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OPERATOR` [INFO] [stdout] --> contracts/Oracle/src/query.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | LAST_EPOCH_TIME, OPERATOR}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetInfoRaw`, `Asset`, `PairInfoRaw` [INFO] [stdout] --> contracts/Oracle/src/msg.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use terraswap::asset::{PairInfoRaw, AssetInfoRaw, AssetInfo, Asset}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Oracle/src/contract.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Oracle/src/query.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Oracle` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `oracle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling Treasury v0.0.1 (/opt/rustwide/workdir/contracts/Treasury) [INFO] [stdout] warning: unused imports: `QuerierWrapper`, `StdError` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, QuerierWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | Uint128, CosmosMsg, WasmMsg, Storage, StdResult, StdError [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `Uint128` [INFO] [stdout] --> contracts/Treasury/src/query.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Binary, Deps, Env, StdResult, Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Uint128 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map`, `U128Key` [INFO] [stdout] --> contracts/Treasury/src/state.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Querier`, `StdError` [INFO] [stdout] --> contracts/Treasury/src/util.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, Querier}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terraswap::querier` [INFO] [stdout] --> contracts/Treasury/src/util.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use terraswap::querier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOND_DEPLETION_FLOOR_PERCENT`, `BOND_SUPPLY_EXPANSION_PERCENT`, `BOND_TREASURY`, `BOOTSTRAP_EPOCHS`, `BOOTSTRAP_SUPPLY_EXPANSION_PERCENT`, `DAOFUND_SHARED_PERCENT`, `DAOFUND`, `DEVFUND_SHARED_PERCENT`, `DEVFUND`, `MAX_EXPANSION_TIERS`, `MAX_SUPPLY_CONTRACTION_PERCENT`, `MAX_SUPPLY_EXPANSION_PERCENT`, `MINTING_FACTOR_FOR_PAYING_DEBT`, `PREVIOUS_EPOCH_TOMB_PRICE`, `SEIGNIORAGE_EXPANSION_FLOOR_PERCENT`, `SUPPLY_TIERS` [INFO] [stdout] --> contracts/Treasury/src/util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | BOND_TREASURY, TOMB_ORACLE, TOMB_PRICE_ONE, TOMB_PRICE_CEILING, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | SEIGNIORAGE_SAVED, SUPPLY_TIERS, MAX_EXPANSION_TIERS, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | MAX_SUPPLY_EXPANSION_PERCENT, BOND_DEPLETION_FLOOR_PERCENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | SEIGNIORAGE_EXPANSION_FLOOR_PERCENT, MAX_SUPPLY_CONTRACTION_PERCENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | MAX_DEBT_RATIO_PERCENT, BOND_SUPPLY_EXPANSION_PERCENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | BOOTSTRAP_EPOCHS, BOOTSTRAP_SUPPLY_EXPANSION_PERCENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | PREVIOUS_EPOCH_TOMB_PRICE, MAX_DISCOUNT_RATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | MAX_PREMIUM_RATE, DISCOUNT_PERCENT, PREMIUM_PERCENT, [INFO] [stdout] 16 | PREMIUM_THRESHOLD, MINTING_FACTOR_FOR_PAYING_DEBT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | DAOFUND, DAOFUND_SHARED_PERCENT, DEVFUND, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 18 | DEVFUND_SHARED_PERCENT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | msg: InstantiateMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 470 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 531 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:547:5 [INFO] [stdout] | [INFO] [stdout] 547 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | info: MessageInfo [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:870:5 [INFO] [stdout] | [INFO] [stdout] 870 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:871:5 [INFO] [stdout] | [INFO] [stdout] 871 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:1016:5 [INFO] [stdout] | [INFO] [stdout] 1016 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:1116:5 [INFO] [stdout] | [INFO] [stdout] 1116 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Treasury` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/Treasury/src/contract.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | TOMB_PRICE_CEILING.save(deps.storage, &(Uint128::from(ETHER) * Uint128::from(101u128) / Uint128::from(100u128))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/Treasury/src/contract.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | EXCLUDED_FROM_TOTALSUPPLY.save(deps.storage, &excluded_from_total_supply); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/Treasury/src/contract.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | INITIALIZED.save(deps.storage, &true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/Treasury/src/contract.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | OPERATOR.save(deps.storage, &info.sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/Treasury/src/util.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | EPOCH.save(storage, &epoch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling Masonry v0.0.1 (/opt/rustwide/workdir/contracts/Masonry) [INFO] [stderr] Compiling RebateTreasury v0.0.1 (/opt/rustwide/workdir/contracts/RebateTreasury) [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> contracts/Masonry/src/query.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Binary, Deps, Env, StdResult, Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Masonseat` [INFO] [stdout] --> contracts/Masonry/src/query.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use IMasonry::msg::{QueryMsg, Masonseat}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BALANCES`, `INITIALIZED`, `MASONRY_HISTORY`, `SHARE`, `TOMB`, `TOTALSUPPLY` [INFO] [stdout] --> contracts/Masonry/src/query.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state::{OPERATOR, TOMB, SHARE, TOTALSUPPLY, INITIALIZED, BALANCES, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 10 | TREASURY, MASONS, MASONRY_HISTORY, WITHDRAW_LOCKUP_EPOCHS, REWARD_LOCKUP_EPOCHS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `balance_of` [INFO] [stdout] --> contracts/Masonry/src/query.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util::{get_latest_snapshot, latest_snapshot_index, balance_of, earned}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DepsMut` [INFO] [stdout] --> contracts/Masonry/src/util.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Storage, Response, Addr, Uint128, DepsMut, StdResult, WasmMsg, StdError, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `REWARD_LOCKUP_EPOCHS`, `TOTALSUPPLY`, `TREASURY`, `WITHDRAW_LOCKUP_EPOCHS` [INFO] [stdout] --> contracts/Masonry/src/util.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{OPERATOR, TOMB, SHARE, TOTALSUPPLY, INITIALIZED, BALANCES, STATUS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | TREASURY, MASONS, MASONRY_HISTORY, WITHDRAW_LOCKUP_EPOCHS, REWARD_LOCKUP_EPOCHS}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Masonry/src/contract.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Masonry/src/contract.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/Masonry/src/contract.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | msg: InstantiateMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Masonry/src/contract.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Masonry/src/query.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> contracts/Masonry/src/util.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn safe_transferfrom( storage: &dyn Storage, querier: &QuerierWrapper, token: Addr, _from: Addr, _to: Addr, _amount: Uint128) -> StdR... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Masonry` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `masonry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg`, `Deps`, `QuerierWrapper`, `StdError`, `StdResult`, `Storage` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, QuerierWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | Uint128, CosmosMsg, WasmMsg, Storage, StdResult, StdError, Deps [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SECONDARY_THRESHOLD` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | BOND_FACTOR, SECONDARY_THRESHOLD, SECONDARY_FACTOR, BOND_VESTING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_total_supply` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | get_total_supply, get_tomb_return, claim_vested [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | use terraswap::querier::{query_token_balance, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecuteMsg as OracleMsg` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use Oracle::msg::{ExecuteMsg as OracleMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecuteMsg as MasonryMsg` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | use IMasonry::msg::{ExecuteMsg as MasonryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryMsg as BondTreasuryQuery` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use BondTreasury::msg::{QueryMsg as BondTreasuryQuery}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `Uint128` [INFO] [stdout] --> contracts/RebateTreasury/src/query.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Binary, Deps, Env, StdResult, Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Uint128 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U128Key` [INFO] [stdout] --> contracts/RebateTreasury/src/state.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StdError` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terraswap::querier` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use terraswap::querier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOND_VESTING`, `BUYBACK_AMOUNT`, `LAST_BUY_BACK`, `TREASURY` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | OWNER, TOMB, TOMB_ORACLE, TREASURY, ASSETS, VESTING, BOND_THRESHOLD, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | BOND_FACTOR, SECONDARY_THRESHOLD, SECONDARY_FACTOR, BOND_VESTING, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | TOTAL_VESTED, LAST_BUY_BACK, BUYBACK_AMOUNT [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryMsg as MasonryQuery` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use IMasonry::msg::{QueryMsg as MasonryQuery}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_token_balance` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use terraswap::querier::{query_token_balance, query_supply}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SimulationResponse` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | use terraswap::pair::{QueryMsg as PairQueryMsg, SimulationResponse, PoolResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/query.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `querier` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:206:56 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn claimable_tomb(storage: &dyn Storage, env: Env, querier: &QuerierWrapper, account: Addr) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_querier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let mut asset = ASSETS.load(storage, token.clone())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RebateTreasury` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rebate_treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | ASSETS.save(deps.storage, token, &asset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.91s [INFO] running `Command { std: "docker" "inspect" "179f534dca44332cd6851e597f6143a08563e580805379be848b3d25dea85c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179f534dca44332cd6851e597f6143a08563e580805379be848b3d25dea85c2d", kill_on_drop: false }` [INFO] [stdout] 179f534dca44332cd6851e597f6143a08563e580805379be848b3d25dea85c2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4de528de7e9c78e1f08b242e9236d80eddbdb9a91f5c6435e946404edb468e8 [INFO] running `Command { std: "docker" "start" "-a" "a4de528de7e9c78e1f08b242e9236d80eddbdb9a91f5c6435e946404edb468e8", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/ERC20/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Masonry/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/IMasonry/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Treasury/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/BasisAsset/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/BondTreasury/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Oracle/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/RebateTreasury/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/TShareRewardPool/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/TombGenesisRewardPool/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/TombRewardPool/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/lib/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `BondTreasury v0.0.1 (/opt/rustwide/workdir/packages/BondTreasury)` has the same output filename as the example target `schema` in package `BasisAsset v0.0.1 (/opt/rustwide/workdir/packages/BasisAsset)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `ERC20 v0.0.1 (/opt/rustwide/workdir/contracts/ERC20)` has the same output filename as the example target `schema` in package `BondTreasury v0.0.1 (/opt/rustwide/workdir/packages/BondTreasury)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `IMasonry v0.0.1 (/opt/rustwide/workdir/packages/IMasonry)` has the same output filename as the example target `schema` in package `ERC20 v0.0.1 (/opt/rustwide/workdir/contracts/ERC20)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `Oracle v0.0.1 (/opt/rustwide/workdir/contracts/Oracle)` has the same output filename as the example target `schema` in package `IMasonry v0.0.1 (/opt/rustwide/workdir/packages/IMasonry)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `RebateTreasury v0.0.1 (/opt/rustwide/workdir/contracts/RebateTreasury)` has the same output filename as the example target `schema` in package `Oracle v0.0.1 (/opt/rustwide/workdir/contracts/Oracle)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `TShareRewardPool v0.0.1 (/opt/rustwide/workdir/contracts/TShareRewardPool)` has the same output filename as the example target `schema` in package `RebateTreasury v0.0.1 (/opt/rustwide/workdir/contracts/RebateTreasury)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `TombGenesisRewardPool v0.0.1 (/opt/rustwide/workdir/contracts/TombGenesisRewardPool)` has the same output filename as the example target `schema` in package `TShareRewardPool v0.0.1 (/opt/rustwide/workdir/contracts/TShareRewardPool)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `TombRewardPool v0.0.1 (/opt/rustwide/workdir/contracts/TombRewardPool)` has the same output filename as the example target `schema` in package `TombGenesisRewardPool v0.0.1 (/opt/rustwide/workdir/contracts/TombGenesisRewardPool)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `Treasury v0.0.1 (/opt/rustwide/workdir/contracts/Treasury)` has the same output filename as the example target `schema` in package `TombRewardPool v0.0.1 (/opt/rustwide/workdir/contracts/TombRewardPool)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `lib v0.0.1 (/opt/rustwide/workdir/packages/lib)` has the same output filename as the example target `schema` in package `Treasury v0.0.1 (/opt/rustwide/workdir/contracts/Treasury)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap v2.4.1 (/opt/rustwide/workdir/packages/terraswap)` has the same output filename as the example target `schema` in package `lib v0.0.1 (/opt/rustwide/workdir/packages/lib)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling bytecheck v0.6.7 [INFO] [stderr] Compiling rend v0.3.6 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rkyv v0.7.35 [INFO] [stderr] Compiling target-lexicon v0.12.3 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling wasmparser v0.78.2 [INFO] [stderr] Compiling cranelift-entity v0.76.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.76.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling wasmer-compiler-cranelift v2.2.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling clru v0.4.0 [INFO] [stderr] Compiling parity-wasm v0.42.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling region v3.0.0 [INFO] [stderr] Compiling memmap2 v0.5.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.7 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling rkyv_derive v0.7.35 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0-beta6 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling cosmwasm-schema v0.16.5 [INFO] [stderr] Compiling cosmwasm-schema v1.0.0-beta6 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0-beta6 [INFO] [stdout] warning: unused imports: `Addr`, `Uint128` [INFO] [stdout] --> packages/BondTreasury/src/msg.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Uint128, Addr}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `BondTreasury` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `bond_treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `IMasonry` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `imasonry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TOMB` should have a snake case name [INFO] [stdout] --> packages/IMasonry/src/msg.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TOMB: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tomb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POOLSTARTTIME` should have a snake case name [INFO] [stdout] --> packages/IMasonry/src/msg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub POOLSTARTTIME: Uint128 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poolstarttime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> packages/BasisAsset/src/msg.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Uint128, Addr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `BasisAsset` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `basis_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_startTime` should have a snake case name [INFO] [stdout] --> packages/BasisAsset/src/msg.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub _startTime: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_communityFund` should have a snake case name [INFO] [stdout] --> packages/BasisAsset/src/msg.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub _communityFund: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_devFund` should have a snake case name [INFO] [stdout] --> packages/BasisAsset/src/msg.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub _devFund: String [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TOTAL_REWARDS` [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/contract.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const TOTAL_REWARDS: u128 = 25_000_000_000_000_000_000_000; //25000 ether; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `TombGenesisRewardPool` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `tomb_genesis_reward_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TOMB` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TOMB: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tomb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SHIBA` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub SHIBA: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `shiba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POOLSTARTTIME` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub POOLSTARTTIME: Uint128 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poolstarttime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rewardDebt` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub rewardDebt: Uint128, // Reward debt. See explanation below. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_debt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `allocPoint` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub allocPoint: Uint128, // How many allocation points assigned to this pool. TOMB to distribute. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `alloc_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastRewardTime` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub lastRewardTime: Uint128, // Last time that TOMB distribution occurs. [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_reward_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accTombPerShare` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub accTombPerShare: Uint128, // Accumulated TOMB per share, times 1e18. See below. [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `acc_tomb_per_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isStarted` should have a snake case name [INFO] [stdout] --> contracts/TombGenesisRewardPool/src/msg.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub isStarted: bool, // if lastRewardBlock has passed [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_started` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `setTreasuryFund` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | setTreasuryFund { _communityFund: Addr }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `SetTreasuryFund` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `setDevFund` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | setDevFund { _devFund: Addr }, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `SetDevFund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `claimRewards` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | claimRewards{ }, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `ClaimRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `distributeReward` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | distributeReward{ _farmingIncentiveFund: Addr }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DistributeReward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `governanceRecoverUnsupported` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | governanceRecoverUnsupported{ _token: Addr, _amount: Uint128, _to: Addr} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GovernanceRecoverUnsupported` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unclaimedTreasuryFund` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | unclaimedTreasuryFund { }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `UnclaimedTreasuryFund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unclaimedDevFund` should have an upper camel case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | unclaimedDevFund { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `UnclaimedDevFund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> contracts/ERC20/src/state.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Item, Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_name` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:529:4 [INFO] [stdout] | [INFO] [stdout] 529 | fn is_valid_name(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_symbol` [INFO] [stdout] --> contracts/ERC20/src/contract.rs:537:4 [INFO] [stdout] | [INFO] [stdout] 537 | fn is_valid_symbol(symbol: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ERC20` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `erc20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FARMING_POOL_REWARD_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let FARMING_POOL_REWARD_ALLOCATION: Uint128 = Uint128::from(60000 as u128) * ether; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `farming_pool_reward_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COMMUNITY_FUND_POOL_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let COMMUNITY_FUND_POOL_ALLOCATION: Uint128 = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `community_fund_pool_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEV_FUND_POOL_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let DEV_FUND_POOL_ALLOCATION: Uint128 = Uint128::from(5000 as u128) * ether; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dev_fund_pool_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VESTING_DURATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let VESTING_DURATION: Uint128 = Uint128::from(356 as u128) * day; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vesting_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_cRate` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let _cRate = COMMUNITY_FUND_POOL_ALLOCATION / VESTING_DURATION; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `_c_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_dRate` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let _dRate = DEV_FUND_POOL_ALLOCATION /VESTING_DURATION; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `_d_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let _devFund = deps.api.addr_validate(msg._devFund.as_str())?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_communityFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let _communityFund = deps.api.addr_validate(msg._communityFund.as_str())?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_farmingIncentiveFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | _farmingIncentiveFund: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_farming_incentive_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let _devFund = devFund.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_rewardPoolDistributed` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let mut _rewardPoolDistributed = rewardPoolDistributed.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_reward_pool_distributed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | rewardPoolDistributed.save(deps.storage, &_rewardPoolDistributed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | try_mint(deps, _env, info,_farmingIncentiveFund, constants.FARMING_POOL_REWARD_ALLOCATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_communityFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let _communityFund = communityFund.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | perform_mint(deps.storage, _env.clone(), _communityFund, _pending); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | communityFundLastClaimed.save(deps.storage, &_now); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let _devFund = devFund.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | perform_mint(deps.storage, _env.clone(), _devFund, _pending); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | devFundLastClaimed.save(deps.storage, &_now); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_communityFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | _communityFund: Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let _devFund = devFund.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | communityFund.save(deps.storage, &_communityFund); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | _devFund: Addr, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let _devFund = devFund.load(deps.storage)?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | devFund.save(deps.storage, &_devFund); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/ERC20/src/contract.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | perform_mint(deps.storage, _env, recipient.clone(), amount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_unclaimedTreasuryFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:432:4 [INFO] [stdout] | [INFO] [stdout] 432 | fn _unclaimedTreasuryFund( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_unclaimed_treasury_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_cLastClaimed` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | let _cLastClaimed = communityFundLastClaimed.load(store).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_c_last_claimed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_cRewardRate` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | let _cRewardRate = communityFundRewardRate.load(store).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_c_reward_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `_unclaimedDevFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | fn _unclaimedDevFund( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_unclaimed_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_dLastClaimed` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let _dLastClaimed = devFundLastClaimed.load(store).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_d_last_claimed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_dRewardRate` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/contract.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | let _dRewardRate = devFundRewardRate.load(store).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_d_reward_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_startTime` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub _startTime: Uint128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_communityFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub _communityFund: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub _devFund: String [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_communityFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | setTreasuryFund { _communityFund: Addr }, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_community_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_devFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | setDevFund { _devFund: Addr }, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_dev_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `_farmingIncentiveFund` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/msg.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | distributeReward{ _farmingIncentiveFund: Addr }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_farming_incentive_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FARMING_POOL_REWARD_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub FARMING_POOL_REWARD_ALLOCATION: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `farming_pool_reward_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `COMMUNITY_FUND_POOL_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub COMMUNITY_FUND_POOL_ALLOCATION: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `community_fund_pool_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DEV_FUND_POOL_ALLOCATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub DEV_FUND_POOL_ALLOCATION: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dev_fund_pool_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VESTING_DURATION` should have a snake case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub VESTING_DURATION: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vesting_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `startTime` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const startTime: Item = Item::new("startTime"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `START_TIME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `endTime` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const endTime: Item = Item::new("endTime"); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `END_TIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `communityFundRewardRate` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const communityFundRewardRate: Item = Item::new("communityFundRewardRate"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `COMMUNITY_FUND_REWARD_RATE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `devFundRewardRate` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const devFundRewardRate: Item = Item::new("devFundRewardRate"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEV_FUND_REWARD_RATE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `communityFund` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const communityFund: Item = Item::new("communityFund"); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `COMMUNITY_FUND` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `devFund` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const devFund: Item = Item::new("devFund"); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DEV_FUND` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `communityFundLastClaimed` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const communityFundLastClaimed: Item = Item::new("communityFundLastClaimed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `COMMUNITY_FUND_LAST_CLAIMED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `devFundLastClaimed` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const devFundLastClaimed: Item = Item::new("devFundLastClaimed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEV_FUND_LAST_CLAIMED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `rewardPoolDistributed` should have an upper case name [INFO] [stdout] --> contracts/ERC20/src/state.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const rewardPoolDistributed: Item = Item::new("rewardPoolDistributed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `REWARD_POOL_DISTRIBUTED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TOTAL_REWARDS` [INFO] [stdout] --> contracts/TShareRewardPool/src/contract.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const TOTAL_REWARDS: u128 = 60_000_000_000_000_000_000_000; //60000 ether; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `TShareRewardPool` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `tshare_reward_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TSHARE` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TSHARE: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tshare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POOLSTARTTIME` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub POOLSTARTTIME: Uint128 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poolstarttime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rewardDebt` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub rewardDebt: Uint128, // Reward debt. See explanation below. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_debt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `allocPoint` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub allocPoint: Uint128, // How many allocation points assigned to this pool. TSHARE to distribute. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `alloc_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastRewardTime` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub lastRewardTime: Uint128, // Last time that TSHARE distribution occurs. [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_reward_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accTSharePerShare` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub accTSharePerShare: Uint128, // Accumulated TSHARE per share, times 1e18. See below. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `acc_tshare_per_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isStarted` should have a snake case name [INFO] [stdout] --> contracts/TShareRewardPool/src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub isStarted: bool, // if lastRewardBlock has passed [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_started` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `Uint128` [INFO] [stdout] --> packages/lib/src/state.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Addr, Uint128}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Item`, `Map`, `U128Key` [INFO] [stdout] --> packages/lib/src/state.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PoolInfo`, `UserInfo` [INFO] [stdout] --> packages/lib/src/state.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::msg::{UserInfo, PoolInfo}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uq112x112` should have an upper camel case name [INFO] [stdout] --> packages/lib/src/fixed_point.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct uq112x112 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Uq112x112` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uq144x112` should have an upper camel case name [INFO] [stdout] --> packages/lib/src/fixed_point.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct uq144x112 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Uq144x112` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `Q112` [INFO] [stdout] --> packages/lib/src/fixed_point.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Q112: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TOMB` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TOMB: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tomb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SHIBA` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub SHIBA: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `shiba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POOLSTARTTIME` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub POOLSTARTTIME: Uint128 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poolstarttime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rewardDebt` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub rewardDebt: Uint128, // Reward debt. See explanation below. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_debt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `allocPoint` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub allocPoint: Uint128, // How many allocation points assigned to this pool. TOMB to distribute. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `alloc_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastRewardTime` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub lastRewardTime: Uint128, // Last time that TOMB distribution occurs. [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_reward_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accTombPerShare` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub accTombPerShare: Uint128, // Accumulated TOMB per share, times 1e18. See below. [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `acc_tomb_per_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isStarted` should have a snake case name [INFO] [stdout] --> packages/lib/src/msg.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub isStarted: bool, // if lastRewardBlock has passed [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_started` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `RESOLUTION` should have a snake case name [INFO] [stdout] --> packages/lib/src/fixed_point.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | RESOLUTION: u128, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `resolution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Q112` should have a snake case name [INFO] [stdout] --> packages/lib/src/fixed_point.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Q112: u128, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `q112` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Q224` should have a snake case name [INFO] [stdout] --> packages/lib/src/fixed_point.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Q224: u128 [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `q224` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkStartTime` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn checkStartTime(self) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getCurrentEpoch` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn getCurrentEpoch(self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_current_epoch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getPeriod` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn getPeriod(self) -> u128 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_period` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getStartTime` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn getStartTime(self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLastEpochTime` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn getLastEpochTime(self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_last_epoch_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextEpochPoint` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn nextEpochPoint(self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_epoch_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPeriod` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn setPeriod(mut self, _period: u128, sender: Addr) [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_period` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setEpoch` should have a snake case name [INFO] [stdout] --> packages/lib/src/epoch.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn setEpoch(mut self, _epoch: u128, sender: Addr) [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `set_epoch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isOperator` should have a snake case name [INFO] [stdout] --> packages/lib/src/operator.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn isOperator(&self, sender: Addr) -> StdResult{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `TombRewardPool` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `tomb_reward_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TOMB` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TOMB: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tomb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POOLSTARTTIME` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub POOLSTARTTIME: Uint128 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `poolstarttime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rewardDebt` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub rewardDebt: Uint128, // Reward debt. See explanation below. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_debt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `allocPoint` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub allocPoint: Uint128, // How many allocation points assigned to this pool. TOMB to distribute. [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `alloc_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastRewardTime` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub lastRewardTime: Uint128, // Last time that TOMB distribution occurs. [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_reward_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accTombPerShare` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub accTombPerShare: Uint128, // Accumulated TOMB per share, times 1e18. See below. [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `acc_tomb_per_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isStarted` should have a snake case name [INFO] [stdout] --> contracts/TombRewardPool/src/msg.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub isStarted: bool, // if lastRewardBlock has passed [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_started` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_pair_info` [INFO] [stdout] --> contracts/Oracle/src/contract.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | use terraswap::querier::{simulate, query_pair_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OPERATOR` [INFO] [stdout] --> contracts/Oracle/src/query.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | LAST_EPOCH_TIME, OPERATOR}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetInfoRaw`, `Asset`, `PairInfoRaw` [INFO] [stdout] --> contracts/Oracle/src/msg.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use terraswap::asset::{PairInfoRaw, AssetInfoRaw, AssetInfo, Asset}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Oracle/src/contract.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Oracle/src/query.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Oracle` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `oracle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QuerierWrapper`, `StdError` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, QuerierWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | Uint128, CosmosMsg, WasmMsg, Storage, StdResult, StdError [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `Uint128` [INFO] [stdout] --> contracts/Treasury/src/query.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Binary, Deps, Env, StdResult, Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Uint128 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map`, `U128Key` [INFO] [stdout] --> contracts/Treasury/src/state.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Querier`, `StdError` [INFO] [stdout] --> contracts/Treasury/src/util.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, Querier}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terraswap::querier` [INFO] [stdout] --> contracts/Treasury/src/util.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use terraswap::querier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOND_DEPLETION_FLOOR_PERCENT`, `BOND_SUPPLY_EXPANSION_PERCENT`, `BOND_TREASURY`, `BOOTSTRAP_EPOCHS`, `BOOTSTRAP_SUPPLY_EXPANSION_PERCENT`, `DAOFUND_SHARED_PERCENT`, `DAOFUND`, `DEVFUND_SHARED_PERCENT`, `DEVFUND`, `MAX_EXPANSION_TIERS`, `MAX_SUPPLY_CONTRACTION_PERCENT`, `MAX_SUPPLY_EXPANSION_PERCENT`, `MINTING_FACTOR_FOR_PAYING_DEBT`, `PREVIOUS_EPOCH_TOMB_PRICE`, `SEIGNIORAGE_EXPANSION_FLOOR_PERCENT`, `SUPPLY_TIERS` [INFO] [stdout] --> contracts/Treasury/src/util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | BOND_TREASURY, TOMB_ORACLE, TOMB_PRICE_ONE, TOMB_PRICE_CEILING, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | SEIGNIORAGE_SAVED, SUPPLY_TIERS, MAX_EXPANSION_TIERS, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | MAX_SUPPLY_EXPANSION_PERCENT, BOND_DEPLETION_FLOOR_PERCENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | SEIGNIORAGE_EXPANSION_FLOOR_PERCENT, MAX_SUPPLY_CONTRACTION_PERCENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | MAX_DEBT_RATIO_PERCENT, BOND_SUPPLY_EXPANSION_PERCENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | BOOTSTRAP_EPOCHS, BOOTSTRAP_SUPPLY_EXPANSION_PERCENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | PREVIOUS_EPOCH_TOMB_PRICE, MAX_DISCOUNT_RATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | MAX_PREMIUM_RATE, DISCOUNT_PERCENT, PREMIUM_PERCENT, [INFO] [stdout] 16 | PREMIUM_THRESHOLD, MINTING_FACTOR_FOR_PAYING_DEBT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | DAOFUND, DAOFUND_SHARED_PERCENT, DEVFUND, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 18 | DEVFUND_SHARED_PERCENT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | msg: InstantiateMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 470 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 531 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:547:5 [INFO] [stdout] | [INFO] [stdout] 547 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | info: MessageInfo [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:870:5 [INFO] [stdout] | [INFO] [stdout] 870 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:871:5 [INFO] [stdout] | [INFO] [stdout] 871 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:1016:5 [INFO] [stdout] | [INFO] [stdout] 1016 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Treasury/src/contract.rs:1116:5 [INFO] [stdout] | [INFO] [stdout] 1116 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Treasury` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/Treasury/src/contract.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | TOMB_PRICE_CEILING.save(deps.storage, &(Uint128::from(ETHER) * Uint128::from(101u128) / Uint128::from(100u128))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/Treasury/src/contract.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | EXCLUDED_FROM_TOTALSUPPLY.save(deps.storage, &excluded_from_total_supply); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/Treasury/src/contract.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | INITIALIZED.save(deps.storage, &true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/Treasury/src/contract.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | OPERATOR.save(deps.storage, &info.sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/Treasury/src/util.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | EPOCH.save(storage, &epoch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg`, `Deps`, `QuerierWrapper`, `StdError`, `StdResult`, `Storage` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, QuerierWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | Uint128, CosmosMsg, WasmMsg, Storage, StdResult, StdError, Deps [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SECONDARY_THRESHOLD` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | BOND_FACTOR, SECONDARY_THRESHOLD, SECONDARY_FACTOR, BOND_VESTING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_total_supply` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | get_total_supply, get_tomb_return, claim_vested [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | use terraswap::querier::{query_token_balance, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecuteMsg as OracleMsg` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use Oracle::msg::{ExecuteMsg as OracleMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecuteMsg as MasonryMsg` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | use IMasonry::msg::{ExecuteMsg as MasonryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryMsg as BondTreasuryQuery` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use BondTreasury::msg::{QueryMsg as BondTreasuryQuery}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `Uint128` [INFO] [stdout] --> contracts/RebateTreasury/src/query.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Binary, Deps, Env, StdResult, Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Uint128 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U128Key` [INFO] [stdout] --> contracts/RebateTreasury/src/state.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StdError` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terraswap::querier` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use terraswap::querier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOND_VESTING`, `BUYBACK_AMOUNT`, `LAST_BUY_BACK`, `TREASURY` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | OWNER, TOMB, TOMB_ORACLE, TREASURY, ASSETS, VESTING, BOND_THRESHOLD, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | BOND_FACTOR, SECONDARY_THRESHOLD, SECONDARY_FACTOR, BOND_VESTING, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | TOTAL_VESTED, LAST_BUY_BACK, BUYBACK_AMOUNT [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryMsg as MasonryQuery` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use IMasonry::msg::{QueryMsg as MasonryQuery}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_token_balance` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use terraswap::querier::{query_token_balance, query_supply}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SimulationResponse` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | use terraswap::pair::{QueryMsg as PairQueryMsg, SimulationResponse, PoolResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/RebateTreasury/src/query.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `querier` [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:206:56 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn claimable_tomb(storage: &dyn Storage, env: Env, querier: &QuerierWrapper, account: Addr) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_querier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/RebateTreasury/src/util.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let mut asset = ASSETS.load(storage, token.clone())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RebateTreasury` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rebate_treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/RebateTreasury/src/contract.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | ASSETS.save(deps.storage, token, &asset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> contracts/Masonry/src/query.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Binary, Deps, Env, StdResult, Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Masonseat` [INFO] [stdout] --> contracts/Masonry/src/query.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use IMasonry::msg::{QueryMsg, Masonseat}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BALANCES`, `INITIALIZED`, `MASONRY_HISTORY`, `SHARE`, `TOMB`, `TOTALSUPPLY` [INFO] [stdout] --> contracts/Masonry/src/query.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state::{OPERATOR, TOMB, SHARE, TOTALSUPPLY, INITIALIZED, BALANCES, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 10 | TREASURY, MASONS, MASONRY_HISTORY, WITHDRAW_LOCKUP_EPOCHS, REWARD_LOCKUP_EPOCHS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `balance_of` [INFO] [stdout] --> contracts/Masonry/src/query.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util::{get_latest_snapshot, latest_snapshot_index, balance_of, earned}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DepsMut` [INFO] [stdout] --> contracts/Masonry/src/util.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Storage, Response, Addr, Uint128, DepsMut, StdResult, WasmMsg, StdError, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `REWARD_LOCKUP_EPOCHS`, `TOTALSUPPLY`, `TREASURY`, `WITHDRAW_LOCKUP_EPOCHS` [INFO] [stdout] --> contracts/Masonry/src/util.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{OPERATOR, TOMB, SHARE, TOTALSUPPLY, INITIALIZED, BALANCES, STATUS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | TREASURY, MASONS, MASONRY_HISTORY, WITHDRAW_LOCKUP_EPOCHS, REWARD_LOCKUP_EPOCHS}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Masonry/src/contract.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Masonry/src/contract.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/Masonry/src/contract.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | msg: InstantiateMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Masonry/src/contract.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/Masonry/src/query.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> contracts/Masonry/src/util.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn safe_transferfrom( storage: &dyn Storage, querier: &QuerierWrapper, token: Addr, _from: Addr, _to: Addr, _amount: Uint128) -> StdR... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Masonry` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `masonry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cranelift-bforest v0.76.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] error: could not compile `wasmparser` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name wasmparser --edition=2018 /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wasmparser-0.78.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=7c5e9a7a136a994a -C extra-filename=-7c5e9a7a136a994a --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a4de528de7e9c78e1f08b242e9236d80eddbdb9a91f5c6435e946404edb468e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4de528de7e9c78e1f08b242e9236d80eddbdb9a91f5c6435e946404edb468e8", kill_on_drop: false }` [INFO] [stdout] a4de528de7e9c78e1f08b242e9236d80eddbdb9a91f5c6435e946404edb468e8